[][src]Struct ffmpeg_dev::sys::FFFrameQueue

#[repr(C)]
pub struct FFFrameQueue {
    pub queue: *mut FFFrameBucket,
    pub allocated: usize,
    pub tail: usize,
    pub queued: usize,
    pub first_bucket: FFFrameBucket,
    pub total_frames_head: u64,
    pub total_frames_tail: u64,
    pub total_samples_head: u64,
    pub total_samples_tail: u64,
    pub samples_skipped: c_int,
}

Queue of AVFrame pointers.

Fields

queue: *mut FFFrameBucket

Array of allocated buckets, used as a circular buffer.

allocated: usize

Size of the array of buckets.

tail: usize

Tail of the queue. It is the index in the array of the next frame to take.

queued: usize

Number of currently queued frames.

first_bucket: FFFrameBucket

Pre-allocated bucket for queues of size 1.

total_frames_head: u64

Total number of frames entered in the queue.

total_frames_tail: u64

Total number of frames dequeued from the queue. queued = total_frames_head - total_frames_tail

total_samples_head: u64

Total number of samples entered in the queue.

total_samples_tail: u64

Total number of samples dequeued from the queue. queued_samples = total_samples_head - total_samples_tail

samples_skipped: c_int

Indicate that samples are skipped

Trait Implementations

impl Clone for FFFrameQueue[src]

impl Copy for FFFrameQueue[src]

impl Debug for FFFrameQueue[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]