YUVAInfo.PlaneConfig

class PlaneConfig

Specifies how YUV (and optionally A) are divided among planes. Planes are separated by underscores in the enum value names. Within each plane the pixmap/texture channels are mapped to the YUVA channels in the order specified, e.g. for kY_UV Y is in channel 0 of plane 0, U is in channel 0 of plane 1, and V is in channel 1 of plane 1. Channel ordering within a pixmap/texture given the channels it contains: A: 0:A Luminance/Gray: 0:Gray Luminance/Gray + Alpha: 0:Gray, 1:A RG 0:R, 1:G RGB 0:R, 1:G, 2:B RGBA 0:R, 1:G, 2:B, 3:A

Members:

kUnknown :

kY_U_V : Plane 0: Y, Plane 1: U, Plane 2: V

kY_V_U : < Plane 0: Y, Plane 1: V, Plane 2: U

kY_UV : Plane 0: Y, Plane 1: UV

kY_VU : Plane 0: Y, Plane 1: VU

kYUV : Plane 0: YUV

kUYV : Plane 0: UYV

kY_U_V_A : Plane 0: Y, Plane 1: U, Plane 2: V, Plane 3: A

kY_V_U_A : Plane 0: Y, Plane 1: V, Plane 2: U, Plane 3: A

kY_UV_A : Plane 0: Y, Plane 1: UV, Plane 2: A

kY_VU_A : Plane 0: Y, Plane 1: VU, Plane 2: A

kYUVA : Plane 0: YUVA

kUYVA : Plane 0: UYVA

Methods

__init__

Attributes

kUYV

kUYVA

kUnknown

kYUV

kYUVA

kY_UV

kY_UV_A

kY_U_V

kY_U_V_A

kY_VU

kY_VU_A

kY_V_U

kY_V_U_A

name

value

Methods

PlaneConfig.__init__(self: skia.YUVAInfo.PlaneConfig, value: int) None

Attributes

PlaneConfig.kUYV = <PlaneConfig.kUYV: 6>
PlaneConfig.kUYVA = <PlaneConfig.kUYVA: 12>
PlaneConfig.kUnknown = <PlaneConfig.kUnknown: 0>
PlaneConfig.kYUV = <PlaneConfig.kYUV: 5>
PlaneConfig.kYUVA = <PlaneConfig.kYUVA: 11>
PlaneConfig.kY_UV = <PlaneConfig.kY_UV: 3>
PlaneConfig.kY_UV_A = <PlaneConfig.kY_UV_A: 9>
PlaneConfig.kY_U_V = <PlaneConfig.kY_U_V: 1>
PlaneConfig.kY_U_V_A = <PlaneConfig.kY_U_V_A: 7>
PlaneConfig.kY_VU = <PlaneConfig.kY_VU: 4>
PlaneConfig.kY_VU_A = <PlaneConfig.kY_VU_A: 10>
PlaneConfig.kY_V_U = <PlaneConfig.kY_V_U: 2>
PlaneConfig.kY_V_U_A = <PlaneConfig.kY_V_U_A: 8>
PlaneConfig.name
PlaneConfig.value