pub struct XMLSubtitleSampleEntry<'a> {
pub sample_entry: SubtitleSampleEntry,
pub namespace: Utf8List,
pub schema_location: Utf8List,
pub auxiliary_mime_types: Utf8List,
pub btrt: Option<BitRateBox>,
pub unknown_boxes: Vec<UnknownBox<'a>>,
}Expand description
XML subtitle sample entry
ISO/IEC 14496-12 - 12.6.3
Fields§
§sample_entry: SubtitleSampleEntryThe sample entry that this box inherits from.
namespace: Utf8ListOne or more XML namespaces to which the sample documents conform. When used for metadata, this is needed for identifying its type, e.g. gBSD or AQoS [MPEG-21-7] and for decoding using XML aware encoding mechanisms such as BiM.
schema_location: Utf8ListZero or more URLs for XML schema(s) to which the sample document conforms. If there is one namespace and one schema, then this field shall be the URL of the one schema. If there is more than one namespace, then the syntax of this field shall adhere to that for xsi:schemaLocation attribute as defined by XML. When used for metadata, this is needed for decoding of the timed metadata by XML aware encoding mechanisms such as BiM.
auxiliary_mime_types: Utf8ListThe media type of all auxiliary resources, such as images and fonts, if present, stored as subtitle sub-samples.
btrt: Option<BitRateBox>The contained BitRateBox. (optional)
unknown_boxes: Vec<UnknownBox<'a>>A list of unknown boxes that were not recognized during deserialization.
Trait Implementations§
Source§impl<'a> Debug for XMLSubtitleSampleEntry<'a>
impl<'a> Debug for XMLSubtitleSampleEntry<'a>
Source§impl<'a> Deserialize<'a> for XMLSubtitleSampleEntry<'a>
impl<'a> Deserialize<'a> for XMLSubtitleSampleEntry<'a>
Source§fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl<'a> DeserializeSeed<'a, BoxHeader> for XMLSubtitleSampleEntry<'a>
impl<'a> DeserializeSeed<'a, BoxHeader> for XMLSubtitleSampleEntry<'a>
Source§fn deserialize_seed<R>(reader: R, seed: BoxHeader) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize_seed<R>(reader: R, seed: BoxHeader) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl<'a> IsoBox for XMLSubtitleSampleEntry<'a>
impl<'a> IsoBox for XMLSubtitleSampleEntry<'a>
Source§fn add_header_size(payload_size: usize) -> usize
fn add_header_size(payload_size: usize) -> usize
Source§fn box_header(&self) -> BoxHeader
fn box_header(&self) -> BoxHeader
BoxHeader for this box.Source§fn serialize_box_header<W>(&self, writer: W) -> Result<()>where
W: Write,
fn serialize_box_header<W>(&self, writer: W) -> Result<()>where
W: Write,
IsoBox::box_header to the given writer.