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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.