[FFmpeg-devel] [PATCH 3/3] Add missing comma, fix rgb2yuv_table[SWS_CS_SMPTE240M] coefficients.

Stefano Sabatini stefano.sabatini-lala
Fri Jul 23 19:21:05 CEST 2010


On date Friday 2010-07-23 19:03:50 +0200, Vitor Sessak encoded:
> On 07/23/2010 06:54 PM, Stefano Sabatini wrote:
> >From: Stefano Sabatini<stefano at iosto.(none)>
> >
> >---
> >  swscale.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> >diff --git a/swscale.c b/swscale.c
> >index e891e57..6cd4fc1 100644
> >--- a/swscale.c
> >+++ b/swscale.c
> >@@ -104,7 +104,7 @@ static const double rgb2yuv_table[8][9]={
> >      {0.59  , 0.11  , 0.30  , -0.331, 0.5, -0.169, -0.421, -0.079, 0.5}, //FCC
> >      {0.587 , 0.114 , 0.299 , -0.331, 0.5, -0.169, -0.419, -0.081, 0.5}, //DEFAULT / ITU601 / ITU624 / SMPTE 170M
> >      {0.587 , 0.114 , 0.299 , -0.331, 0.5, -0.169, -0.419, -0.081, 0.5}, //DEFAULT / ITU601 / ITU624 / SMPTE 170M
> >-    {0.701 , 0.087 , 0.212 , -0.384, 0.5  -0.116, -0.445, -0.055, 0.5}, //SMPTE 240M
> >+    {0.701 , 0.087 , 0.212 , -0.384, 0.5, -0.116, -0.445, -0.055, 0.5}, //SMPTE 240M
> >  };
> 
> Is there any code using this table?

Well there is sws_getCoefficients(), but no in lsws there is no code
using the rgb2yuv table.

Regards.
-- 
FFmpeg = Fundamental & Furious Muttering Perennial Excellent Gem



More information about the ffmpeg-devel mailing list