Re: [libav-devel] [PATCH] pixdesc: Fix YUV 4:1:0 subsampling.

2012-09-19 Thread Kostya Shishkov
On Wed, Sep 19, 2012 at 02:53:05PM -0700, Alex Converse wrote: > On Wed, Sep 19, 2012 at 1:15 PM, Luca Barbato wrote: > > On 09/19/2012 10:09 PM, Alex Converse wrote: > >> YUV 4:1:0 has 1 chroma sample for a 4x2 block so the vertical resolution > >> is 1/2 not 1/4. > >> --- > >> libavutil/pixdesc

Re: [libav-devel] [PATCH] pixdesc: Fix YUV 4:1:0 subsampling.

2012-09-19 Thread Ronald S. Bultje
Hi, On Wed, Sep 19, 2012 at 2:53 PM, Alex Converse wrote: > On Wed, Sep 19, 2012 at 1:15 PM, Luca Barbato wrote: >> On 09/19/2012 10:09 PM, Alex Converse wrote: >>> YUV 4:1:0 has 1 chroma sample for a 4x2 block so the vertical resolution >>> is 1/2 not 1/4. >>> --- >>> libavutil/pixdesc.c |

Re: [libav-devel] [PATCH] pixdesc: Fix YUV 4:1:0 subsampling.

2012-09-19 Thread Alex Converse
On Wed, Sep 19, 2012 at 1:15 PM, Luca Barbato wrote: > On 09/19/2012 10:09 PM, Alex Converse wrote: >> YUV 4:1:0 has 1 chroma sample for a 4x2 block so the vertical resolution >> is 1/2 not 1/4. >> --- >> libavutil/pixdesc.c |2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> > > Ok

Re: [libav-devel] [PATCH] pixdesc: Fix YUV 4:1:0 subsampling.

2012-09-19 Thread Luca Barbato
On 09/19/2012 10:09 PM, Alex Converse wrote: > YUV 4:1:0 has 1 chroma sample for a 4x2 block so the vertical resolution > is 1/2 not 1/4. > --- > libavutil/pixdesc.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > Ok. ___ libav-devel m

[libav-devel] [PATCH] pixdesc: Fix YUV 4:1:0 subsampling.

2012-09-19 Thread Alex Converse
YUV 4:1:0 has 1 chroma sample for a 4x2 block so the vertical resolution is 1/2 not 1/4. --- libavutil/pixdesc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 122072e..f49f327 100644 --- a/libavutil/pixdesc.c +++ b/libavut