[−][src]Struct ffmpeg_next::util::frame::video::Video
Implementations
impl Video[src]
pub unsafe fn wrap(ptr: *mut AVFrame) -> Self[src]
pub unsafe fn alloc(&mut self, format: Pixel, width: u32, height: u32)[src]
impl Video[src]
pub fn empty() -> Self[src]
pub fn new(format: Pixel, width: u32, height: u32) -> Self[src]
pub fn format(&self) -> Pixel[src]
pub fn set_format(&mut self, value: Pixel)[src]
pub fn kind(&self) -> Type[src]
pub fn set_kind(&mut self, value: Type)[src]
pub fn is_interlaced(&self) -> bool[src]
pub fn is_top_first(&self) -> bool[src]
pub fn has_palette_changed(&self) -> bool[src]
pub fn width(&self) -> u32[src]
pub fn set_width(&mut self, value: u32)[src]
pub fn height(&self) -> u32[src]
pub fn set_height(&mut self, value: u32)[src]
pub fn color_space(&self) -> Space[src]
pub fn set_color_space(&mut self, value: Space)[src]
pub fn color_range(&self) -> Range[src]
pub fn set_color_range(&mut self, value: Range)[src]
pub fn color_primaries(&self) -> Primaries[src]
pub fn set_color_primaries(&mut self, value: Primaries)[src]
pub fn color_transfer_characteristic(&self) -> TransferCharacteristic[src]
pub fn set_color_transfer_characteristic(
&mut self,
value: TransferCharacteristic
)[src]
&mut self,
value: TransferCharacteristic
)
pub fn chroma_location(&self) -> Location[src]
pub fn aspect_ratio(&self) -> Rational[src]
pub fn coded_number(&self) -> usize[src]
pub fn display_number(&self) -> usize[src]
pub fn repeat(&self) -> f64[src]
pub fn stride(&self, index: usize) -> usize[src]
pub fn planes(&self) -> usize[src]
pub fn plane_width(&self, index: usize) -> u32[src]
pub fn plane_height(&self, index: usize) -> u32[src]
pub fn plane<T: Component>(&self, index: usize) -> &[T][src]
pub fn plane_mut<T: Component>(&mut self, index: usize) -> &mut [T][src]
pub fn data(&self, index: usize) -> &[u8][src]
pub fn data_mut(&mut self, index: usize) -> &mut [u8][src]
impl Video[src]
pub fn scaler(
&self,
width: u32,
height: u32,
flags: Flags
) -> Result<Context, Error>[src]
&self,
width: u32,
height: u32,
flags: Flags
) -> Result<Context, Error>
pub fn converter(&self, format: Pixel) -> Result<Context, Error>[src]
Methods from Deref<Target = Frame>
pub unsafe fn as_ptr(&self) -> *const AVFrame[src]
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVFrame[src]
pub unsafe fn is_empty(&self) -> bool[src]
pub fn is_key(&self) -> bool[src]
pub fn is_corrupt(&self) -> bool[src]
pub fn packet(&self) -> Packet[src]
pub fn pts(&self) -> Option<i64>[src]
pub fn set_pts(&mut self, value: Option<i64>)[src]
pub fn timestamp(&self) -> Option<i64>[src]
pub fn quality(&self) -> usize[src]
pub fn flags(&self) -> Flags[src]
pub fn metadata(&self) -> DictionaryRef<'_>[src]
pub fn set_metadata(&mut self, value: Dictionary<'_>)[src]
pub fn side_data(&self, kind: Type) -> Option<SideData<'_>>[src]
pub fn new_side_data(&mut self, kind: Type, size: usize) -> Option<SideData<'_>>[src]
pub fn remove_side_data(&mut self, kind: Type)[src]
Trait Implementations
impl Clone for Video[src]
pub fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)[src]
impl Deref for Video[src]
impl DerefMut for Video[src]
impl Eq for Video[src]
impl From<Frame> for Video[src]
impl PartialEq<Video> for Video[src]
impl StructuralEq for Video[src]
impl StructuralPartialEq for Video[src]
Auto Trait Implementations
impl RefUnwindSafe for Video[src]
impl Send for Video[src]
impl Sync for Video[src]
impl Unpin for Video[src]
impl UnwindSafe for Video[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,