On 27 July 2018 at 18:12, Rostislav Pehlivanov <atomnu...@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. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel