pub struct Video(pub Opened);
Tuple Fields§
§0: Opened
Implementations§
Source§impl Video
impl Video
pub fn width(&self) -> u32
pub fn height(&self) -> u32
pub fn format(&self) -> Pixel
pub fn has_b_frames(&self) -> bool
pub fn aspect_ratio(&self) -> Rational
pub fn color_space(&self) -> Space
pub fn color_range(&self) -> Range
pub fn color_primaries(&self) -> Primaries
pub fn color_transfer_characteristic(&self) -> TransferCharacteristic
pub fn chroma_location(&self) -> Location
pub fn set_slice_count(&mut self, value: usize)
pub fn set_slice_flags(&mut self, value: Flags)
pub fn skip_top(&mut self, value: usize)
pub fn skip_bottom(&mut self, value: usize)
pub fn references(&self) -> usize
pub fn set_field_order(&mut self, value: FieldOrder)
pub fn intra_dc_precision(&self) -> u8
pub fn max_bit_rate(&self) -> usize
Methods from Deref<Target = Opened>§
pub fn send_packet<P: Ref>(&mut self, packet: &P) -> Result<(), Error>
Sourcepub fn send_eof(&mut self) -> Result<(), Error>
pub fn send_eof(&mut self) -> Result<(), Error>
Sends a NULL packet to the decoder to signal end of stream and enter draining mode.
pub fn receive_frame(&mut self, frame: &mut Frame) -> Result<(), Error>
pub fn bit_rate(&self) -> usize
pub fn delay(&self) -> usize
pub fn profile(&self) -> Profile
pub fn frame_rate(&self) -> Option<Rational>
pub fn flush(&mut self)
Methods from Deref<Target = Context>§
pub unsafe fn as_ptr(&self) -> *const AVCodecContext
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVCodecContext
pub fn codec(&self) -> Option<Codec>
pub fn medium(&self) -> Type
pub fn set_flags(&mut self, value: Flags)
pub fn id(&self) -> Id
pub fn compliance(&mut self, value: Compliance)
pub fn debug(&mut self, value: Debug)
pub fn set_threading(&mut self, config: Config)
pub fn threading(&self) -> Config
pub fn set_parameters<P: AsPtr<AVCodecParameters>>( &mut self, parameters: P, ) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Video
impl !RefUnwindSafe for Video
impl Send for Video
impl !Sync for Video
impl Unpin for Video
impl !UnwindSafe for Video
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