pub struct AVCodecRef<'a> { /* private fields */ }Implementations§
Methods from Deref<Target = AVCodec>§
pub fn as_ptr(&self) -> *const AVCodec
Sourcepub fn hw_config(&self, index: usize) -> Option<AVCodecHWConfig>
pub fn hw_config(&self, index: usize) -> Option<AVCodecHWConfig>
Retrieve supported hardware configurations for a codec.
Sourcepub fn supported_framerates(&'codec self) -> Option<&'codec [AVRational]>
pub fn supported_framerates(&'codec self) -> Option<&'codec [AVRational]>
Return supported framerates of this AVCodec.
Sourcepub fn pix_fmts(&'codec self) -> Option<&'codec [AVPixelFormat]>
pub fn pix_fmts(&'codec self) -> Option<&'codec [AVPixelFormat]>
Return supported pix_fmts of this AVCodec.
Sourcepub fn supported_samplerates(&'codec self) -> Option<&'codec [i32]>
pub fn supported_samplerates(&'codec self) -> Option<&'codec [i32]>
Return supported samplerates of this AVCodec.
Sourcepub fn sample_fmts(&'codec self) -> Option<&'codec [AVSampleFormat]>
pub fn sample_fmts(&'codec self) -> Option<&'codec [AVSampleFormat]>
Return supported sample_fmts of this AVCodec.
Trait Implementations§
Source§impl<'a> Deref for AVCodecRef<'a>
impl<'a> Deref for AVCodecRef<'a>
Source§impl<'a> Drop for AVCodecRef<'a>
impl<'a> Drop for AVCodecRef<'a>
impl<'a> Send for AVCodecRef<'a>
Auto Trait Implementations§
impl<'a> !Sync for AVCodecRef<'a>
impl<'a> Freeze for AVCodecRef<'a>
impl<'a> RefUnwindSafe for AVCodecRef<'a>
impl<'a> Unpin for AVCodecRef<'a>
impl<'a> UnsafeUnpin for AVCodecRef<'a>
impl<'a> UnwindSafe for AVCodecRef<'a>
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