pub struct J2kDirectRgbaPlan {
pub dimensions: (u32, u32),
pub bit_depths: [u8; 4],
pub mct: bool,
pub transform: J2kWaveletTransform,
pub component_plans: Vec<J2kDirectGrayscalePlan>,
}Expand description
Direct-device RGBA decode plan with RGB-only inverse MCT semantics.
Fields§
§dimensions: (u32, u32)Final output dimensions.
bit_depths: [u8; 4]Final output bit depths in R, G, B, A order.
mct: boolWhether inverse MCT is required for the first three components.
transform: J2kWaveletTransformWavelet transform used by the RGB color transform.
component_plans: Vec<J2kDirectGrayscalePlan>Per-component plans in R, G, B, A order.
Implementations§
Source§impl J2kDirectRgbaPlan
impl J2kDirectRgbaPlan
Sourcepub fn retained_allocation_bytes(
&self,
) -> Result<usize, DecodePlanAllocationError>
pub fn retained_allocation_bytes( &self, ) -> Result<usize, DecodePlanAllocationError>
Return allocator capacities retained by this plan’s owner graph.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for J2kDirectRgbaPlan
impl RefUnwindSafe for J2kDirectRgbaPlan
impl Send for J2kDirectRgbaPlan
impl Sync for J2kDirectRgbaPlan
impl Unpin for J2kDirectRgbaPlan
impl UnsafeUnpin for J2kDirectRgbaPlan
impl UnwindSafe for J2kDirectRgbaPlan
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