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

Martin Vignali martin.vignali at gmail.com
Wed Aug 22 11:20:53 EEST 2018


>
> > So the only thing I can do is to disable these tests for
> > these formats.
> > Otherwise, I need to test other changes somehow. Here is the patch, that
> > skips
> > pixfmts tests for these formats.
>
> in absence of another solution this should be ok
>
>
I'm not against, removing these tests for now,

But maybe to make tests simpler, we can use/add bit exact conversion
for uint8 to float, we can generate a LUT without float calc
and for uint16 to float, we can add a uint16 to float conversion without
float calc, or maybe, generate a LUT in bit exact mode (probably faster, if
it's acceptable to have a LUT for 16bit entries)

If the bit exact mode is much slower than the "float" version we can keep
both,
in order to use the bit exact for various tests
and use it as reference in order to compare bit exact and "float" conv for
each func.

I can send patch for this, if need.

Martin


More information about the ffmpeg-devel mailing list