Apparatus for variable-length coding and variable-length-decoding using a plurality of Huffman coding tables
First Claim
1. An apparatus for variable-length-coding input symbols representing a data block using a plurality of variable-length-code tables, the apparatus comprising:
- N variable-length-code tables each having a respective symbol-codeword association different from one another according to associated statistics of said symbols;
N variable-length coders, respectively connected to one of said N variable-length-code tables, for variable-length-coding said symbols having a predetermined block data unit using a corresponding one of said N variable-length-code tables, thereby generating a plurality of codewords;
N buffers, respectively connected to an output terminal of one of said N variable-length coders, for storing corresponding said codewords generated by said one of said N variable-length coders;
optimum table determining means for outputting table information representing the respective one of said N variable-length code tables producing a minimum amount of data for said block data unit on the basis of an amount of respective data of the codewords generated by each of said N variable-length coders; and
means for outputting respective said codewords stored in a respective one of said buffers, in response to the table information generated by said optimum table determining means.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus for variable-length-coding input symbols using a plurality of variable-length-code tables includes N variable-length-code tables each having a symbol-codeword association different from the others according to statistics regarding the symbols and a variable-length-coding device for coding the input symbols according to each of the variable-length-code tables for every block in a predetermined block data unit, for generating codewords, and for providing both table information representing each of the variable-length-code tables utilized in generating the respective codewords and a control signal indicating that variable-length-coding to a predetermined block data unit has been completed. The apparatus also includes buffers which store the codewords generated by the variable-length-coding device, an optimum table determining device receiving the output codewords for controlling the buffer so as to output codewords with a minimum amount of data for the block data unit, for supplying the table information from the variable-length-coding device and for providing table selection information representing a variable-length-code table producing the minimum amount of data for an input block data unit. The apparatus further includes a first switching circuit which receives table selection information and codewords and respectively outputs data in response to the output control signal. The apparatus advantageously can improve data compression efficiency. A complementary decoder, which can be used in building a communication system, is also described.
-
Citations
13 Claims
-
1. An apparatus for variable-length-coding input symbols representing a data block using a plurality of variable-length-code tables, the apparatus comprising:
-
N variable-length-code tables each having a respective symbol-codeword association different from one another according to associated statistics of said symbols; N variable-length coders, respectively connected to one of said N variable-length-code tables, for variable-length-coding said symbols having a predetermined block data unit using a corresponding one of said N variable-length-code tables, thereby generating a plurality of codewords; N buffers, respectively connected to an output terminal of one of said N variable-length coders, for storing corresponding said codewords generated by said one of said N variable-length coders; optimum table determining means for outputting table information representing the respective one of said N variable-length code tables producing a minimum amount of data for said block data unit on the basis of an amount of respective data of the codewords generated by each of said N variable-length coders; and means for outputting respective said codewords stored in a respective one of said buffers, in response to the table information generated by said optimum table determining means. - View Dependent Claims (2, 3)
-
-
4. An apparatus for variable-length-coding input symbols representing a data block using a plurality of variable-length-code tables, the apparatus comprising:
-
N variable-length-code tables each having a respective symbol-codeword association different from one another according to associated statistics of said symbols, wherein each of said N variable-length code tables includes Huffman codes; variable-length-coding means for variable-length-coding said symbols according to respective ones of said N variable-length-code tables for every data block having a predetermined block data unit, for generating codewords, and for producing both table information representing each of said N variable-length-code tables utilized in generating respective codewords and a control signal indicating that variable-length-coding of said block data unit has been completed; buffers for storing respective codewords generated by said variable-length-coding means; optimum table determining means receiving respective codewords from said variable-length-coding means for controlling said buffers so as to output respective said codewords with a minimum amount of data representing said block data unit, and for supplying table information from said variable-length-coding means and outputting table selection information representing a selected one of said N variable-length-code tables with a minimum amount of data for said block data unit; and first switching means for receiving and outputting said table selection information from said optimum table determining means and respective codewords output from said buffers in response to said control signal. - View Dependent Claims (5, 6, 7, 8, 9, 10)
-
-
11. A communication system comprising:
-
means for generating a plurality of output codewords and corresponding table selection information from a plurality of input symbols representing a data block, said generating means further comprising; N variable-length-code tables each having a symbol-codeword association different from all other of said tables according to statistics of said symbols; N variable-length coders, respectively connected to one of said N variable-length-code tables, for variable-length-coding said symbols in a predetermined block data unit using a corresponding one of said N variable-length-code tables and for generating the respective codewords; N buffers, respectively connected to output terminals of each of said variable-length coders, for storing said respective codewords generated by respective ones of said N variable-length coders; optimum table determining means for generating said table selection information representing one of said N variable-length code tables producing a minimum amount of data corresponding to said block data unit based on an amount of each data of the respective codewords generated by each associated one of said variable-length coders; and means for providing respective codewords stored in a selected one of said buffers as said output codewords in response to said table selection information generated by said optimum table determining means; means serially connected to said generating means for transmitting said output codewords and said table selection information; and means serially connected to said transmitting means for decoding said output codewords responsive to said table selection information, said decoding means further comprising; variable-length decoding means for decoding said output codewords using a selected one of M variable-length-code tables; means for storing said M variable-length-decode tables corresponding to said N variable-length-code tables; and means receiving said table selection information for selecting and supplying said selected one of said M variable-length-decode tables to said variable-length-decoding means.
-
-
12. A communication system comprising:
-
means for generating a plurality of output codewords and corresponding table selection information from a plurality of input symbols representing a data block, said generating means further comprising; N variable-length-code tables having symbol-codeword association different from each other according to statistics of the symbols; variable-length-coding means for variable-length-coding said symbols according to all of said variable-length-code tables for every block in a predetermined block data unit, for generating codewords, and for producing both table information representing each of said variable-length-code tables utilized in generating respective said codewords and a control signal indicating that completion of variable-length-coding of said block data unit; a plurality of buffers for storing selected codewords generated by said variable-length-coding means; optimum table determining means for receiving said codewords from said variable-length-coding means and controlling said buffers so as to generate said output codewords having a minimum amount of data for said block data unit for supplying table information from said variable-length-coding means as table selection information representing a respective one of said variable-length-code tables producing said minimum amount of data for said block data unit; and switching means for receiving said table selection information from said optimum table determining means and respective output codewords from a serially connected one of said buffers; means serially connected to said generating means for transmitting said output codewords and said table selection information; and means serially connected to said transmitting means for decoding said output codewords responsive to said table selection information, said decoding means further comprising; variable-length decoding means for decoding said output codewords using a selected one of M variable-length-code tables; means for storing said M variable-length-decode tables corresponding to said N variable-length-code tables; and means receiving said table selection information for selecting and supplying said selected one of said M variable-length-decode tables to said variable-length-decoding means.
-
-
13. A decoder, comprising:
-
receiving means for receiving codewords generated by a variable-length coder using one of N variable-length-code tables and table selection information corresponding to said one of said N variable-length-code tables, said codewords each having a minimum amount of data among a plurality of codewords generated based on said N variable-length code tables; and decoding means for decoding said codewords responsive to said table selection information, said decoding means further comprising; variable-length decoding means for decoding said codewords using a selected one of M variable-length-decode tables; means for storing said M variable-length-decode tables corresponding to said N variable-length-code tables; and means for selecting and supplying said selected one of said M variable-length-decode tables to said variable-length-decoding means, based on said table selection information.
-
Specification