Struct libva::SliceParameterBufferVP8
source · [−]pub struct SliceParameterBufferVP8(Box<_VASliceParameterBufferVP8>);
Expand description
Wrapper over the VASliceParameterBufferVP8
FFI type.
Tuple Fields
0: Box<_VASliceParameterBufferVP8>
Implementations
sourceimpl SliceParameterBufferVP8
impl SliceParameterBufferVP8
sourcepub fn new(
slice_data_size: u32,
slice_data_offset: u32,
slice_data_flag: u32,
macroblock_offset: u32,
num_of_partitions: u8,
partition_size: [u32; 9]
) -> Self
pub fn new(
slice_data_size: u32,
slice_data_offset: u32,
slice_data_flag: u32,
macroblock_offset: u32,
num_of_partitions: u8,
partition_size: [u32; 9]
) -> Self
Creates the wrapper.
pub(crate) fn inner_mut(&mut self) -> &mut _VASliceParameterBufferVP8
sourcepub fn inner(&self) -> &_VASliceParameterBufferVP8
pub fn inner(&self) -> &_VASliceParameterBufferVP8
Returns the inner FFI type. Useful for testing purposes.
Auto Trait Implementations
impl RefUnwindSafe for SliceParameterBufferVP8
impl Send for SliceParameterBufferVP8
impl Sync for SliceParameterBufferVP8
impl Unpin for SliceParameterBufferVP8
impl UnwindSafe for SliceParameterBufferVP8
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