pub struct Lcms;Expand description
Pure-Rust Little CMS (imazen/lcms) ICC CMS backend.
Stateless and safe to share (Send + Sync); built transforms hold an
immutable, lock-free lcms::api::Plan with AVX2/SIMD pipeline
optimization enabled and stack-only per-row scratch (zero heap
allocation per row).
Implementations§
Source§impl Lcms
impl Lcms
Sourcepub fn binding() -> CmsBinding
pub fn binding() -> CmsBinding
Canonical named, conservatively quoted CmsBinding for pure-Rust lcms
("org.imazen.cms.lcms").
Row execution uses stack-only scratch (apply_scratch_bytes = Some(0)). Profile
build/transform heap and peak stack remain unknown (None / small_stack_qualified = false)
until qualified per route.
Trait Implementations§
Source§impl CmsBackend for Lcms
impl CmsBackend for Lcms
Source§fn supports_formats(&self, src: &PixelFormat, dst: &PixelFormat) -> bool
fn supports_formats(&self, src: &PixelFormat, dst: &PixelFormat) -> bool
Fast, allocation-free check whether this backend supports the
(src, dst)
layouts, sample types, and color families (used by Negotiate
to avoid selecting unbuildable candidates).Source§fn build_transform(
&self,
src: &PixelFormat,
dst: &PixelFormat,
pulse: Option<&dyn Pulse>,
) -> Result<Arc<dyn CmsTransform>, At<ConvertError>>
fn build_transform( &self, src: &PixelFormat, dst: &PixelFormat, pulse: Option<&dyn Pulse>, ) -> Result<Arc<dyn CmsTransform>, At<ConvertError>>
Build a row transform from
src to dst, observing optional cooperative
cancellation and progress via pulse. Read moreimpl Copy for Lcms
Auto Trait Implementations§
impl Freeze for Lcms
impl RefUnwindSafe for Lcms
impl Send for Lcms
impl Sync for Lcms
impl Unpin for Lcms
impl UnsafeUnpin for Lcms
impl UnwindSafe for Lcms
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