#[repr(u32)]pub enum SDL_YUV_CONVERSION_MODE {
SDL_YUV_CONVERSION_JPEG = 0,
SDL_YUV_CONVERSION_BT601 = 1,
SDL_YUV_CONVERSION_BT709 = 2,
SDL_YUV_CONVERSION_AUTOMATIC = 3,
}
Expand description
\brief The formula used for converting between YUV and RGB
Variants§
SDL_YUV_CONVERSION_JPEG = 0
< Full range JPEG
SDL_YUV_CONVERSION_BT601 = 1
< BT.601 (the default)
SDL_YUV_CONVERSION_BT709 = 2
< BT.709
SDL_YUV_CONVERSION_AUTOMATIC = 3
< BT.601 for SD content, BT.709 for HD content
Trait Implementations§
source§impl Clone for SDL_YUV_CONVERSION_MODE
impl Clone for SDL_YUV_CONVERSION_MODE
source§fn clone(&self) -> SDL_YUV_CONVERSION_MODE
fn clone(&self) -> SDL_YUV_CONVERSION_MODE
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 Hash for SDL_YUV_CONVERSION_MODE
impl Hash for SDL_YUV_CONVERSION_MODE
source§impl PartialEq for SDL_YUV_CONVERSION_MODE
impl PartialEq for SDL_YUV_CONVERSION_MODE
source§fn eq(&self, other: &SDL_YUV_CONVERSION_MODE) -> bool
fn eq(&self, other: &SDL_YUV_CONVERSION_MODE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_YUV_CONVERSION_MODE
impl Eq for SDL_YUV_CONVERSION_MODE
impl StructuralPartialEq for SDL_YUV_CONVERSION_MODE
Auto Trait Implementations§
impl Freeze for SDL_YUV_CONVERSION_MODE
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§
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