Struct mpeg2ts_reader::descriptor::avcvideo::AvcVideoDescriptor [−][src]
pub struct AvcVideoDescriptor<'buf> { /* fields omitted */ }Descriptor holding copies of properties from the AVC metadata such as AVC ‘profile’ and ‘level’.
Implementations
impl<'buf> AvcVideoDescriptor<'buf>[src]
pub const TAG: u8[src]
The descriptor tag value which identifies the descriptor as a AvcVideoDescriptor.
pub fn new(
tag: u8,
buf: &'buf [u8]
) -> Result<AvcVideoDescriptor<'buf>, DescriptorError>[src]
tag: u8,
buf: &'buf [u8]
) -> Result<AvcVideoDescriptor<'buf>, DescriptorError>
Construct a AvcVideoDescriptor instance that will parse the data from the given
slice.
pub fn profile_idc(&self) -> u8[src]
The AVC profile used in this stream will be equal to, or lower than, this value
pub fn constraint_set0_flag(&self) -> bool[src]
Value of the same flag from this AVC stream’s Sequence Parameter Set
pub fn constraint_set1_flag(&self) -> bool[src]
Value of the same flag from this AVC stream’s Sequence Parameter Set
pub fn constraint_set2_flag(&self) -> bool[src]
Value of the same flag from this AVC stream’s Sequence Parameter Set
pub fn constraint_set3_flag(&self) -> bool[src]
Value of the same flag from this AVC stream’s Sequence Parameter Set
pub fn constraint_set4_flag(&self) -> bool[src]
Value of the same flag from this AVC stream’s Sequence Parameter Set
pub fn constraint_set5_flag(&self) -> bool[src]
Value of the same flag from this AVC stream’s Sequence Parameter Set
pub fn avc_compatible_flags(&self) -> u8[src]
Value of the same flags from this AVC stream’s Sequence Parameter Set
pub fn level_idc(&self) -> u8[src]
The AVC level used in this stream will be equal to, or lower than, this value
pub fn avc_still_present(&self) -> bool[src]
Stream may include AVC still pictures
pub fn avc_24_hour_picture_flag(&self) -> bool[src]
Stream may contain AVC 24-hour pictures
pub fn frame_packing_sei_not_present_flag(&self) -> bool[src]
If false, frame packing arrangement or stereo video information SEI message should be present
Trait Implementations
impl Debug for AvcVideoDescriptor<'_>[src]
Auto Trait Implementations
impl<'buf> RefUnwindSafe for AvcVideoDescriptor<'buf>
impl<'buf> Send for AvcVideoDescriptor<'buf>
impl<'buf> Sync for AvcVideoDescriptor<'buf>
impl<'buf> Unpin for AvcVideoDescriptor<'buf>
impl<'buf> UnwindSafe for AvcVideoDescriptor<'buf>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,