[][src]Enum gstreamer_video::VideoAFDValue

#[non_exhaustive]pub enum VideoAFDValue {
    Unavailable,
    _169TopAligned,
    _149TopAligned,
    GreaterThan169,
    _43Full169Full,
    _43Full43Pillar,
    _169Letter169Full,
    _149Letter149Pillar,
    _43Full149Center,
    _169Letter149Center,
    _169Letter43Center,
    // some variants omitted
}

Enumeration of the various values for Active Format Description (AFD)

AFD should be included in video user data whenever the rectangular picture area containing useful information does not extend to the full height or width of the coded frame. AFD data may also be included in user data when the rectangular picture area containing useful information extends to the full height and width of the coded frame.

For details, see Table 6.14 Active Format in:

ATSC Digital Television Standard: Part 4 – MPEG-2 Video System Characteristics

https://www.atsc.org/wp-content/uploads/2015/03/a_53-Part-4-2009.pdf

and Active Format Description in Complete list of AFD codes

https://en.wikipedia.org/wiki/Active_Format_DescriptionComplete_list_of_AFD_codes

and SMPTE ST2016-1

Notes:

  1. AFD 0 is undefined for ATSC and SMPTE ST2016-1, indicating that AFD data is not available: If Bar Data is not present, AFD '0000' indicates that exact information is not available and the active image should be assumed to be the same as the coded frame. AFD '0000'. AFD '0000' accompanied by Bar Data signals that the active image’s aspect ratio is narrower than 16:9, but is not 4:3 or 14:9. As the exact aspect ratio cannot be conveyed by AFD alone, wherever possible, AFD ‘0000’ should be accompanied by Bar Data to define the exact vertical or horizontal extent of the active image.
  2. AFD 0 is reserved for DVB/ETSI
  3. values 1, 5, 6, 7, and 12 are reserved for both ATSC and DVB/ETSI
  4. values 2 and 3 are not recommended for ATSC, but are valid for DVB/ETSI

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unavailable

Unavailable (see note 0 below).

_169TopAligned
_149TopAligned
GreaterThan169

For 4:3 coded frame, letterbox image with an aspect ratio greater than 16:9, vertically centered in the coded frame. For 16:9 coded frame, letterbox image with an aspect ratio greater than 16:9.

_43Full169Full
_43Full43Pillar
_169Letter169Full
_149Letter149Pillar
_43Full149Center
_169Letter149Center
_169Letter43Center

Trait Implementations

impl Clone for VideoAFDValue[src]

impl Copy for VideoAFDValue[src]

impl Debug for VideoAFDValue[src]

impl Eq for VideoAFDValue[src]

impl<'a> FromValue<'a> for VideoAFDValue[src]

impl<'a> FromValueOptional<'a> for VideoAFDValue[src]

impl Hash for VideoAFDValue[src]

impl Ord for VideoAFDValue[src]

impl PartialEq<VideoAFDValue> for VideoAFDValue[src]

impl PartialOrd<VideoAFDValue> for VideoAFDValue[src]

impl SetValue for VideoAFDValue[src]

impl StaticType for VideoAFDValue[src]

impl StructuralEq for VideoAFDValue[src]

impl StructuralPartialEq for VideoAFDValue[src]

Auto Trait Implementations

impl RefUnwindSafe for VideoAFDValue

impl Send for VideoAFDValue

impl Sync for VideoAFDValue

impl Unpin for VideoAFDValue

impl UnwindSafe for VideoAFDValue

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[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.