pub struct IQMatrixBufferMPEG2(/* private fields */);Expand description
Wrapper over the VAIQMatrixBufferMPEG2 FFI type.
Implementations§
Source§impl IQMatrixBufferMPEG2
impl IQMatrixBufferMPEG2
Sourcepub fn new(
load_intra_quantiser_matrix: i32,
load_non_intra_quantiser_matrix: i32,
load_chroma_intra_quantiser_matrix: i32,
load_chroma_non_intra_quantiser_matrix: i32,
intra_quantiser_matrix: [u8; 64],
non_intra_quantiser_matrix: [u8; 64],
chroma_intra_quantiser_matrix: [u8; 64],
chroma_non_intra_quantiser_matrix: [u8; 64],
) -> Self
pub fn new( load_intra_quantiser_matrix: i32, load_non_intra_quantiser_matrix: i32, load_chroma_intra_quantiser_matrix: i32, load_chroma_non_intra_quantiser_matrix: i32, intra_quantiser_matrix: [u8; 64], non_intra_quantiser_matrix: [u8; 64], chroma_intra_quantiser_matrix: [u8; 64], chroma_non_intra_quantiser_matrix: [u8; 64], ) -> Self
Creates the wrapper.
Sourcepub fn inner(&self) -> &VAIQMatrixBufferMPEG2
pub fn inner(&self) -> &VAIQMatrixBufferMPEG2
Returns the inner FFI type. Useful for testing purposes.
Auto Trait Implementations§
impl Freeze for IQMatrixBufferMPEG2
impl RefUnwindSafe for IQMatrixBufferMPEG2
impl Send for IQMatrixBufferMPEG2
impl Sync for IQMatrixBufferMPEG2
impl Unpin for IQMatrixBufferMPEG2
impl UnsafeUnpin for IQMatrixBufferMPEG2
impl UnwindSafe for IQMatrixBufferMPEG2
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