ACSVideoStreamPixelFormat Enum

Declaration

typedef enum ACSVideoStreamPixelFormat : NSInteger { ... } ACSVideoStreamPixelFormat;

Description

Informs how the pixels of the video frame is encoded.

Values

Name Value Description Remarks
ACSVideoStreamPixelFormatBgrx 0 Pixel format is encoded as single plane with 32 bits per pixels, 8 bits per channel, ordered as blue, followed by green, followed by red and discarding the last 8 bits.
ACSVideoStreamPixelFormatBgr24 1 Pixel format is encoded as single plane with 24 bits per pixels, 8 bits per channel, ordered as blue, followed by green, followed by red.
ACSVideoStreamPixelFormatRgbx 2 Pixel format is encoded as single plane with 32 bits per pixels, 8 bits per channel, ordered as blue, followed by green, followed by red and discarding the last 8 bits.
ACSVideoStreamPixelFormatRgba 3 Pixel format is encoded as single plane with 32 bits per pixels, 8 bits per channel, ordered as blue, followed by green, followed by red and alpha as 8 bits each. Alpha is discarded.
ACSVideoStreamPixelFormatNv12 4 Pixel format is encoded as YUV 4:2:0 with a plane of 8 bit Y samples, followed by an interleaved U/V plane containing 8 bit 2x2 sub-sampled color difference samples.
ACSVideoStreamPixelFormatI420 5 Pixel format is encoded as YUV 4:2:0 with a plane of 8 bit ordered by Y, followed by a U plane, followed by a V plane.