[][src]Enum sdl2_sys::SDL_YUV_CONVERSION_MODE

#[repr(u32)]pub enum SDL_YUV_CONVERSION_MODE {
    SDL_YUV_CONVERSION_JPEG,
    SDL_YUV_CONVERSION_BT601,
    SDL_YUV_CONVERSION_BT709,
    SDL_YUV_CONVERSION_AUTOMATIC,
}

\brief The formula used for converting between YUV and RGB

Variants

SDL_YUV_CONVERSION_JPEG

< Full range JPEG

SDL_YUV_CONVERSION_BT601

< BT.601 (the default)

SDL_YUV_CONVERSION_BT709

< BT.709

SDL_YUV_CONVERSION_AUTOMATIC

< BT.601 for SD content, BT.709 for HD content

Trait Implementations

impl Clone for SDL_YUV_CONVERSION_MODE[src]

impl Copy for SDL_YUV_CONVERSION_MODE[src]

impl Debug for SDL_YUV_CONVERSION_MODE[src]

impl Eq for SDL_YUV_CONVERSION_MODE[src]

impl Hash for SDL_YUV_CONVERSION_MODE[src]

impl PartialEq<SDL_YUV_CONVERSION_MODE> for SDL_YUV_CONVERSION_MODE[src]

impl StructuralEq for SDL_YUV_CONVERSION_MODE[src]

impl StructuralPartialEq for SDL_YUV_CONVERSION_MODE[src]

Auto Trait Implementations

impl Send for SDL_YUV_CONVERSION_MODE

impl Sync for SDL_YUV_CONVERSION_MODE

impl Unpin for SDL_YUV_CONVERSION_MODE

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, 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.