[][src]Struct mp4parse_capi::Mp4parseIndice

#[repr(C)]pub struct Mp4parseIndice {
    pub start_offset: CheckedInteger<u64>,
    pub end_offset: CheckedInteger<u64>,
    pub start_composition: CheckedInteger<i64>,
    pub end_composition: CheckedInteger<i64>,
    pub start_decode: CheckedInteger<i64>,
    pub sync: bool,
}

Fields

start_offset: CheckedInteger<u64>

The byte offset in the file where the indexed sample begins.

end_offset: CheckedInteger<u64>

The byte offset in the file where the indexed sample ends. This is equivalent to start_offset + the length in bytes of the indexed sample. Typically this will be the start_offset of the next sample in the file.

start_composition: CheckedInteger<i64>

The time in microseconds when the indexed sample should be displayed. Analogous to the concept of presentation time stamp (pts).

end_composition: CheckedInteger<i64>

The time in microseconds when the indexed sample should stop being displayed. Typically this would be the start_composition time of the next sample if samples were ordered by composition time.

start_decode: CheckedInteger<i64>

The time in microseconds that the indexed sample should be decoded at. Analogous to the concept of decode time stamp (dts).

sync: bool

Set if the indexed sample is a sync sample. The meaning of sync is somewhat codec specific, but essentially amounts to if the sample is a key frame.

Trait Implementations

impl Debug for Mp4parseIndice[src]

impl Default for Mp4parseIndice[src]

impl PartialEq<Mp4parseIndice> for Mp4parseIndice[src]

impl StructuralPartialEq for Mp4parseIndice[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.