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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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> 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,

§

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>,

§

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>,

§

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.