Expand description
Pure-Rust H.264 (Constrained Baseline) decoder.
Parses SPS/PPS/IDR-slice headers and reconstructs I_16x16 (DC-predicted) macroblocks: CAVLC residual decode, inverse transform (incl. luma/chroma DC Hadamard), intra DC prediction. The reconstruction path is shared with the encoder so the two agree bit-for-bit. Inter prediction and deblocking land in later generations behind this same API.
Structs§
- Decoder
- A Constrained Baseline H.264 decoder. Holds the most recent parameter sets and the previous decoded picture (the inter reference) across calls.
- Pps
- Parsed picture parameter set fields the decoder needs.
- Sps
- Parsed sequence parameter set fields the decoder needs.
Enums§
- Decode
Error - Decode errors.