pub unsafe static kCVPixelBufferVersatileBayerKey_BayerPattern: &'static CFStringCVPixelBuffer only.Expand description
Buffer attachment key for code indicating Bayer pattern (sensel arrangement).
Associated attachment is a CFNumber of type kCFNumberSInt32Type. The value follows the semantics of the ProRes RAW bayer_pattern bitstream syntax element, namely 0, 1, 2, or 3, where 0 means the top-left sensel of the frame is red-filtered (“RGGB”); 1 means the top-left sensel of the frame is green-filtered, with the top row alternating between green- and red-filtered sensels (“GRBG”); 2 means the top-left sensel of the frame is green- filtered, with the top row alternating between green- and blue-filtered sensels (“GBRG”); and 3 means the top-left sensel of the frame is blue-filtered (“BGGR”). This attachment applies only to buffers with VersatileBayer formats.
See also Apple’s documentation