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
Sourcepub fn inner(&self) -> &VADecPictureParameterBufferVP9
pub fn inner(&self) -> &VADecPictureParameterBufferVP9
Returns the inner FFI type. Useful for testing purposes.
Auto Trait Implementations§
impl Freeze for PictureParameterBufferVP9
impl RefUnwindSafe for PictureParameterBufferVP9
impl Send for PictureParameterBufferVP9
impl Sync for PictureParameterBufferVP9
impl Unpin for PictureParameterBufferVP9
impl UnsafeUnpin 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