pub struct LcmsUnoptimized;Expand description
Pure-Rust Little CMS backend with FLAGS_NOOPTIMIZE enabled.
Evaluates profile stages directly without resampling into a 16-bit integer CLUT — slower on integer formats, useful for high-dynamic-range float-pipeline MPE profiles (such as PQ ICC profiles) where a 33-point integer CLUT loses shadow precision.
Implementations§
Source§impl LcmsUnoptimized
impl LcmsUnoptimized
Sourcepub fn binding() -> CmsBinding
pub fn binding() -> CmsBinding
Canonical named, conservatively quoted CmsBinding for unoptimized pure-Rust lcms
("org.imazen.cms.lcms_unoptimized").
Trait Implementations§
Source§impl Clone for LcmsUnoptimized
impl Clone for LcmsUnoptimized
Source§fn clone(&self) -> LcmsUnoptimized
fn clone(&self) -> LcmsUnoptimized
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 CmsBackend for LcmsUnoptimized
impl CmsBackend for LcmsUnoptimized
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 LcmsUnoptimized
Source§impl Debug for LcmsUnoptimized
impl Debug for LcmsUnoptimized
Source§impl Default for LcmsUnoptimized
impl Default for LcmsUnoptimized
Source§fn default() -> LcmsUnoptimized
fn default() -> LcmsUnoptimized
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LcmsUnoptimized
impl RefUnwindSafe for LcmsUnoptimized
impl Send for LcmsUnoptimized
impl Sync for LcmsUnoptimized
impl Unpin for LcmsUnoptimized
impl UnsafeUnpin for LcmsUnoptimized
impl UnwindSafe for LcmsUnoptimized
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