Re: [FFmpeg-devel] [PATCH] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Ronald S. Bultje
Hi, On Thu, Mar 31, 2016 at 2:51 PM, Clément Bœsch wrote: > On Thu, Mar 31, 2016 at 02:29:12PM -0400, Ronald S. Bultje wrote: > > Also fix the bt709 ones. They seem derived from incorrect values > > cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be cb=0.0722). > > Can you split? Sure >

Re: [FFmpeg-devel] [PATCH] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Ronald S. Bultje
Hi, On Thu, Mar 31, 2016 at 2:46 PM, Michael Niedermayer wrote: > On Thu, Mar 31, 2016 at 02:29:12PM -0400, Ronald S. Bultje wrote: > > Also fix the bt709 ones. They seem derived from incorrect values > > cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be cb=0.0722). > > --- > > libswscal

Re: [FFmpeg-devel] [PATCH] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Clément Bœsch
On Thu, Mar 31, 2016 at 02:29:12PM -0400, Ronald S. Bultje wrote: > Also fix the bt709 ones. They seem derived from incorrect values > cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be cb=0.0722). Can you split? > --- > libswscale/swscale.h | 1 + > libswscale/yuv2rgb.c | 13

Re: [FFmpeg-devel] [PATCH] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Michael Niedermayer
On Thu, Mar 31, 2016 at 02:29:12PM -0400, Ronald S. Bultje wrote: > Also fix the bt709 ones. They seem derived from incorrect values > cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be cb=0.0722). > --- > libswscale/swscale.h | 1 + > libswscale/yuv2rgb.c | 13 - > 2 files chan

[FFmpeg-devel] [PATCH] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Ronald S. Bultje
Also fix the bt709 ones. They seem derived from incorrect values cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be cb=0.0722). --- libswscale/swscale.h | 1 + libswscale/yuv2rgb.c | 13 - 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libswscale/swscale.h b/libs