The Optimality of AIFV Codes in the Class of $2$-bit Delay Decodable Codes
Abstract
AIFV (almost instantaneous fixed-to-variable length) codes are noiseless source codes that can attain a shorter average codeword length than Huffman codes by allowing a time-variant encoder with two code tables and a decoding delay of at most 2 bits. First, we consider a general class of noiseless source codes, called k-bit delay decodable codes, in which one allows a finite number of code tables and a decoding delay of at most k bits for k >= 0. Then we prove that AIFV codes achieve the optimal average codeword length in the 2-bit delay decodable codes class.
- Publication:
-
arXiv e-prints
- Pub Date:
- June 2023
- DOI:
- arXiv:
- arXiv:2306.09671
- Bibcode:
- 2023arXiv230609671H
- Keywords:
-
- Computer Science - Information Theory
- E-Print:
- arXiv admin note: substantial text overlap with arXiv:2306.07563