Expand description
CRC-32 MPEG-2 — Annex C of ETSI EN 300 468, Annex A of ETSI TS 102 773.
Polynomial 0x04C1_1DB7, initial shift-register value 0xFFFF_FFFF,
MSB-first bit order, no reflection, no final XOR. Used by every PSI/SI
section trailer and every T2-MI packet trailer.
Constants§
- POLY
- CRC-32 MPEG-2 generator polynomial.
- TABLE
- Precomputed 256-entry forward table, built at compile time — zero runtime initialisation cost.
Functions§
- compute
- Compute CRC-32 MPEG-2 over
bytes. Initial shift-register value is the canonical0xFFFF_FFFF.