Struct cros_libva::buffer::EncSliceParameterBufferH264

source ·
pub struct EncSliceParameterBufferH264(/* private fields */);

Implementations§

source§

impl EncSliceParameterBufferH264

source

pub fn new( macroblock_address: u32, num_macroblocks: u32, macroblock_info: c_uint, slice_type: u8, pic_parameter_set_id: u8, idr_pic_id: u16, pic_order_cnt_lsb: u16, delta_pic_order_cnt_bottom: i32, delta_pic_order_cnt: [i32; 2], direct_spatial_mv_pred_flag: u8, num_ref_idx_active_override_flag: u8, num_ref_idx_l0_active_minus1: u8, num_ref_idx_l1_active_minus1: u8, ref_pic_list_0: [PictureH264; 32], ref_pic_list_1: [PictureH264; 32], luma_log2_weight_denom: u8, chroma_log2_weight_denom: u8, luma_weight_l0_flag: u8, luma_weight_l0: [i16; 32], luma_offset_l0: [i16; 32], chroma_weight_l0_flag: u8, chroma_weight_l0: [[i16; 2]; 32], chroma_offset_l0: [[i16; 2]; 32], luma_weight_l1_flag: u8, luma_weight_l1: [i16; 32], luma_offset_l1: [i16; 32], chroma_weight_l1_flag: u8, chroma_weight_l1: [[i16; 2]; 32], chroma_offset_l1: [[i16; 2]; 32], cabac_init_idc: u8, slice_qp_delta: i8, disable_deblocking_filter_idc: u8, slice_alpha_c0_offset_div2: i8, slice_beta_offset_div2: i8, ) -> Self

source

pub fn inner(&self) -> &_VAEncSliceParameterBufferH264

Returns the inner FFI type. Useful for testing purposes.

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> 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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.