Skip to main content

_VAEncFEIMBCodeH264

Struct _VAEncFEIMBCodeH264 

Source
#[repr(C)]
pub struct _VAEncFEIMBCodeH264 { pub reserved0: [u32; 3], pub _bitfield_align_1: [u32; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 16]>, pub mb_mode: _VAEncFEIMBCodeH264__bindgen_ty_1, pub _bitfield_align_2: [u16; 0], pub _bitfield_2: __BindgenBitfieldUnit<[u8; 4]>, pub reserved9: [u32; 4], pub reserved10: u32, }
Expand description

\brief VAEncFEIMBCodeH264 defines the data structure for VAEncFEIMBCodeBufferType per 16x16 MB block. it is output buffer of ENC and ENC_PAK modes, it’s also input buffer of PAK mode. The 16x16 block is in raster scan order. Buffer size shall not be less than the number of 16x16 blocks multiplied by sizeof(VAEncFEIMBCodeH264). Note that, when separate ENC and PAK is enabled, the exact layout of this buffer is needed for PAK input. App can reuse this buffer, or copy to a different buffer as PAK input, reserved elements must not be modified when used as PAK input.

Fields§

§reserved0: [u32; 3]§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 16]>§mb_mode: _VAEncFEIMBCodeH264__bindgen_ty_1§_bitfield_align_2: [u16; 0]§_bitfield_2: __BindgenBitfieldUnit<[u8; 4]>§reserved9: [u32; 4]§reserved10: u32

Implementations§

Source§

impl _VAEncFEIMBCodeH264

Source

pub fn inter_mb_mode(&self) -> u32

Source

pub fn set_inter_mb_mode(&mut self, val: u32)

Source

pub fn mb_skip_flag(&self) -> u32

Source

pub fn set_mb_skip_flag(&mut self, val: u32)

Source

pub fn reserved1(&self) -> u32

Source

pub fn set_reserved1(&mut self, val: u32)

Source

pub fn intra_mb_mode(&self) -> u32

Source

pub fn set_intra_mb_mode(&mut self, val: u32)

Source

pub fn reserved2(&self) -> u32

Source

pub fn set_reserved2(&mut self, val: u32)

Source

pub fn field_mb_polarity_flag(&self) -> u32

Source

pub fn set_field_mb_polarity_flag(&mut self, val: u32)

Source

pub fn mb_type(&self) -> u32

Source

pub fn set_mb_type(&mut self, val: u32)

Source

pub fn intra_mb_flag(&self) -> u32

Source

pub fn set_intra_mb_flag(&mut self, val: u32)

Source

pub fn field_mb_flag(&self) -> u32

Source

pub fn set_field_mb_flag(&mut self, val: u32)

Source

pub fn transform8x8_flag(&self) -> u32

Source

pub fn set_transform8x8_flag(&mut self, val: u32)

Source

pub fn reserved3(&self) -> u32

Source

pub fn set_reserved3(&mut self, val: u32)

Source

pub fn dc_block_coded_cr_flag(&self) -> u32

Source

pub fn set_dc_block_coded_cr_flag(&mut self, val: u32)

Source

pub fn dc_block_coded_cb_flag(&self) -> u32

Source

pub fn set_dc_block_coded_cb_flag(&mut self, val: u32)

Source

pub fn dc_block_coded_y_flag(&self) -> u32

Source

pub fn set_dc_block_coded_y_flag(&mut self, val: u32)

Source

pub fn reserved4(&self) -> u32

Source

pub fn set_reserved4(&mut self, val: u32)

Source

pub fn horz_origin(&self) -> u32

Source

pub fn set_horz_origin(&mut self, val: u32)

Source

pub fn vert_origin(&self) -> u32

Source

pub fn set_vert_origin(&mut self, val: u32)

Source

pub fn cbp_y(&self) -> u32

Source

pub fn set_cbp_y(&mut self, val: u32)

Source

pub fn cbp_cb(&self) -> u32

Source

pub fn set_cbp_cb(&mut self, val: u32)

Source

pub fn cbp_cr(&self) -> u32

Source

pub fn set_cbp_cr(&mut self, val: u32)

Source

pub fn qp_prime_y(&self) -> u32

Source

pub fn set_qp_prime_y(&mut self, val: u32)

Source

pub fn reserved5(&self) -> u32

Source

pub fn set_reserved5(&mut self, val: u32)

Source

pub fn mb_skip_conv_disable(&self) -> u32

Source

pub fn set_mb_skip_conv_disable(&mut self, val: u32)

Source

pub fn is_last_mb(&self) -> u32

Source

pub fn set_is_last_mb(&mut self, val: u32)

Source

pub fn enable_coefficient_clamp(&self) -> u32

Source

pub fn set_enable_coefficient_clamp(&mut self, val: u32)

Source

pub fn direct8x8_pattern(&self) -> u32

Source

pub fn set_direct8x8_pattern(&mut self, val: u32)

Source

pub fn new_bitfield_1( inter_mb_mode: u32, mb_skip_flag: u32, reserved1: u32, intra_mb_mode: u32, reserved2: u32, field_mb_polarity_flag: u32, mb_type: u32, intra_mb_flag: u32, field_mb_flag: u32, transform8x8_flag: u32, reserved3: u32, dc_block_coded_cr_flag: u32, dc_block_coded_cb_flag: u32, dc_block_coded_y_flag: u32, reserved4: u32, horz_origin: u32, vert_origin: u32, cbp_y: u32, cbp_cb: u32, cbp_cr: u32, qp_prime_y: u32, reserved5: u32, mb_skip_conv_disable: u32, is_last_mb: u32, enable_coefficient_clamp: u32, direct8x8_pattern: u32, ) -> __BindgenBitfieldUnit<[u8; 16]>

Source

pub fn reserved8(&self) -> u32

Source

pub fn set_reserved8(&mut self, val: u32)

Source

pub fn target_size_in_word(&self) -> u32

Source

pub fn set_target_size_in_word(&mut self, val: u32)

Source

pub fn max_size_in_word(&self) -> u32

Source

pub fn set_max_size_in_word(&mut self, val: u32)

Source

pub fn new_bitfield_2( reserved8: u32, target_size_in_word: u32, max_size_in_word: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>

Trait Implementations§

Source§

impl Clone for _VAEncFEIMBCodeH264

Source§

fn clone(&self) -> _VAEncFEIMBCodeH264

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 _VAEncFEIMBCodeH264

Source§

impl Default for _VAEncFEIMBCodeH264

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