Structs§
- Audio
Drain - Packets and metadata emitted while draining an audio encoder.
- Audio
Encoder Config - Backend-neutral audio encoder configuration.
- Audio
Encoder Format - Audio format accepted by an audio encoder.
- Audio
Gapless - Gapless audio metadata produced when an encoder is drained.
- Cancellation
Token - A cheap cloneable cancellation signal shared with a running codec operation.
- Decode
Statistics - Observable counters for validating cache and decoder reuse behavior.
- Decoded
Video Frame - One normalized decoder output, independent of backend-private image types.
- Encoded
Sample - One encoded access unit with exact decode and presentation timing.
- Encoded
Video Sample - One owned compressed sample in decode order with its presentation identity.
- Encoder
Config - Codec and sample-entry information needed to declare an MP4 track.
- Exact
Frame Reader - Presentation-indexed exact-frame access over decode-order compressed samples.
- Sample
Dependency - Dependency information written to the MP4 sample dependency table.
- Video
Decoder Config - Backend-neutral video decoder configuration.
- Video
Encoder Config - Backend-neutral video encoder configuration.
- Video
Encoder Format - Video format accepted by a video encoder.
Enums§
- Codec
Implementation - The implementation class selected by a codec factory.
- Codec
Profile - A normalized codec profile that can be compared across backend implementations.
- Codec
Support - The result of querying a factory with a complete normalized configuration.
- Hardware
Preference - Whether a caller permits or requires a hardware codec implementation.
- Seek
- What a constant-time
ExactFrameReader::seekcould answer with. - Track
Kind - The kind of media carried by an encoded track.
Constants§
- SEEK_
LATENCY_ BUDGET - The longest a seek to any position of any track may take.
Traits§
- Audio
Encoder - Backend-neutral audio encoder contract.
- Audio
Encoder Factory - Discovers and creates audio encoders using the normalized capability model,
the audio counterpart to
VideoEncoderFactory. - Seek
Preview Source - Already-decoded pictures spread over a track, which a seek may answer from.
- Video
Decoder - A stateful video decoder that may retain reference and reorder state.
- Video
Decoder Factory - Discovers and creates video decoders without exposing backend-specific types.
- Video
Encoder - Backend-neutral video encoder contract.
- Video
Encoder Factory - Discovers and creates video encoders using the normalized capability model.
Functions§
- uncompressed_
video_ decoder_ factory - Returns the portable, software-only uncompressed Gray8 decoder backend.
Type Aliases§
- Encoder
Future - A non-
Sendencoder future that works on native and single-threaded WASM.