[FFmpeg-devel] [PATCH 06/11] avutil/half2float: adjust conversion of NaN

Timo Rothenpieler timo at rothenpieler.org
Thu Aug 11 01:28:00 EEST 2022


On 11.08.2022 00:18, James Almer wrote:
> Then maybe the current implementation should be moved back to exr (it 
> used to be internal to exr until Paul made it standalone), so this lavu 
> module can match the existing hardware implementations of IEEE-734 half 
> floats for the purpose of relevant pixel format support.

That doesn't seem necessary to me.
The values produced before and now are both correct, just different.
But there is no functional difference in the values it produces.

Duplicating the entirety of that code just for that seems extremely 
unnecessary.


More information about the ffmpeg-devel mailing list