Struct AVComponentDescriptor
#[repr(C)]pub struct AVComponentDescriptor {
pub plane: i32,
pub step: i32,
pub offset: i32,
pub shift: i32,
pub depth: i32,
}
Fields§
§plane: i32
Which of the 4 planes contains the component.
step: i32
Number of elements between 2 horizontally consecutive pixels. Elements are bits for bitstream formats, bytes otherwise.
offset: i32
Number of elements before the component of the first pixel. Elements are bits for bitstream formats, bytes otherwise.
shift: i32
Number of least significant bits that must be shifted away to get the value.
depth: i32
Number of bits in the component.
Trait Implementations§
§impl Clone for AVComponentDescriptor
impl Clone for AVComponentDescriptor
§fn clone(&self) -> AVComponentDescriptor
fn clone(&self) -> AVComponentDescriptor
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for AVComponentDescriptor
impl Debug for AVComponentDescriptor
impl Copy for AVComponentDescriptor
Auto Trait Implementations§
impl Freeze for AVComponentDescriptor
impl RefUnwindSafe for AVComponentDescriptor
impl Send for AVComponentDescriptor
impl Sync for AVComponentDescriptor
impl Unpin for AVComponentDescriptor
impl UnwindSafe for AVComponentDescriptor
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