YUVAIndex

class YUVAIndex

Classes

Index

Members:

Methods

AreValidIndices

__init__

Attributes

fChannel

The channel describes from which channel to read the info from.

fIndex

The index is a number between -1..3 which defines which image source to read from, where -1 means the image source doesn't exist.

kA_Index

kIndexCount

kLast_Index

kU_Index

kV_Index

kY_Index

Methods

static YUVAIndex.AreValidIndices(yuvaIndices: list[skia.YUVAIndex], returnNumPlanes: bool = False) object
YUVAIndex.__init__(self: skia.YUVAIndex) None

Attributes

YUVAIndex.fChannel

The channel describes from which channel to read the info from. Currently we only deal with YUV and NV12 and channel info is ignored.

YUVAIndex.fIndex

The index is a number between -1..3 which defines which image source to read from, where -1 means the image source doesn’t exist. The assumption is we will always have image sources for each of YUV planes, but optionally have image source for A plane.

YUVAIndex.kA_Index = <Index.kA_Index: 3>
YUVAIndex.kIndexCount = 4
YUVAIndex.kLast_Index = <Index.kA_Index: 3>
YUVAIndex.kU_Index = <Index.kU_Index: 1>
YUVAIndex.kV_Index = <Index.kV_Index: 2>
YUVAIndex.kY_Index = <Index.kY_Index: 0>