oxideav-codec
Codec traits + registry for the
oxideav pure-Rust media
framework. Every per-format codec crate (MP3, AAC, H.264, GIF, …)
implements Decoder and/or Encoder and registers itself via a
CodecImplementation; the aggregator builds one CodecRegistry with
the union of every enabled feature.
Decoder—send_packet→receive_frame, plusflush(EOS drain) andreset(state wipe after seek, added in 0.0.4).Encoder—send_frame→receive_packet, plusflush.CodecCapabilities— per-impl flags (lossless, intra-only, accepted pixel formats, supported sample rates, priority) so registries can pick the right implementation for a given request.CodecRegistry— factory lookup byCodecId, with fallback when the first-choice implementation refuses the input.
Zero C dependencies. Zero FFI.
Usage
[]
= "0.0"
Typical pattern in a codec crate:
License
MIT — see LICENSE.