pub struct J2kEncodeContext {
pub num_pixels: usize,
pub num_components: u16,
pub bit_depth: u8,
pub signed: bool,
pub reversible: bool,
}Expand description
Validated image and coding context supplied before encode-stage dispatch.
Fields§
§num_pixels: usizeNumber of pixels in the encoded image or tile.
num_components: u16Number of interleaved source components.
bit_depth: u8Source sample bit depth.
signed: boolWhether source samples are signed.
reversible: boolWhether the codestream uses reversible coding.
Trait Implementations§
Source§impl Clone for J2kEncodeContext
impl Clone for J2kEncodeContext
Source§fn clone(&self) -> J2kEncodeContext
fn clone(&self) -> J2kEncodeContext
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 moreimpl Copy for J2kEncodeContext
Source§impl Debug for J2kEncodeContext
impl Debug for J2kEncodeContext
impl Eq for J2kEncodeContext
Source§impl PartialEq for J2kEncodeContext
impl PartialEq for J2kEncodeContext
impl StructuralPartialEq for J2kEncodeContext
Auto Trait Implementations§
impl Freeze for J2kEncodeContext
impl RefUnwindSafe for J2kEncodeContext
impl Send for J2kEncodeContext
impl Sync for J2kEncodeContext
impl Unpin for J2kEncodeContext
impl UnsafeUnpin for J2kEncodeContext
impl UnwindSafe for J2kEncodeContext
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