Re: [FFmpeg-devel] [PATCH 5/6] avutil/csp: add EOTF function definitions

2024-11-25 Thread Pavel Koshevoy
On Mon, Nov 25, 2024 at 12:43 PM Niklas Haas wrote: > On Mon, 25 Nov 2024 14:16:19 +0100 Niklas Haas wrote: > > From: Niklas Haas > > > av_csp_trc_function av_csp_trc_func_inv_from_id(enum > AVColorTransferCharacteristic trc); > > > > +/** > > + * Struct encapsulating a color in an arbitra

Re: [FFmpeg-devel] [PATCH 5/6] avutil/csp: add EOTF function definitions

2024-11-25 Thread Niklas Haas
On Mon, 25 Nov 2024 14:16:19 +0100 Niklas Haas wrote: > From: Niklas Haas > > The existing av_csp_trc_func_from_id() mostly implements the OETF, except for > PQ. As such, we are currently missing a precise definition of an ITU-R EOTF. > Introduce the new functions av_csp_itu_eotf() and av_csp_itu