[][src]Struct gfwx::ColorTransformProgram

pub struct ColorTransformProgram { /* fields omitted */ }

Methods

impl ColorTransformProgram
[src]

Stores input as yuv444. Does not perform any color transforms, just flags second and third channels as chroma channels. Decompressed output also will be in yuv44.

Stores rgb data as approximated YUV444 (real order is UYV). performs the following: R -= G (chroma); B -= G (chroma); G += (R + B) / 4 (luma)

Stores bgr data as approximated a710. performs the following: R -= G (chroma); B -= (G * 2 + R) / 2 (chroma); G += (B * 2 + R * 3) / 8 (luma)

Stores rgb data as approximated a710. performs the following: R -= G (chroma); B -= (G * 2 + R) / 2 (chroma); G += (B * 2 + R * 3) / 8 (luma)

Trait Implementations

impl PartialEq<ColorTransformProgram> for ColorTransformProgram
[src]

impl Clone for ColorTransformProgram
[src]

Performs copy-assignment from source. Read more

impl Default for ColorTransformProgram
[src]

impl Debug for ColorTransformProgram
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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