Skip to content
hw.dev
hw.dev/signal/reticle-h264-cabac-hardware-parser-tests-2026
SignalReticle

An H.264 Hardware Parser Adds CABAC With Its Test Corpus

Reticle adds a complex H.264 decoding stage together with streams that make its hardware behavior reproducible.

Thesis connection

A video block is easier to reuse when its difficult bitstream cases arrive as checked test data.

#fpga#eda#testing#verification
Read Original

Reticle's hardware H.264 parser now decodes context-adaptive binary arithmetic coding (CABAC), the compressed syntax used by the format's harder profiles, for intra-coded and predicted slices. The commit adds the 1,302-line decoder, generated probability tables, and support for 8 by 8 transforms and raw pulse-code modulation blocks.

The stronger signal is the evidence around the register-transfer level (RTL), the source code that describes the circuit. Reticle checked in streams covering two slice types, three initialization modes, multiple widths, 8 by 8 transforms, and raw blocks, plus expected token output for each. A table generator records where the 2,523 lines of constants came from, so a later change can rebuild them instead of asking a reviewer to trust a copied table.

Video hardware often fails in syntax combinations that a friendly demo file never reaches. Reticle is making those combinations part of the source tree before claiming a complete decoder. We would expect the next failures to come from long or damaged streams, which are the cases this focused corpus does not yet establish.