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@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.