Re: [FFmpeg-devel] [PATCH] Fix chroma height ratio for yuv410p

2016-04-18 Thread Hendrik Leppkes
On Mon, Apr 18, 2016 at 12:07 PM, Michael Niedermayer wrote: > On Mon, Apr 18, 2016 at 09:49:40AM +, Isamu Mogi wrote: >> Chroma height for yuv410p is luma/2. Same as yuv440p and yuv420p. > > no > but why was the first thought i had "wikipedia" and why was i correct > "4:1:0 This ratio is poss

Re: [FFmpeg-devel] [PATCH] Fix chroma height ratio for yuv410p

2016-04-18 Thread Michael Niedermayer
On Mon, Apr 18, 2016 at 09:49:40AM +, Isamu Mogi wrote: > Chroma height for yuv410p is luma/2. Same as yuv440p and yuv420p. no but why was the first thought i had "wikipedia" and why was i correct "4:1:0 This ratio is possible, and some codecs support it, but it is not widely used. This ratio

[FFmpeg-devel] [PATCH] Fix chroma height ratio for yuv410p

2016-04-18 Thread Isamu Mogi
Chroma height for yuv410p is luma/2. Same as yuv440p and yuv420p. Signed-off-by: Isamu Mogi --- libavutil/pixdesc.c | 2 +- libavutil/pixfmt.h | 2 +- tests/ref/fate/filter-pixdesc-yuv410p| 2 +- tests/ref/fate/filter-pixfmts-copy | 2 +- test