Struct rsmpeg::avcodec::AVCodecContextRef [−][src]
pub struct AVCodecContextRef<'a> { /* fields omitted */ }
Implementations
impl<'a> AVCodecContextRef<'a>
[src]
impl<'a> AVCodecContextRef<'a>
[src]pub unsafe fn from_raw(raw: NonNull<AVCodecContext>) -> Self
[src]
pub unsafe fn from_raw(raw: NonNull<AVCodecContext>) -> Self
[src]Safety
This function should only be called when raw
is valid and can
be dropped. Please ensure its lifetime when used.
Methods from Deref<Target = AVCodecContext>
pub fn as_ptr(&self) -> *const AVCodecContext
[src]
pub fn extract_codecpar(&self) -> AVCodecParameters
[src]
pub fn extract_codecpar(&self) -> AVCodecParameters
[src]Get a filled AVCodecParameters
based on the values from current AVCodecContext
.
pub fn codec(&'ctx self) -> AVCodecRef<'ctx>
[src]
pub fn codec(&'ctx self) -> AVCodecRef<'ctx>
[src]Get a reference to the AVCodec
in current codec context.
Trait Implementations
impl<'a> Deref for AVCodecContextRef<'a>
[src]
impl<'a> Deref for AVCodecContextRef<'a>
[src]type Target = AVCodecContext
type Target = AVCodecContext
The resulting type after dereferencing.