[FFmpeg-devel] [PATCH] libavfilter: temporarily remove DNN framework and vf_sr filter

Rostislav Pehlivanov atomnuker at gmail.com
Fri Jul 27 20:24:01 EEST 2018


On 27 July 2018 at 18:12, Rostislav Pehlivanov <atomnuker at gmail.com> wrote:

>
> And the coding style is just the tip, there are dozens of things I
> disagree with, such as the custom float to 8 bit conversions, when filters
> already exist which take in floats (zscale).
>

I should probably expand on what I mean by the custom float conversion:
make the filter accept a float pixel format, such as AV_PIX_FMT_GBRPF32. We
have one, we use it in vf_tonemap and vf_zscale. Users will need to specify
a filter to convert to float first, which will match what they have to do
for vf_zscale and vf_tonemap. If you need to process YUV then add a float
YUV format, but please, don't do custom conversions in filters.


More information about the ffmpeg-devel mailing list