pub enum BufferType {
    PictureParameter(PictureParameter),
    SliceParameter(SliceParameter),
    IQMatrix(IQMatrix),
    Probability(ProbabilityDataBufferVP8),
    SliceData(Vec<u8>),
}
Expand description

Abstraction over VABufferTypes.

Variants

PictureParameter(PictureParameter)

Abstraction over VAPictureParameterBufferType. Needed for MPEG2, VP8, VP9, H264.

SliceParameter(SliceParameter)

Abstraction over VASliceParameterBufferType. Needed for MPEG2, VP8, VP9, H264.

IQMatrix(IQMatrix)

Abstraction over VAIQMatrixBufferType. Needed for VP8, H264.

Probability(ProbabilityDataBufferVP8)

Abstraction over VAProbabilityDataBufferType. Needed for VP8.

SliceData(Vec<u8>)

Abstraction over VASliceDataBufferType. Needed for VP9, H264.

Implementations

Returns the inner FFI buffer type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.