Struct libva::buffer_type::PictureParameterBufferVP9
source · [−]pub struct PictureParameterBufferVP9(Box<_VADecPictureParameterBufferVP9>);
Expand description
Wrapper over the PictureParameterBufferVP9
FFI type.
Tuple Fields
0: Box<_VADecPictureParameterBufferVP9>
Implementations
sourceimpl 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
pub(crate) fn inner_mut(&mut self) -> &mut _VADecPictureParameterBufferVP9
sourcepub fn inner(&self) -> &_VADecPictureParameterBufferVP9
pub fn inner(&self) -> &_VADecPictureParameterBufferVP9
Returns the inner FFI type. Useful for testing purposes.
Auto Trait Implementations
impl RefUnwindSafe for PictureParameterBufferVP9
impl Send for PictureParameterBufferVP9
impl Sync for PictureParameterBufferVP9
impl Unpin for PictureParameterBufferVP9
impl UnwindSafe for PictureParameterBufferVP9
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more