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§
- AvBuffer
- Wrapper around
AVBufferandAVBufferRef. - AvCodec
- Lightweight abstraction over libavcodec’s
AVCodecstruct, allowing the query the capabilities of supported codecs and opening a session to work with them. - AvCodec
Context - A codec context from which decoding can be performed.
- AvCodec
Iterator - Lightweight abstraction over libavcodec’s
av_codec_iteratefunction that can be used to enumerate all the supported codecs. - AvError
- An error returned by a low-level libavcodec function.
- AvFrame
- An owned AVFrame, i.e. one decoded frame from libavcodec that can be converted into a destination buffer.
- AvFrame
Builder - A builder for AVFrame that allows specifying buffers and image metadata.
- AvPacket
- An encoded input packet that can be submitted to
AvCodecContext::try_send_packet. - AvPixel
Format - Simple wrapper over
AVPixelFormatthat provides helpful methods. - AvPixel
Format Iterator - Lightweight abstraction over the array of supported pixel formats for a given codec.
- AvProfile
- Simple wrapper over
AVProfilethat provides helpful methods. - AvProfile
Iterator - Lightweight abstraction over the array of supported profiles for a given codec.
- Decoder
Context Builder - A builder to create a
AvCodecContextsuitable for decoding. - Dimensions
- Dimensions of a frame, used in AvCodecContext and AvFrame.
- Encoder
Context Builder - A builder to create a
AvCodecContextsuitable for encoding. - FromAV
Pixel Format Error - Plane
Descriptor - A descriptor describing a subslice of
buffersinAvFrameBuilder::build_ownedthat represents a plane’s image data.
Enums§
Traits§
- AvBuffer
Source - Trait for types that can be used as data provider for a
AVBuffer.