Enum sdl2_sys::SDL_YUV_CONVERSION_MODE
source · [−]#[repr(u32)]
pub enum SDL_YUV_CONVERSION_MODE {
SDL_YUV_CONVERSION_JPEG,
SDL_YUV_CONVERSION_BT601,
SDL_YUV_CONVERSION_BT709,
SDL_YUV_CONVERSION_AUTOMATIC,
}
Expand description
\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
sourceimpl Clone for SDL_YUV_CONVERSION_MODE
impl Clone for SDL_YUV_CONVERSION_MODE
sourcefn clone(&self) -> SDL_YUV_CONVERSION_MODE
fn clone(&self) -> SDL_YUV_CONVERSION_MODE
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SDL_YUV_CONVERSION_MODE
impl Debug for SDL_YUV_CONVERSION_MODE
sourceimpl Hash for SDL_YUV_CONVERSION_MODE
impl Hash for SDL_YUV_CONVERSION_MODE
impl Copy for SDL_YUV_CONVERSION_MODE
impl Eq for SDL_YUV_CONVERSION_MODE
impl StructuralEq for SDL_YUV_CONVERSION_MODE
impl StructuralPartialEq for SDL_YUV_CONVERSION_MODE
Auto Trait Implementations
impl RefUnwindSafe for SDL_YUV_CONVERSION_MODE
impl Send for SDL_YUV_CONVERSION_MODE
impl Sync for SDL_YUV_CONVERSION_MODE
impl Unpin for SDL_YUV_CONVERSION_MODE
impl UnwindSafe for SDL_YUV_CONVERSION_MODE
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more