Struct cros_libva::buffer::EncPictureParameterBufferAV1

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

Implementations§

source§

impl EncPictureParameterBufferAV1

source

pub fn new( frame_width_minus_1: u16, frame_height_minus_1: u16, reconstructed_frame: VASurfaceID, coded_buf: c_uint, reference_frames: [VASurfaceID; 8], ref_frame_idx: [u8; 7], hierarchical_level_plus1: u8, primary_ref_frame: u8, order_hint: u8, refresh_frame_flags: u8, ref_frame_ctrl_l0: &RefFrameCtrlAV1, ref_frame_ctrl_l1: &RefFrameCtrlAV1, picture_flags: &AV1EncPictureFlags, seg_id_block_size: u8, num_tile_groups_minus1: u8, temporal_id: u8, filter_level: [u8; 2], filter_level_u: u8, filter_level_v: u8, loop_filter_flags: &AV1EncLoopFilterFlags, superres_scale_denominator: u8, interpolation_filter: u8, ref_deltas: [i8; 8], mode_deltas: [i8; 2], base_qindex: u8, y_dc_delta_q: i8, u_dc_delta_q: i8, u_ac_delta_q: i8, v_dc_delta_q: i8, v_ac_delta_q: i8, min_base_qindex: u8, max_base_qindex: u8, qmatrix_flags: &AV1EncQMatrixFlags, mode_control_flags: &AV1EncModeControlFlags, segments: &EncSegParamAV1, tile_cols: u8, tile_rows: u8, width_in_sbs_minus_1: [u16; 63], height_in_sbs_minus_1: [u16; 63], context_update_tile_id: u16, cdef_damping_minus_3: u8, cdef_bits: u8, cdef_y_strengths: [u8; 8], cdef_uv_strengths: [u8; 8], loop_restoration_flags: &AV1EncLoopRestorationFlags, wm: [EncWarpedMotionParamsAV1; 7], bit_offset_qindex: u32, bit_offset_segmentation: u32, bit_offset_loopfilter_params: u32, bit_offset_cdef_params: u32, size_in_bits_cdef_params: u32, byte_offset_frame_hdr_obu_size: u32, size_in_bits_frame_hdr_obu: u32, tile_group_obu_hdr_info: &AV1EncTileGroupObuHdrInfo, number_skip_frames: u8, skip_frames_reduced_size: i32, ) -> Self

Trait Implementations§

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.