YUVAInfo.Subsampling

class Subsampling

UV subsampling is also specified in the enum value names using J:a:b notation (e.g. 4:2:0 is 1/2 horizontal and 1/2 vertical resolution for U and V). If alpha is present it is not sub- sampled. Note that Subsampling values other than k444 are only valid with PlaneConfig values that have U and V in different planes than Y (and A, if present).

Members:

kUnknown

k444

k422

k420

k440

k411

k410

Methods

__init__

Attributes

k410

k411

k420

k422

k440

k444

kUnknown

name

value

Methods

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

Attributes

Subsampling.k410 = <Subsampling.k410: 6>
Subsampling.k411 = <Subsampling.k411: 5>
Subsampling.k420 = <Subsampling.k420: 3>
Subsampling.k422 = <Subsampling.k422: 2>
Subsampling.k440 = <Subsampling.k440: 4>
Subsampling.k444 = <Subsampling.k444: 1>
Subsampling.kUnknown = <Subsampling.kUnknown: 0>
Subsampling.name
Subsampling.value