pub struct J2kCodeBlockSegment {
pub data_offset: u32,
pub data_length: u32,
pub start_coding_pass: u8,
pub end_coding_pass: u8,
pub use_arithmetic: bool,
}Expand description
Adapter classic J2K coded segment for backend experimentation.
Fields§
§data_offset: u32Byte offset of this segment within the combined payload.
data_length: u32Segment payload length in bytes.
start_coding_pass: u8First coding pass covered by this segment.
end_coding_pass: u8One-past-last coding pass covered by this segment.
use_arithmetic: boolWhether this segment is decoded through the arithmetic path.
Trait Implementations§
Source§impl Clone for J2kCodeBlockSegment
impl Clone for J2kCodeBlockSegment
Source§fn clone(&self) -> J2kCodeBlockSegment
fn clone(&self) -> J2kCodeBlockSegment
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 J2kCodeBlockSegment
Source§impl Debug for J2kCodeBlockSegment
impl Debug for J2kCodeBlockSegment
impl Eq for J2kCodeBlockSegment
Source§impl PartialEq for J2kCodeBlockSegment
impl PartialEq for J2kCodeBlockSegment
Source§fn eq(&self, other: &J2kCodeBlockSegment) -> bool
fn eq(&self, other: &J2kCodeBlockSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for J2kCodeBlockSegment
Auto Trait Implementations§
impl Freeze for J2kCodeBlockSegment
impl RefUnwindSafe for J2kCodeBlockSegment
impl Send for J2kCodeBlockSegment
impl Sync for J2kCodeBlockSegment
impl Unpin for J2kCodeBlockSegment
impl UnsafeUnpin for J2kCodeBlockSegment
impl UnwindSafe for J2kCodeBlockSegment
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