[FFmpeg-devel] [PATCH 4/7] Adds gray floating-point pixel formats.

Reto Kromer lists at reto.ch
Sat Aug 4 09:23:54 EEST 2018


Sergey Lavrushkin wrote:

>2018-08-03 16:07 GMT+03:00 Michael Niedermayer
><michael at niedermayer.cc>:

[...]

>>division is slow. This should either be a multiplication with
>>the inverse or a LUT with 8bit index changing to float.
>>
>>The faster of them should be used
>
>LUT seems to be faster.

I am not surprised. In my experience, LUTs are often the faster
solution.

Best regards, Reto



More information about the ffmpeg-devel mailing list