#3657: float pixel format
-------------------------------------+-----------------------------------
             Reporter:  sun          |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  swscale
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by emilyb):

 We would like to have this too.

 The use case is high bit depth processing in HDR mode where we want to be
 able to have super white/black (i.e. < 0.0 and > 1.0 values) at certain
 stages in the processing. Using floats is simpler to work with than 32bit
 integers with headroom and still has enough precision. We also do some
 advanced image processing which requires conversion to float at some point
 so having the conversion early is beneficial for performance for us.

 As one person noted earlier floats have higher precision around 0.0 than
 1.0,but in the range [0.5, 1.0] you still have 23 bits per component in
 precision which is enough.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3657#comment:14>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac

Reply via email to