Re: [FFmpeg-devel] [PATCH v2 29/33] avutil/{color_utils, csp}: merge color_utils into csp and expose API

2023-02-04 Thread Ronald S. Bultje
Hi, On Sat, Feb 4, 2023 at 11:50 AM Anton Khirnov wrote: > From: Leo Izen > > libavutil/color_utils contains some avpriv_ symbols that map > enum AVTransferCharacteristic values to gamma-curve approximations and > to the actual transfer functions to invert them (i.e. -> linear). > > There's

[FFmpeg-devel] [PATCH v2 29/33] avutil/{color_utils, csp}: merge color_utils into csp and expose API

2023-02-04 Thread Anton Khirnov
From: Leo Izen libavutil/color_utils contains some avpriv_ symbols that map enum AVTransferCharacteristic values to gamma-curve approximations and to the actual transfer functions to invert them (i.e. -> linear). There's two issues with this: (1) avpriv is evil and should be avoided whenever