18Apple ProRes April 2022
Properties of Apple ProRes Codecs
Alpha Channel Support
inAppleProRes4444Codecs
In addition to supporting Y’C
B
C
R
or RGB 444 pixel data, the
AppleProRes4444XQ and AppleProRes4444 codecs support an
optional alpha channel. The sampling nomenclature for such Y’C
B
C
R
A
or RGBA images is 4444, to indicate that for each pixel location,
there is an alpha—or A—value in addition to the three Y’C
B
C
R
or RGB
values. An alpha value specifies the proportion of its associated RGB or
Y’C
B
C
R
pixel that should be blended with the pixel at the corresponding
location of a background image, creating a variable transparency effect
for use in compositing workflows. Unlike Y’C
B
C
R
or RGB pixel values,
alpha values do not represent samples of a real-world image, or even
samples of a computer-generated image, both of which are intended for
humanviewing.
Alpha values are essentially numeric data that specify how to blend,
or composite, a foreground image into a background image. For this
reason, AppleProRes4444XQ and AppleProRes4444 encode alpha
values exactly rather than approximately. This kind of exact encoding is
called “lossless” (or sometimes “mathematically lossless”) compression.
It uses different encoding techniques from those used by the ProRes
codec family for RGB or Y’C
B
C
R
pixel values, where approximate encoding
is acceptable as long as differences from the original are not visible to
the viewer and do not affect processing. The AppleProRes4444XQ and
AppleProRes4444 codecs losslessly encode alpha channel values of
any bit depth up to and including 16 bits.
In summary, the AppleProRes4444XQ and AppleProRes4444 codecs
can be considered “visually lossless” for encoding the Y’C
B
C
R
or RGB
pixel values intended for viewing, but “mathematically lossless” for
encoding the alpha values that specify compositing. As a result, the
degree of quality or fidelity is never a question for AppleProRes4444
alpha channels because the decoded data always matches the
originalperfectly.
With any kind of lossless compression, the data rate varies according
to the amount of image detail being encoded. This is true of
AppleProRes4444 lossless alpha channel compression as well.
However, because alpha channels usually contain just the information
related to object outlines, the optional alpha channel typically results
in only a small increase in the overall AppleProRes4444 data rate. For
this reason, the presence of an alpha channel in an AppleProRes4444
stream typically reduces decoding and encoding performance by only
about 10 percent or less.