pub struct Component {
pub id: u8,
pub h_sampling: u8,
pub v_sampling: u8,
pub quant_table_id: u8,
}Expand description
Information about one image component from SOF.
Fields§
§id: u8Component ID (typically 1=Y, 2=Cb, 3=Cr).
h_sampling: u8Horizontal sampling factor (1–4).
v_sampling: u8Vertical sampling factor (1–4).
quant_table_id: u8Quantization table ID (0–3).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnsafeUnpin for Component
impl UnwindSafe for Component
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