VideoStreamPixelFormat Enum

  • java.lang.Object
    • java.lang.Enum<VideoStreamPixelFormat>
      • com.azure.android.communication.calling.VideoStreamPixelFormat

public enum VideoStreamPixelFormat

Informs how the pixels of the video frame is encoded.

Fields

BGR24

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.

BGRX

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.

I420

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.

NV12

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.

RGBA

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.

RGBX

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.

Applies to