pub struct DolbyVisionConfig { /* private fields */ }Expand description
The Dolby Vision decoder configuration record’s two routing seats —
the profile number and the base-layer signal-compatibility id —
read from the container’s dvcC/dvvC/dwvC box when present.
Numbers, not interpretation. This crate does not map profile
onto a named Dolby Vision profile (5, 7, 8.1, …) or compatibility_id
onto “HDR10-compatible” / “SDR-compatible” / etc. — those tables are
Dolby’s own and change independently of this crate’s release cycle;
the consumer that already routes base-layer-vs-refuse on this value
(per the sealed ground this type answers to) owns that table. What
crosses here is exactly what the box declared, unchanged.
Copy: two bytes, nothing owned.
Implementations§
Source§impl DolbyVisionConfig
impl DolbyVisionConfig
Sourcepub const fn new(profile: u8, compatibility_id: u8) -> Self
pub const fn new(profile: u8, compatibility_id: u8) -> Self
Constructs a DolbyVisionConfig from its two routing numbers.
Sourcepub const fn compatibility_id(&self) -> u8
pub const fn compatibility_id(&self) -> u8
The base-layer signal-compatibility id (dv_bl_signal_ compatibility_id), verbatim — what the consumer this record was
sealed for routes base-layer-vs-refuse on.
Trait Implementations§
Source§impl Clone for DolbyVisionConfig
impl Clone for DolbyVisionConfig
Source§fn clone(&self) -> DolbyVisionConfig
fn clone(&self) -> DolbyVisionConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more