← Back to the chapter · Previous detail · Next detail →

Technical detail · Data Encoding and Codecs

Compression stages and reference frames

A useful compression review separates the stages. Time-frequency or spatial decomposition exposes structure such as DCT, wavelet, short-time Fourier, or similar transform coefficients. Quantization is the lossy step that spends fewer bits on less important detail. Entropy coding, such as Huffman-style or arithmetic coding, is the lossless packing step that assigns shorter codes to frequent symbols. For audio this may depend on psychoacoustic masking; for images, JPEG-style paths commonly convert RGB display values into luma/chroma channels before discarding or subsampling detail. The deployment record should say whether the lost detail matters for inspection, alarm review, or later audit.

For video, the review should also name the prediction structure rather than only the codec brand. An I-frame is self-contained enough to become a seek point or recovery point. P-frames predict from earlier pictures, and B-frames can use past and future references, which improves compression but can add buffering and delay. Motion estimation, block size, transform choice, quantization, run-length coding, and entropy coding all affect the same deployment question: whether the retained stream still supports the inspection, control, or audit task. If the product needs low-latency viewing, short recovery after packet loss, or frame-accurate evidence, the GOP length and reference-frame policy belong in the release record.

← Back to the chapter · Previous detail · Next detail →