pub struct EssenceContainerData {
pub interchange: InterchangeObjectFields,
pub linked_package_uid: PackageId,
pub index_sid: Option<u32>,
pub body_sid: u32,
pub dark: Vec<(u16, Vec<u8>)>,
}Expand description
The Essence Container Data Set — SMPTE ST 377-1:2019 Annex A.5: links a
LinkedPackageUID to the BodySID/IndexSID pair identifying its
Essence Container / Index Table Segments among the file’s Partitions.
The four Boolean properties A.5 defines with a “dyn” (dynamically
allocated, no fixed static tag) local tag — PrecedingIndexTable,
SingularPartitionUsage, FollowingIndexTable, IsSparse — are
preserved byte-for-byte in dark rather than individually typed in this
first pass, per docs/st377-1.md’s Scope section.
Fields§
§interchange: InterchangeObjectFieldsInterchange Object (A.1) base properties.
linked_package_uid: PackageIdLinked Package UID (0x2701, Req) — the Package this Set is linked
to (opaque UMID, see docs/st377-1.md’s Scope section).
index_sid: Option<u32>IndexSID (0x3F06, Opt) — ID of the Index Table for the linked
Essence Container, if any.
body_sid: u32BodySID (0x3F07, Req) — ID of the linked Essence Container (0 =
external to the file).
dark: Vec<(u16, Vec<u8>)>Every other property found on parse, including the four “dyn”-tagged Boolean properties above and any private/dark extension — preserved byte-for-byte, not decoded.
Trait Implementations§
Source§impl Clone for EssenceContainerData
impl Clone for EssenceContainerData
Source§fn clone(&self) -> EssenceContainerData
fn clone(&self) -> EssenceContainerData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EssenceContainerData
impl Debug for EssenceContainerData
impl Eq for EssenceContainerData
Source§impl<'a> Parse<'a> for EssenceContainerData
impl<'a> Parse<'a> for EssenceContainerData
Source§impl PartialEq for EssenceContainerData
impl PartialEq for EssenceContainerData
Source§impl Serialize for EssenceContainerData
impl Serialize for EssenceContainerData
Source§type Error = Error
type Error = Error
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
serialize_into will write.