[FFmpeg-trac] #11182(swscale:closed): yuvtestsrc and yuv444p->rgba->yuv444p conversion result in huge difference

FFmpeg trac at avcodec.org
Fri Sep 20 22:42:31 EEST 2024


#11182: yuvtestsrc and yuv444p->rgba->yuv444p conversion result in huge difference
-------------------------------------+-------------------------------------
             Reporter:  Andrew-R     |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  swscale
              Version:  unspecified  |               Resolution:  invalid
             Keywords:  colorspace   |               Blocked By:
  color_primaries                    |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 "Because the YUV (YCrCb) color space is a superset of the RGB color space,
 illegal RGB values can be generated when YUV is converted to RGB"

 do you understabd that those values are legal in the new specs because
 they allow negative RGB and those negative RGB are just converted to XYZ
 where it is now valid and makes perfect sense? If you send me an email to
 val.zapod.vz at gmail.com I can send you the xvYCC ISO standard, free of
 charge.

 At the time illegal RGB was just because negative RGB could not be
 stored... But now it is stored just fine at least on Apple devices.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11182#comment:50>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list