kVTCompressionPropertyKey_AlphaChannelMode

Static kVTCompressionPropertyKey_AlphaChannelMode 

Source
pub unsafe static kVTCompressionPropertyKey_AlphaChannelMode: &'static CFString
Available on crate feature VTCompressionProperties only.
Expand description

Specifies whether the source images’ RGB values have been premultiplied by the alpha channel values.

Video compression will fail if source image buffers have a mismatched value in their kCVImageBufferAlphaChannelMode attachment. If this property is not set, the encoder may read the first source image buffer’s kCVImageBufferAlphaChannelMode attachment. If neither the property nor the first buffer’s attachment is set, defaults to kVTAlphaChannelMode_PremultipliedAlpha.

See also Apple’s documentation