Skip to main content

Module cabac_test

Module cabac_test 

Source

Structs§

Cabac
The CABAC decoder: arithmetic engine reading MSB-first from the RBSP plus the 460 adaptive context models.

Functions§

b_inter_shape
B mb_type 1..=21 → (partition layout, MV-prediction mode 0/1/2 for 16×16/ 16×8/8×16, per-partition prediction direction) (spec Table 7-14). Test-only view of [b_inter_layout] for the ENCODER crate: (mvmode, p0, p1) with pred coded 1 = L0, 2 = L1, 3 = Bi — the encoder’s b_part_mb_type is the exact inverse, so a round-trip over 4..=21 gates the two tables against drift.