Expand description
This module implements a lightweight and safe decoder interface over libavcodec
. It is
designed to concentrate all calls to unsafe methods in one place, while providing the same
low-level access as the libavcodec functions do.
Structs§
- Wrapper around
AVBuffer
andAVBufferRef
. - Lightweight abstraction over libavcodec’s
AVCodec
struct, allowing the query the capabilities of supported codecs and opening a session to work with them. - A codec context from which decoding can be performed.
- Lightweight abstraction over libavcodec’s
av_codec_iterate
function that can be used to enumerate all the supported codecs. - An error returned by a low-level libavcodec function.
- An owned AVFrame, i.e. one decoded frame from libavcodec that can be converted into a destination buffer.
- A builder for AVFrame that allows specifying buffers and image metadata.
- An encoded input packet that can be submitted to
AvCodecContext::try_send_packet
. - Simple wrapper over
AVPixelFormat
that provides helpful methods. - Lightweight abstraction over the array of supported pixel formats for a given codec.
- Simple wrapper over
AVProfile
that provides helpful methods. - Lightweight abstraction over the array of supported profiles for a given codec.
- A builder to create a
AvCodecContext
suitable for decoding. - Dimensions of a frame, used in AvCodecContext and AvFrame.
- A builder to create a
AvCodecContext
suitable for encoding. - A descriptor describing a subslice of
buffers
inAvFrameBuilder::build_owned
that represents a plane’s image data.
Enums§
Traits§
- Trait for types that can be used as data provider for a
AVBuffer
.