Modules
private 🔒
Structs
A
Surface
that is being rendered into.Enums
Represents a
Picture
after vaBeginPicture
has been called.Represents a
Picture
after vaEndPicture
has been called.Represents a
Picture
that has just been created.Represents a
Picture
after vaRenderPicture
has been called.Represents a
Picture
after vaSyncSurface
has been called on the underlying surface.Traits
Represents a state where one can reclaim the underlying
Surface
for this Picture
. This is
true when either no decoding has been initiated or, alternatively, when the decoding operation
has completed for the underlying vaSurface
A
Picture
will only have valid YUV data after a sequence of operations are performed in a
particular order. This order correspond to the following VA-API calls: vaBeginPicture
,
vaRenderPicture
, vaEndPicture
and vaSyncSurface
. This trait enforces this ordering by
implementing the Typestate pattern to constrain what operations are available in what particular
states.