pub struct TranscodeComponentReport {
pub component_index: usize,
pub width: u32,
pub height: u32,
pub block_cols: u32,
pub block_rows: u32,
pub x_rsiz: u8,
pub y_rsiz: u8,
}Expand description
Per-component transcode geometry preserved in the generated codestream.
Fields§
§component_index: usizeComponent index in JPEG SOF order.
width: u32Native component width in samples before HTJ2K SIZ expansion.
height: u32Native component height in samples before HTJ2K SIZ expansion.
block_cols: u32Number of DCT blocks per component row, including padded edge blocks.
block_rows: u32Number of DCT block rows, including padded edge blocks.
x_rsiz: u8HTJ2K SIZ horizontal sampling factor.
y_rsiz: u8HTJ2K SIZ vertical sampling factor.
Trait Implementations§
Source§impl Clone for TranscodeComponentReport
impl Clone for TranscodeComponentReport
Source§fn clone(&self) -> TranscodeComponentReport
fn clone(&self) -> TranscodeComponentReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TranscodeComponentReport
impl Debug for TranscodeComponentReport
impl Eq for TranscodeComponentReport
Source§impl PartialEq for TranscodeComponentReport
impl PartialEq for TranscodeComponentReport
Source§fn eq(&self, other: &TranscodeComponentReport) -> bool
fn eq(&self, other: &TranscodeComponentReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranscodeComponentReport
Auto Trait Implementations§
impl Freeze for TranscodeComponentReport
impl RefUnwindSafe for TranscodeComponentReport
impl Send for TranscodeComponentReport
impl Sync for TranscodeComponentReport
impl Unpin for TranscodeComponentReport
impl UnsafeUnpin for TranscodeComponentReport
impl UnwindSafe for TranscodeComponentReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more