Abstract

In this paper, we propose an efficient memory allocation scheme for memory-constrained Huffman coding of multiple sources, which can be applied to many adaptive variable-length coding systems. The allocation of a given memory is performed in two stages. At the first stage, the iterative bisection algorithm based on the Lagrange optimization method is used to find a Lagrange allocation , which is either optimal or close to the optimal allocation. In the latter case, the Lagrange method does not fully allocate the given memory and a sequential allocation method is introduced as the second stage to allocate the remaining memory, which is performed in a greedy manner. To explain the proposed allocation scheme, we introduce a function, b ̂ (l) , which approximates the relation between the average bitrate b and the Huffman table size l , and discuss its properties. The use of this function considerably reduces the computational burden for memory allocation. We apply the proposed memory allocation scheme to memory-constrained conditional entropy coding of vector quantization indices for image compression. Simulations show that the proposed memory allocation scheme provides almost optimal performance, which is far better than can be achieved with conventional simple allocation methods.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.