#[repr(C)]pub struct _VAEncFEIMVPredictorHEVC {
pub ref_idx: [_VAEncFEIMVPredictorHEVC__bindgen_ty_1; 4],
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub mv: [VAMotionVector; 4],
}Expand description
\brief Application can use this definition as reference to allocate the buffer based on MaxNumPredictor returned from attribute VAConfigAttribFEIMVPredictors query. this buffer allocation is always based on 16x16 block even block size is indicated as 32x32 or 64x64, and buffer layout is always in 32x32 block raster scan order even block size is 16x16 or 64x64. If 32x32 block size is set, only the data in the first 16x16 block (block 0) is used for 32x32 block. If 64x64 block size is set MV layout is still in 32x32 raster scan order, the same as 32x32 and the first 16x16 block within each 32x32 block needs to have intended MV data (four 32x32 blocks will have the same MV data in the correspondent first 16x16 block). Data structure for each 16x16 block is defined as below (same as AVC except BlockSize/Reserved bits).
Fields§
§ref_idx: [_VAEncFEIMVPredictorHEVC__bindgen_ty_1; 4]§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§mv: [VAMotionVector; 4]Implementations§
Source§impl _VAEncFEIMVPredictorHEVC
impl _VAEncFEIMVPredictorHEVC
pub fn block_size(&self) -> u32
pub fn set_block_size(&mut self, val: u32)
pub fn reserved(&self) -> u32
pub fn set_reserved(&mut self, val: u32)
pub fn new_bitfield_1( block_size: u32, reserved: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for _VAEncFEIMVPredictorHEVC
impl Clone for _VAEncFEIMVPredictorHEVC
Source§fn clone(&self) -> _VAEncFEIMVPredictorHEVC
fn clone(&self) -> _VAEncFEIMVPredictorHEVC
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 _VAEncFEIMVPredictorHEVC
Source§impl Debug for _VAEncFEIMVPredictorHEVC
impl Debug for _VAEncFEIMVPredictorHEVC
Source§impl Default for _VAEncFEIMVPredictorHEVC
impl Default for _VAEncFEIMVPredictorHEVC
Source§fn default() -> _VAEncFEIMVPredictorHEVC
fn default() -> _VAEncFEIMVPredictorHEVC
impl Eq for _VAEncFEIMVPredictorHEVC
Source§impl PartialEq for _VAEncFEIMVPredictorHEVC
impl PartialEq for _VAEncFEIMVPredictorHEVC
Source§fn eq(&self, other: &_VAEncFEIMVPredictorHEVC) -> bool
fn eq(&self, other: &_VAEncFEIMVPredictorHEVC) -> bool
self and other values to be equal, and is used by ==.