Enum v4l::format::transfer::TransferFunction
source · #[repr(u32)]pub enum TransferFunction {
Default = 0,
Rec709 = 1,
SRGB = 2,
OPRGB = 3,
SMPTE240M = 4,
None = 5,
DCIP3 = 6,
SMPTE2084 = 7,
}
Expand description
Transfer function for the colorspace. The driver decides this for capture streams and the user sets it for output streams.
Variants§
Default = 0
default from the colorspace
Rec709 = 1
Rec. 709 transfer function
SRGB = 2
sRGB transfer function
OPRGB = 3
opRGB transfer function
SMPTE240M = 4
SMPTE 230M transfer function
None = 5
No transfer function
DCIP3 = 6
DCI-P3 transfer function
SMPTE2084 = 7
SMPTE 2084 transfer function
Trait Implementations§
source§impl Clone for TransferFunction
impl Clone for TransferFunction
source§fn clone(&self) -> TransferFunction
fn clone(&self) -> TransferFunction
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 Debug for TransferFunction
impl Debug for TransferFunction
source§impl Display for TransferFunction
impl Display for TransferFunction
source§impl TryFrom<u32> for TransferFunction
impl TryFrom<u32> for TransferFunction
impl Copy for TransferFunction
Auto Trait Implementations§
impl Freeze for TransferFunction
impl RefUnwindSafe for TransferFunction
impl Send for TransferFunction
impl Sync for TransferFunction
impl Unpin for TransferFunction
impl UnwindSafe for TransferFunction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)