Range and clamping information for Y'CbCr pixel formats.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 4.0+
Y'CbCr formats frequently don't use the entire representable range available to them to represent image data. While a full range video format does use the entire range, a video range format often leaves the extrema unused, except perhaps to represent values outside of the standard
Cb range. For example, an 8-bit video range format typically uses the range
[16,235] for Y' and
[16,240] for Cb and Cr.
The following code shows examples of typical Y'CbCr pixel ranges:
The bias is the prebias for YUV -> RGB and postbias for RGB -> YUV.