Struct TrackReferenceCode

Source
pub struct TrackReferenceCode(pub FourCC);
Expand description

Codes for track reference link types.

See also,

Tuple Fields§

§0: FourCC

Implementations§

§

impl TrackReferenceCode

pub const ADDA: TrackReferenceCode

Additional audio track

FourCC: adda

Specification: ISO

pub const ADRC: TrackReferenceCode

DRC metadata track

FourCC: adrc

Specification: ISO

pub const AUXL: TrackReferenceCode

Auxiliary track reference

FourCC: auxl

Specification: ISO

pub const AVCP: TrackReferenceCode

AVC parameter set stream link

FourCC: avcp

Specification: NALu Video

pub const CDSC: TrackReferenceCode

this track describes the referenced track.

FourCC: cdsc

Specification: ISO

pub const CDTG: TrackReferenceCode

this track describes the referenced tracks and track groups collectively

FourCC: cdtg

Specification: OMAF

pub const DEPS: TrackReferenceCode

track containing the depth view

FourCC: deps

Specification: NALu Video

pub const DPND: TrackReferenceCode

this track has an MPEG-4 dependency on the referenced track

FourCC: dpnd

Specification: MPEG-4

pub const EVCR: TrackReferenceCode

EVC slice base track

FourCC: evcr

Specification: NALu Video

pub const FONT: TrackReferenceCode

this track uses fonts carried/defined in the referenced track

FourCC: font

Specification: ISO

pub const HIND: TrackReferenceCode

Hint dependency

FourCC: hind

Specification: ISO

pub const HINT: TrackReferenceCode

links hint track to original media track

FourCC: hint

Specification: ISO

pub const IPIR: TrackReferenceCode

this track contains IPI declarations for the referenced track

FourCC: ipir

Specification: MPEG-4

pub const LYRA: TrackReferenceCode

Audio layer track dependency

FourCC: lyra

Specification: DTS

pub const MIXN: TrackReferenceCode

used in indicating combinations that result into mixed network abstraction layer unit types in a coded picture of VVC

FourCC: mixn

Specification: NALu Video

pub const MPOD: TrackReferenceCode

this track is an OD track which uses the referenced track as an included elementary stream track

FourCC: mpod

Specification: MPEG-4

pub const OREF: TrackReferenceCode

track that contains an ‘oref’ sample group

FourCC: oref

Specification: NALu Video

pub const RECR: TrackReferenceCode

resolved by extracting an indicated subset of the referenced VVC track to reconstruct a VVC bitstream

FourCC: recr

Specification: NALu Video

pub const SABT: TrackReferenceCode

HEVC Tile Track

FourCC: sabt

Specification: NALu Video

pub const SBAS: TrackReferenceCode

Scalable base

FourCC: sbas

Specification: NALu Video

pub const SCAL: TrackReferenceCode

Scalable extraction

FourCC: scal

Specification: NALu Video

pub const SHSC: TrackReferenceCode

reference to a shadow sync sample track

FourCC: shsc

Specification: OMAF

pub const SUBP: TrackReferenceCode

the referenced VVC subpicture tracks or ‘alte’ track groups of VVC subpicture tracks are used to reconstruct a VVC bitstream

FourCC: subp

Specification: NALu Video

pub const SUBT: TrackReferenceCode

subtitle or timed text or overlay graphical information

FourCC: subt

Specification: ISO

pub const SWFR: TrackReferenceCode

AVC Switch from

FourCC: swfr

Specification: NALu Video

pub const SWTO: TrackReferenceCode

AVC Switch to

FourCC: swto

Specification: NALu Video

pub const SYNC: TrackReferenceCode

this track uses the referenced track as its synchronization source.

FourCC: sync

Specification: MPEG-4

pub const TBAS: TrackReferenceCode

HEVC Tile track base

FourCC: tbas

Specification: NALu Video

pub const THMB: TrackReferenceCode

Thumbnail track reference

FourCC: thmb

Specification: ISO

pub const TMCD: TrackReferenceCode

Time code. Usually references a time code track.

FourCC: tmcd

Specification: Apple

pub const V3CS: TrackReferenceCode

V3C atlas track

FourCC: v3cs

Specification: V3C-SYS

pub const V3CT: TrackReferenceCode

V3C atlas tile track

FourCC: v3ct

Specification: V3C-SYS

pub const V3VA: TrackReferenceCode

V3C attribute video track

FourCC: v3va

Specification: V3C-SYS

pub const V3VG: TrackReferenceCode

V3C geometry video track

FourCC: v3vg

Specification: V3C-SYS

pub const V3VO: TrackReferenceCode

V3C occupancy video track

FourCC: v3vo

Specification: V3C-SYS

pub const VDEP: TrackReferenceCode

Auxiliary video depth

FourCC: vdep

Specification: ISO

pub const VPLX: TrackReferenceCode

Auxiliary video parallax

FourCC: vplx

Specification: ISO

pub const VREF: TrackReferenceCode

reference to a track that contains a ‘vopi’ sample group for VVC video

FourCC: vref

Specification: NALu Video

pub const VREG: TrackReferenceCode

reference to a VVC operating point entity group

FourCC: vreg

Specification: NALu Video

pub const VVCN: TrackReferenceCode

the referenced track is a non video coding layer track of VVC

FourCC: vvcN

Specification: NALu Video

Source§

impl TrackReferenceCode

Source

pub const fn new(code: [u8; 4]) -> TrackReferenceCode

Construct a TrackReferenceCode from its four-cc value

Trait Implementations§

Source§

impl Clone for TrackReferenceCode

Source§

fn clone(&self) -> TrackReferenceCode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TrackReferenceCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<FourCC> for TrackReferenceCode

Source§

fn from(val: FourCC) -> Self

Converts to this type from the input type.
Source§

impl From<TrackReferenceCode> for FourCC

Source§

fn from(val: TrackReferenceCode) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for TrackReferenceCode

Source§

fn eq(&self, other: &TrackReferenceCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for TrackReferenceCode

Source§

impl Eq for TrackReferenceCode

Source§

impl StructuralPartialEq for TrackReferenceCode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.