Struct cros_libva::buffer::PictureParameterBufferAV1

source ·
pub struct PictureParameterBufferAV1(/* private fields */);
Expand description

A wrapper over VADecPictureParameterBufferAV1 FFI type

Implementations§

source§

impl PictureParameterBufferAV1

source

pub fn new( profile: u8, order_hint_bits_minus_1: u8, bit_depth_idx: u8, matrix_coefficients: u8, seq_info_fields: &AV1SeqFields, current_frame: VASurfaceID, current_display_picture: VASurfaceID, anchor_frames_list: Vec<VASurfaceID>, frame_width_minus1: u16, frame_height_minus1: u16, output_frame_width_in_tiles_minus_1: u16, output_frame_height_in_tiles_minus_1: u16, ref_frame_map: [VASurfaceID; 8], ref_frame_idx: [u8; 7], primary_ref_frame: u8, order_hint: u8, seg_info: &AV1Segmentation, film_grain_info: &AV1FilmGrain, tile_cols: u8, tile_rows: u8, width_in_sbs_minus_1: [u16; 63], height_in_sbs_minus_1: [u16; 63], tile_count_minus_1: u16, context_update_tile_id: u16, pic_info_fields: &AV1PicInfoFields, superres_scale_denominator: u8, interp_filter: u8, filter_level: [u8; 2], filter_level_u: u8, filter_level_v: u8, loop_filter_info_fields: &AV1LoopFilterFields, 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, qmatrix_fields: &AV1QMatrixFields, mode_control_fields: &AV1ModeControlFields, cdef_damping_minus_3: u8, cdef_bits: u8, cdef_y_strengths: [u8; 8], cdef_uv_strengths: [u8; 8], loop_restoration_fields: &AV1LoopRestorationFields, wm: &[AV1WarpedMotionParams; 7], ) -> Self

Creates the wrapper

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.