Struct rsmpeg::ffi::AVComponentDescriptor [−][src]
#[repr(C)]pub struct AVComponentDescriptor { pub plane: i32, pub step: i32, pub offset: i32, pub shift: i32, pub depth: i32, pub step_minus1: i32, pub depth_minus1: i32, pub offset_plus1: 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.
step_minus1: i32
deprecated, use step instead
depth_minus1: i32
deprecated, use depth instead
offset_plus1: i32
deprecated, use offset instead
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AVComponentDescriptor
impl Send for AVComponentDescriptor
impl Sync for AVComponentDescriptor
impl Unpin for AVComponentDescriptor
impl UnwindSafe for AVComponentDescriptor
Blanket Implementations
Mutably borrows from an owned value. Read more