[][src]Struct ffmpeg_dev::sys::AVIndexEntry

#[repr(C)]
pub struct AVIndexEntry {
    pub pos: i64,
    pub timestamp: i64,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
    pub min_distance: c_int,
}

Fields

pos: i64timestamp: i64

< Timestamp in AVStream.time_base units, preferably the time from which on correctly decoded frames are available when seeking to this entry. That means preferable PTS on keyframe based formats. But demuxers can choose to store a different timestamp, if it is more convenient for the implementation or nothing better is known

_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>min_distance: c_int

< Minimum distance between this and the previous keyframe, used to avoid unneeded searching.

Methods

impl AVIndexEntry[src]

pub fn flags(&self) -> c_int[src]

pub fn set_flags(&mut self, val: c_int)[src]

pub fn size(&self) -> c_int[src]

pub fn set_size(&mut self, val: c_int)[src]

pub fn new_bitfield_1(
    flags: c_int,
    size: c_int
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]

Trait Implementations

impl Clone for AVIndexEntry[src]

impl Copy for AVIndexEntry[src]

impl Debug for AVIndexEntry[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

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.

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

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

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