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

Niklas Haas ffmpeg at haasn.xyz
Sat May 14 15:15:53 EEST 2022


Hi,

If you push the code somewhere I can take a stab at porting it to
AVRational.

On Fri, 13 May 2022 22:41:15 -0400 Leo Izen <leo.izen at gmail.com> wrote:
> 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)
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list