Skip to main content

_VACodedBufferVP9Status

Struct _VACodedBufferVP9Status 

Source
#[repr(C)]
pub struct _VACodedBufferVP9Status { pub base_qp_index: u16, pub loop_filter_level: u8, pub long_term_indication: u8, pub next_frame_width: u16, pub next_frame_height: u16, pub va_reserved: [u32; 4], }
Expand description

\brief VP9 Encoding Status Data Buffer Structure

This structure is used to convey status data from encoder to application. Driver allocates VACodedBufferVP9Status as a private data buffer. Driver encapsulates the status buffer with a VACodedBufferSegment, and sets VACodedBufferSegment.status to be VA_CODED_BUF_STATUS_CODEC_SPECIFIC. And driver associates status data segment to the bit stream buffer segment by setting VACodedBufferSegment.next of coded_buf (bit stream) to the private buffer segment of status data. Application accesses it by calling VAMapBuffer() with VAEncCodedBufferType.

Fields§

§base_qp_index: u16

Final quantization index used (yac), determined by BRC. Application is providing quantization index deltas ydc(0), y2dc(1), y2ac(2), uvdc(3), uvac(4) that are applied to all segments and segmentation qi deltas, they will not be changed by BRC.

§loop_filter_level: u8

Final loopfilter levels for the frame, if segmentation is disabled only index 0 is used. If loop_filter_level is 0, it indicates loop filter is disabled.

§long_term_indication: u8

Long term reference frame indication from BRC. BRC recommends the current frame that is being queried is a good candidate for a long term reference.

§next_frame_width: u16§next_frame_height: u16§va_reserved: [u32; 4]

\brief Reserved bytes for future use, must be zero

Trait Implementations§

Source§

impl Clone for _VACodedBufferVP9Status

Source§

fn clone(&self) -> _VACodedBufferVP9Status

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 _VACodedBufferVP9Status

Source§

impl Debug for _VACodedBufferVP9Status

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for _VACodedBufferVP9Status

Source§

fn default() -> _VACodedBufferVP9Status

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

impl Eq for _VACodedBufferVP9Status

Source§

impl PartialEq for _VACodedBufferVP9Status

Source§

fn eq(&self, other: &_VACodedBufferVP9Status) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for _VACodedBufferVP9Status

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.