pub struct Video(_);
Implementations
sourceimpl Video
impl Video
pub fn empty() -> Self
pub fn new(format: Pixel, width: u32, height: u32) -> Self
pub fn format(&self) -> Pixel
pub fn set_format(&mut self, value: Pixel)
pub fn kind(&self) -> Type
pub fn set_kind(&mut self, value: Type)
pub fn is_interlaced(&self) -> bool
pub fn is_top_first(&self) -> bool
pub fn has_palette_changed(&self) -> bool
pub fn width(&self) -> u32
pub fn set_width(&mut self, value: u32)
pub fn height(&self) -> u32
pub fn set_height(&mut self, value: u32)
pub fn color_space(&self) -> Space
pub fn set_color_space(&mut self, value: Space)
pub fn color_range(&self) -> Range
pub fn set_color_range(&mut self, value: Range)
pub fn color_primaries(&self) -> Primaries
pub fn set_color_primaries(&mut self, value: Primaries)
pub fn color_transfer_characteristic(&self) -> TransferCharacteristic
pub fn set_color_transfer_characteristic(
&mut self,
value: TransferCharacteristic
)
pub fn chroma_location(&self) -> Location
pub fn aspect_ratio(&self) -> Rational
pub fn coded_number(&self) -> usize
pub fn display_number(&self) -> usize
pub fn repeat(&self) -> f64
pub fn stride(&self, index: usize) -> usize
pub fn planes(&self) -> usize
pub fn plane_width(&self, index: usize) -> u32
pub fn plane_height(&self, index: usize) -> u32
pub fn plane<T: Component>(&self, index: usize) -> &[T]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
pub fn plane_mut<T: Component>(&mut self, index: usize) -> &mut [T]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
pub fn data(&self, index: usize) -> &[u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
pub fn data_mut(&mut self, index: usize) -> &mut [u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
Methods from Deref<Target = Frame>
pub unsafe fn as_ptr(&self) -> *const AVFrame
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVFrame
pub unsafe fn is_empty(&self) -> bool
pub fn is_key(&self) -> bool
pub fn is_corrupt(&self) -> bool
pub fn packet(&self) -> Packet
pub fn pts(&self) -> Option<i64>
pub fn set_pts(&mut self, value: Option<i64>)
pub fn timestamp(&self) -> Option<i64>
pub fn quality(&self) -> usize
pub fn flags(&self) -> Flags
pub fn metadata(&self) -> DictionaryRef<'_>
pub fn set_metadata(&mut self, value: Dictionary<'_>)
pub fn side_data(&self, kind: Type) -> Option<SideData<'_>>
pub fn new_side_data(&mut self, kind: Type, size: usize) -> Option<SideData<'_>>
pub fn remove_side_data(&mut self, kind: Type)
Trait Implementations
impl Eq for Video
impl StructuralEq for Video
impl StructuralPartialEq for Video
Auto Trait Implementations
impl RefUnwindSafe for Video
impl Send for Video
impl Sync for Video
impl Unpin for Video
impl UnwindSafe for Video
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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