[FFmpeg-devel] [PATCH] libavfilter-soc: extend vf_scale.c to make it support colorspace details setting

Stefano Sabatini stefano.sabatini-lala
Sat Apr 18 19:42:23 CEST 2009


On date Saturday 2009-04-18 18:03:13 +0200, Vitor Sessak encoded:
> Stefano Sabatini wrote:
>> On date Thursday 2009-04-16 00:29:13 +0200, Stefano Sabatini encoded:
>>> On date Wednesday 2009-04-15 22:56:27 +0200, Stefano Sabatini encoded:
>>>> Hi, as in subject,
>>>>
>>>> maybe the patch should be split, also chroma horizontal shifting and
>>>> chroma vertical shifting support should be added.
>>>>
>>>> Try it with:
>>>> ffplay in.avi -vfilters  "scale=0:0:sws_flags\=+print_info:lgb\=3.0:cgb\=3.0:brightness\=-20, format=rgb32"
>>>>
>>>> Note that the format=rgb32 or equivalent is required to make the
>>>> destination format of the filter supported by
>>>> sws_get/setColorspaceDetails(), or no filtering will be done (the
>>>> filter still prints a warning in this case).
>>>>
>>>> BTW I get red chroma shifting when using format=argb.
>>> Patch updated with some cleanups and chs/cvs support added.
>
> Sorry for the delay. Patch looks fine for me, but I think vf_scale is  
> getting more and more complex and could use some documentation in  
> vfilters.texi.

Yes, please check the documentation patch I just posted.

Regards.
-- 
FFmpeg = Friendly and Fiendish Mega Puristic Epic God



More information about the ffmpeg-devel mailing list