[FFmpeg-trac] #7978(undetermined:reopened): inaccurate conversion from YCbCr Narrow range to RGB Full range

FFmpeg trac at avcodec.org
Sun Apr 30 20:05:57 EEST 2023


#7978: inaccurate conversion from YCbCr Narrow range to RGB Full range
-------------------------------------+-------------------------------------
             Reporter:  cepesh       |                    Owner:  (none)
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 >The resulting Y code values are equal to 943. They should be equal to 940

 Yes, you are correct. Indeed, in RGB as it is full range in png, we have
 the 100% white at 65535 (counting from 0). Though again, the source of the
 image is using 2.2 gAMA (not even sRGB) and yuv will be assuming BT.709
 transfer...
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/7978#comment:13>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list