[FFmpeg-devel] [PATCH] avutil/csp: create public API for colorspace structs

Leo Izen leo.izen at gmail.com
Sat May 14 05:41:15 EEST 2022


On 5/13/22 17:22, Michael Niedermayer wrote:
> On Fri, May 13, 2022 at 11:42:08AM -0400, Leo Izen wrote:
>> +
>> +struct WhitepointCoefficients {
>> +    double xw, yw;
>> +};
> I think we should avoid floating point so as to ensure reproduceable
> results and simplify regerssion testing
>
> thx
This code already exists in master right now in libavfilter/colorspace, 
so changing these from floats to AVRational would require a bit more 
work than just a movement.

- Leo Izen (thebombzen)



More information about the ffmpeg-devel mailing list