Skip to main content

_VAEncPictureParameterBufferVP8

Struct _VAEncPictureParameterBufferVP8 

Source
#[repr(C)]
pub struct _VAEncPictureParameterBufferVP8 {
Show 14 fields pub reconstructed_frame: VASurfaceID, pub ref_last_frame: VASurfaceID, pub ref_gf_frame: VASurfaceID, pub ref_arf_frame: VASurfaceID, pub coded_buf: VABufferID, pub ref_flags: _VAEncPictureParameterBufferVP8__bindgen_ty_1, pub pic_flags: _VAEncPictureParameterBufferVP8__bindgen_ty_2, pub loop_filter_level: [i8; 4], pub ref_lf_delta: [i8; 4], pub mode_lf_delta: [i8; 4], pub sharpness_level: u8, pub clamp_qindex_high: u8, pub clamp_qindex_low: u8, pub va_reserved: [u32; 4],
}
Expand description

\brief VP8 Encoding Picture Parameter Buffer Structure

This structure conveys picture level parameters.

Fields§

§reconstructed_frame: VASurfaceID§ref_last_frame: VASurfaceID§ref_gf_frame: VASurfaceID§ref_arf_frame: VASurfaceID§coded_buf: VABufferID§ref_flags: _VAEncPictureParameterBufferVP8__bindgen_ty_1§pic_flags: _VAEncPictureParameterBufferVP8__bindgen_ty_2§loop_filter_level: [i8; 4]

Contains a list of 4 loop filter level values (updated value if applicable) controlling the deblocking filter strength. Each entry represents a segment. When segmentation is disabled, use entry 0. When loop_filter_level is 0, loop filter shall be disabled.

§ref_lf_delta: [i8; 4]

Contains a list of 4 delta values for reference frame based MB-level loop filter adjustment. If no update, then set to 0.

§mode_lf_delta: [i8; 4]

Contains a list of 4 delta values for coding mode based MB-level loop filter adjustment. If no update, then set to 0.

§sharpness_level: u8

Controls the deblocking filter sensitivity. Corresponds to the same VP8 syntax element in frame header.

§clamp_qindex_high: u8

Application supplied maximum clamp value for Qindex used in quantization. Qindex will not be allowed to exceed this value. It has a valid range [0..127] inclusive.

§clamp_qindex_low: u8

Application supplied minimum clamp value for Qindex used in quantization. Qindex will not be allowed to be lower than this value. It has a valid range [0..127] inclusive. Condition clamp_qindex_low <= clamp_qindex_high must be guaranteed, otherwise they are ignored.

§va_reserved: [u32; 4]

\brief Reserved bytes for future use, must be zero

Trait Implementations§

Source§

impl Clone for _VAEncPictureParameterBufferVP8

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for _VAEncPictureParameterBufferVP8

Source§

impl Default for _VAEncPictureParameterBufferVP8

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.