YUVAPixmapInfo.DataType
- class DataType
Data type for Y, U, V, and possibly A channels independent of how values are packed into planes.
Members:
kUnorm8 : 8 bit unsigned normalized
kUnorm16 : 16 bit unsigned normalized
kFloat16 : 16 bit (half) floating point
kUnorm10_Unorm2 : 10 bit unorm for Y, U, and V. 2 bit unorm for alpha (if present).
kLast
Methods
Attributes
Methods
- DataType.__init__(self: skia.YUVAPixmapInfo.DataType, value: int) None
Attributes
- DataType.kFloat16 = <DataType.kFloat16: 2>
- DataType.kLast = <DataType.kUnorm10_Unorm2: 3>
- DataType.kUnorm10_Unorm2 = <DataType.kUnorm10_Unorm2: 3>
- DataType.kUnorm16 = <DataType.kUnorm16: 1>
- DataType.kUnorm8 = <DataType.kUnorm8: 0>
- DataType.name
- DataType.value