Struct rsmpeg::avcodec::AVCodecContext [−][src]
pub struct AVCodecContext { /* fields omitted */ }
Implementations
Create a new AVCodecContext
instance, allocate private data and
initialize defaults for the given AVCodec
.
Initialize the AVCodecContext
.
dict: A AVDictionary
filled with AVCodecContext
and AVCodec
private options. Function returns a AVDictionary
filled with
options that were not found if given dictionary. It can usually be
ignored.
Trying to push a packet to current decoding_context(AVCodecContext
).
Trying to pull a frame from current decoding_context(AVCodecContext
).
Trying to push a frame to current encoding_context(AVCodecContext
).
Trying to pull a packet from current encoding_context(AVCodecContext
).
Fill the codec context based on the values from the supplied codec parameters.
Get a filled AVCodecParameters
based on the values from current AVCodecContext
.
Is hardware accelaration enabled in this codec context.
Get a reference to the AVCodec
in current codec context.
Trait Implementations
type Target = AVCodecContext
type Target = AVCodecContext
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for AVCodecContext
impl !Send for AVCodecContext
impl !Sync for AVCodecContext
impl Unpin for AVCodecContext
impl UnwindSafe for AVCodecContext