[FFmpeg-devel] [PATCH]Add more 32bit RGB colourspaces to kerndeint

Stefano Sabatini stefasab at gmail.com
Sat Jan 5 16:51:02 CET 2013


On date Saturday 2013-01-05 13:42:28 +0000, Carl Eugen Hoyos encoded:
> Stefano Sabatini <stefasab <at> gmail.com> writes:
> 
> > > -        if (inlink->format == AV_PIX_FMT_RGBA) {
> > 
> > > +        if (av_pix_fmt_desc_get(inlink->format)->flags & PIX_FMT_RGB) {
> > 
> > Introduce an internal variable rgb_packed or whatever and use that, so
> > you avoid to call a function and repeat this in two distinct places.
> 
> Done.
> 
> > Looks OK otherwise.
> 
> Pushed.
> 
> Do you know what has to be done for RGB24?

You basically need to extend the logic for map, taking into account
the different pixel step (introducing a new case).
-- 
FFmpeg = Fabulous & Forgiving Murdering Programmable Esoteric Guru


More information about the ffmpeg-devel mailing list