[][src]Struct jpegxl_sys::JpegxlInverseOpsinMatrix

#[repr(C)]pub struct JpegxlInverseOpsinMatrix {
    pub opsin_inv_matrix: [[f32; 3]; 3],
    pub opsin_biases: [f32; 3],
    pub quant_biases: [f32; 3],
}

Color transform used for the XYB encoding. This affects how the internal XYB color format is converted, and is not needed unless XYB color is used.

Fields

opsin_inv_matrix: [[f32; 3]; 3]

Inverse opsin matrix.

opsin_biases: [f32; 3]

Opsin bias for opsin matrix. This affects how the internal XYB color format is converted, and is not needed unless XYB color is used.

quant_biases: [f32; 3]

Quantization bias for opsin matrix. This affects how the internal XYB color format is converted, and is not needed unless XYB color is used.

Trait Implementations

impl Clone for JpegxlInverseOpsinMatrix[src]

impl Copy for JpegxlInverseOpsinMatrix[src]

impl Debug for JpegxlInverseOpsinMatrix[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.