[−][src]Enum gstreamer_video::VideoTransferFunction
The video transfer function defines the formula for converting between non-linear RGB (R'G'B') and linear RGB
Variants (Non-exhaustive)
unknown transfer function
linear RGB, gamma 1.0 curve
Gamma 1.8 curve
Gamma 2.0 curve
Gamma 2.2 curve
Gamma 2.2 curve with a linear segment in the lower range
Gamma 2.2 curve with a linear segment in the lower range
Gamma 2.4 curve with a linear segment in the lower range
Gamma 2.8 curve
Logarithmic transfer characteristic 100:1 range
Logarithmic transfer characteristic 316.22777:1 range
Gamma 2.2 curve with a linear segment in the lower range. Used for BT.2020 with 12 bits per component. Since: 1.6
Gamma 2.19921875. Since: 1.8
Rec. ITU-R BT.2020-2 with 10 bits per component. (functionally the same as the values GST_VIDEO_TRANSFER_BT709 and GST_VIDEO_TRANSFER_BT2020_12). Since: 1.18
SMPTE ST 2084 for 10, 12, 14, and 16-bit systems. Known as perceptual quantization (PQ) Since: 1.18
Association of Radio Industries and Businesses (ARIB) STD-B67 and Rec. ITU-R BT.2100-1 hybrid loggamma (HLG) system Since: 1.18
Implementations
impl VideoTransferFunction
[src]
pub fn from_iso(iso: u32) -> Result<VideoTransferFunction, BoolError>
[src]
pub fn to_iso(&self) -> u32
[src]
pub fn is_equivalent(
&self,
from_bpp: u32,
to_func: VideoTransferFunction,
to_bpp: u32
) -> bool
[src]
&self,
from_bpp: u32,
to_func: VideoTransferFunction,
to_bpp: u32
) -> bool
Trait Implementations
impl Clone for VideoTransferFunction
[src]
fn clone(&self) -> VideoTransferFunction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VideoTransferFunction
[src]
impl Debug for VideoTransferFunction
[src]
impl Eq for VideoTransferFunction
[src]
impl<'a> FromValue<'a> for VideoTransferFunction
[src]
unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for VideoTransferFunction
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for VideoTransferFunction
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for VideoTransferFunction
[src]
fn cmp(&self, other: &VideoTransferFunction) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<VideoTransferFunction> for VideoTransferFunction
[src]
fn eq(&self, other: &VideoTransferFunction) -> bool
[src]
fn ne(&self, other: &VideoTransferFunction) -> bool
[src]
impl PartialOrd<VideoTransferFunction> for VideoTransferFunction
[src]
fn partial_cmp(&self, other: &VideoTransferFunction) -> Option<Ordering>
[src]
fn lt(&self, other: &VideoTransferFunction) -> bool
[src]
fn le(&self, other: &VideoTransferFunction) -> bool
[src]
fn gt(&self, other: &VideoTransferFunction) -> bool
[src]
fn ge(&self, other: &VideoTransferFunction) -> bool
[src]
impl SetValue for VideoTransferFunction
[src]
impl StaticType for VideoTransferFunction
[src]
fn static_type() -> Type
[src]
impl StructuralEq for VideoTransferFunction
[src]
impl StructuralPartialEq for VideoTransferFunction
[src]
Auto Trait Implementations
impl RefUnwindSafe for VideoTransferFunction
impl Send for VideoTransferFunction
impl Sync for VideoTransferFunction
impl Unpin for VideoTransferFunction
impl UnwindSafe for VideoTransferFunction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,