pub struct SourceNormalizerPacketTrackInfo {Show 22 fields
pub stream_index: u32,
pub media_kind: SourceNormalizerPacketMediaKind,
pub codec: String,
pub extradata: Vec<u8>,
pub bitstream_format: Option<DecoderBitstreamFormat>,
pub width: Option<u32>,
pub height: Option<u32>,
pub coded_width: Option<u32>,
pub coded_height: Option<u32>,
pub reorder_depth: Option<u32>,
pub sample_rate: Option<u32>,
pub channels: Option<u16>,
pub channel_layout: Option<String>,
pub codec_delay_samples: Option<u32>,
pub priming_samples: Option<u32>,
pub trailing_padding_samples: Option<u32>,
pub seek_preroll_samples: Option<u32>,
pub color: Option<NativeFrameColorMetadata>,
pub hdr: Option<NativeFrameHdrMetadata>,
pub frame_rate: Option<f64>,
pub time_base_num: Option<i32>,
pub time_base_den: Option<i32>,
}Expand description
Track metadata exposed by a packet-stream source normalizer.
Fields§
§stream_index: u32§media_kind: SourceNormalizerPacketMediaKind§codec: String§extradata: Vec<u8>§bitstream_format: Option<DecoderBitstreamFormat>§width: Option<u32>§height: Option<u32>§coded_width: Option<u32>§coded_height: Option<u32>§reorder_depth: Option<u32>§sample_rate: Option<u32>§channels: Option<u16>§channel_layout: Option<String>§codec_delay_samples: Option<u32>§priming_samples: Option<u32>§trailing_padding_samples: Option<u32>§seek_preroll_samples: Option<u32>§color: Option<NativeFrameColorMetadata>§hdr: Option<NativeFrameHdrMetadata>§frame_rate: Option<f64>§time_base_num: Option<i32>§time_base_den: Option<i32>Trait Implementations§
Source§impl Clone for SourceNormalizerPacketTrackInfo
impl Clone for SourceNormalizerPacketTrackInfo
Source§fn clone(&self) -> SourceNormalizerPacketTrackInfo
fn clone(&self) -> SourceNormalizerPacketTrackInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for SourceNormalizerPacketTrackInfo
impl<'de> Deserialize<'de> for SourceNormalizerPacketTrackInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for SourceNormalizerPacketTrackInfo
Auto Trait Implementations§
impl Freeze for SourceNormalizerPacketTrackInfo
impl RefUnwindSafe for SourceNormalizerPacketTrackInfo
impl Send for SourceNormalizerPacketTrackInfo
impl Sync for SourceNormalizerPacketTrackInfo
impl Unpin for SourceNormalizerPacketTrackInfo
impl UnsafeUnpin for SourceNormalizerPacketTrackInfo
impl UnwindSafe for SourceNormalizerPacketTrackInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more