#[repr(C)]pub struct encoder_frame {
pub data: [*mut u8; 8],
pub linesize: [u32; 8],
pub frames: u32,
pub pts: i64,
}
Expand description
Encoder input frame
Fields§
§data: [*mut u8; 8]
Data for the frame/audio
linesize: [u32; 8]
size of each plane
frames: u32
Number of frames (audio only)
pts: i64
Presentation timestamp
Trait Implementations§
Source§impl Clone for encoder_frame
impl Clone for encoder_frame
Source§fn clone(&self) -> encoder_frame
fn clone(&self) -> encoder_frame
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 encoder_frame
impl Debug for encoder_frame
Source§impl Ord for encoder_frame
impl Ord for encoder_frame
Source§fn cmp(&self, other: &encoder_frame) -> Ordering
fn cmp(&self, other: &encoder_frame) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for encoder_frame
impl PartialEq for encoder_frame
Source§impl PartialOrd for encoder_frame
impl PartialOrd for encoder_frame
impl Copy for encoder_frame
impl Eq for encoder_frame
impl StructuralPartialEq for encoder_frame
Auto Trait Implementations§
impl Freeze for encoder_frame
impl RefUnwindSafe for encoder_frame
impl !Send for encoder_frame
impl !Sync for encoder_frame
impl Unpin for encoder_frame
impl UnwindSafe for encoder_frame
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