Struct charls_sys::charls_jpegls_pc_parameters
source · #[repr(C)]pub struct charls_jpegls_pc_parameters {
pub maximum_sample_value: i32,
pub threshold1: i32,
pub threshold2: i32,
pub threshold3: i32,
pub reset_value: i32,
}
Expand description
Defines the JPEG-LS preset coding parameters as defined in ISO/IEC 14495-1, C.2.4.1.1. JPEG-LS defines a default set of parameters, but custom parameters can be used. When used these parameters are written into the encoded bit stream as they are needed for the decoding process.
Fields§
§maximum_sample_value: i32
threshold1: i32
threshold2: i32
threshold3: i32
reset_value: i32
Trait Implementations§
source§impl Clone for charls_jpegls_pc_parameters
impl Clone for charls_jpegls_pc_parameters
source§fn clone(&self) -> charls_jpegls_pc_parameters
fn clone(&self) -> charls_jpegls_pc_parameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for charls_jpegls_pc_parameters
impl Debug for charls_jpegls_pc_parameters
impl Copy for charls_jpegls_pc_parameters
Auto Trait Implementations§
impl Freeze for charls_jpegls_pc_parameters
impl RefUnwindSafe for charls_jpegls_pc_parameters
impl Send for charls_jpegls_pc_parameters
impl Sync for charls_jpegls_pc_parameters
impl Unpin for charls_jpegls_pc_parameters
impl UnwindSafe for charls_jpegls_pc_parameters
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)