Patent ID: 8879858

Claim:
A system for bit-packing compressed image data, the compressed image data comprising bits in each of a plurality of sub-bands, the system comprising: a plurality of sub-band state registers, each sub-band state register corresponding to one of the plurality of sub-bands and configured to store bits of the compressed image data from the corresponding sub-band; an output data bus configured to output image data and comprising a data bus width; and a bit packer configured to: receive a stream of bits of the compressed image data; concatenate the bits of the received stream of bits with bits stored in a sub-band state register, the bits of the received stream of bits and the bits stored in the sub-band state register corresponding to a same sub-band; store the concatenated bits in the sub-band state register responsive to a length of the concatenated bits being less than the data bus width; and output a number of concatenated bits equal to the data bus width via the output data bus responsive to the length of the concatenated bits being greater than or equal to the data bus width.