[FFmpeg-devel] [PATCH] avcodec/exrdec: restore applying color transfer characteristics for float16 samples
James Almer
jamrial at gmail.com
Sun Mar 16 01:36:33 EET 2025
On 3/15/2025 8:35 PM, Michael Niedermayer wrote:
> Hi
>
> On Thu, Mar 13, 2025 at 11:08:09PM -0300, James Almer wrote:
>> Regression since 0e917389fe73c932049635d947bba076f1709589.
>> This change also reverts commit 431805c096738da7661a0baee2b12fe9724dcc95.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>> libavcodec/exr.c | 38 ++++++++++++++++++++++++++++++++++++--
>> 1 file changed, 36 insertions(+), 2 deletions(-)
>
> We dont do that for any other codec.
> For every other case we export all the color and gamma information
> but do not modify the sample values to some "normalized" representation
>
> Its also lossy to do it in the decoder like this
>
> thx
We're still doing it for the float path, so in that case you may want to
remove it from there too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250315/6753bcd3/attachment.sig>
More information about the ffmpeg-devel
mailing list