pub struct VideoFrame { /* private fields */ }
Implementations§
Source§impl VideoFrame
impl VideoFrame
pub fn stride(&self, plane: i32) -> isize
pub fn plane(&self, plane: i32) -> *const u8
pub fn plane_mut(&mut self, plane: i32) -> *mut u8
pub fn get_video_format(&self) -> &VideoFormat
pub fn get_audio_format(&self) -> &AudioFormat
pub fn get_type(&self) -> MediaType
pub fn frame_width(&self, plane: i32) -> i32
pub fn frame_height(&self, plane: i32) -> i32
Trait Implementations§
Source§impl Clone for VideoFrame
impl Clone for VideoFrame
Source§impl Debug for VideoFrame
impl Debug for VideoFrame
Source§impl Drop for VideoFrame
impl Drop for VideoFrame
Source§impl Frame for VideoFrame
impl Frame for VideoFrame
Source§impl Hash for VideoFrame
impl Hash for VideoFrame
Source§impl PartialEq for VideoFrame
impl PartialEq for VideoFrame
impl Eq for VideoFrame
impl StructuralPartialEq for VideoFrame
Auto Trait Implementations§
impl Freeze for VideoFrame
impl RefUnwindSafe for VideoFrame
impl !Send for VideoFrame
impl !Sync for VideoFrame
impl Unpin for VideoFrame
impl UnwindSafe for VideoFrame
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