[FFmpeg-devel] [PATCH] Swscale - RGB48 to YUV conversion

Kostya kostya.shishkov
Wed May 27 07:17:55 CEST 2009


On Tue, May 26, 2009 at 09:19:56PM +0200, Michael Niedermayer wrote:
> On Tue, May 26, 2009 at 04:21:16PM +0300, Kostya wrote:
> > On Tue, May 26, 2009 at 02:16:26PM +0200, Michael Niedermayer wrote:
> > > On Tue, May 26, 2009 at 10:13:13AM +0300, Kostya wrote:
> > > > $subj
> > > 
> > [...]
> > > 
> > > it would be nice if this wouldnt loose the 16bit per component
> > 
> > Indeed. But I suspect that current scaler precision is rather low to
> > accept all 16 bits of input data and not to lose them in process.
> 
> The vertical scalers take more than 8 bit as input ...

Maybe, but in general SwScaler is still designed for 8-bit input, isn't
it? I can give more bits in this converter function but where they will
be used and how to distinguish it from usual 8-bit input?

BTW, this GSoC includes libswscale cleanup so you'd better give a clear
list of what should be done there.
 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB



More information about the ffmpeg-devel mailing list