Struct cros_libva::buffer::PictureParameterBufferVP9
source · pub struct PictureParameterBufferVP9(/* private fields */);Expand description
Wrapper over the PictureParameterBufferVP9 FFI type.
Implementations§
source§impl PictureParameterBufferVP9
impl PictureParameterBufferVP9
sourcepub fn new(
frame_width: u16,
frame_height: u16,
reference_frames: [VASurfaceID; 8],
pic_fields: &VP9PicFields,
filter_level: u8,
sharpness_level: u8,
log2_tile_rows: u8,
log2_tile_columns: u8,
frame_header_length_in_bytes: u8,
first_partition_size: u16,
mb_segment_tree_probs: [u8; 7],
segment_pred_probs: [u8; 3],
profile: u8,
bit_depth: u8,
) -> Self
pub fn new( frame_width: u16, frame_height: u16, reference_frames: [VASurfaceID; 8], pic_fields: &VP9PicFields, filter_level: u8, sharpness_level: u8, log2_tile_rows: u8, log2_tile_columns: u8, frame_header_length_in_bytes: u8, first_partition_size: u16, mb_segment_tree_probs: [u8; 7], segment_pred_probs: [u8; 3], profile: u8, bit_depth: u8, ) -> Self
Creates the wrapper
Auto Trait Implementations§
impl Freeze for PictureParameterBufferVP9
impl RefUnwindSafe for PictureParameterBufferVP9
impl Send for PictureParameterBufferVP9
impl Sync for PictureParameterBufferVP9
impl Unpin for PictureParameterBufferVP9
impl UnwindSafe for PictureParameterBufferVP9
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more