#[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: u16Final 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: u8Final 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: u8Long 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
impl Clone for _VACodedBufferVP9Status
Source§fn clone(&self) -> _VACodedBufferVP9Status
fn clone(&self) -> _VACodedBufferVP9Status
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for _VACodedBufferVP9Status
Source§impl Debug for _VACodedBufferVP9Status
impl Debug for _VACodedBufferVP9Status
Source§impl Default for _VACodedBufferVP9Status
impl Default for _VACodedBufferVP9Status
Source§fn default() -> _VACodedBufferVP9Status
fn default() -> _VACodedBufferVP9Status
impl Eq for _VACodedBufferVP9Status
Source§impl PartialEq for _VACodedBufferVP9Status
impl PartialEq for _VACodedBufferVP9Status
Source§fn eq(&self, other: &_VACodedBufferVP9Status) -> bool
fn eq(&self, other: &_VACodedBufferVP9Status) -> bool
self and other values to be equal, and is used by ==.