#[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,
}Expand description
Queue of AVFrame pointers.
Fields§
§queue: *mut FFFrameBucketArray of allocated buckets, used as a circular buffer.
allocated: usizeSize of the array of buckets.
tail: usizeTail of the queue. It is the index in the array of the next frame to take.
queued: usizeNumber of currently queued frames.
first_bucket: FFFrameBucketPre-allocated bucket for queues of size 1.
total_frames_head: u64Total number of frames entered in the queue.
total_frames_tail: u64Total number of frames dequeued from the queue. queued = total_frames_head - total_frames_tail
total_samples_head: u64Total number of samples entered in the queue.
total_samples_tail: u64Total number of samples dequeued from the queue. queued_samples = total_samples_head - total_samples_tail
samples_skipped: c_intIndicate that samples are skipped
Trait Implementations§
Source§impl Clone for FFFrameQueue
impl Clone for FFFrameQueue
Source§fn clone(&self) -> FFFrameQueue
fn clone(&self) -> FFFrameQueue
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FFFrameQueue
impl Debug for FFFrameQueue
impl Copy for FFFrameQueue
Auto Trait Implementations§
impl Freeze for FFFrameQueue
impl RefUnwindSafe for FFFrameQueue
impl !Send for FFFrameQueue
impl !Sync for FFFrameQueue
impl Unpin for FFFrameQueue
impl UnwindSafe for FFFrameQueue
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