Struct obs_sys::encoder_frame
source · #[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
sourceimpl Clone for encoder_frame
impl Clone for encoder_frame
sourcefn clone(&self) -> encoder_frame
fn clone(&self) -> encoder_frame
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for encoder_frame
impl Debug for encoder_frame
sourceimpl Default for encoder_frame
impl Default for encoder_frame
impl Copy for encoder_frame
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more