Entropy encoding with a reduced memory size of code table
First Claim
Patent Images
1. An entropy data encoding method, comprising the steps of:
- compressing a code table containing original code words in terms of bits having first and second logic values, to produce a compressed code table, said step of compressing the code table comprising the substeps of;
detecting the number of continuing bits having said first logic value and continuing from the most significant bit for each of said original code words;
classifying said original code words into at least three types, according to the number of said continuing bits of said first logic value, including a type in which there is no such continuing bits of the first logic value from the most significant bit; and
compressing said original code words to create a compressed code table, by representing each of said original code words by a combination of;
a control code indicative of said type of said original code word;
code length data indicative of the length of said original code word; and
a partial code indicative of the content of said original code word from which said continuing bits of the first logic value are removed; and
restoring said original code word from said compressed code word by adding a predetermined number of continuing bits of said first logic value to said partial code word as higher order bits thereof, according to the type of said original code word as indicated by said control code.
1 Assignment
0 Petitions
Accused Products
Abstract
An entropy encoder includes: a memory for storing a code table in a compressed data format in which continuing digits "1" that continue successively from the most significant bit of a code word for a predetermined number of bits are removed, together with a control code indicative of the type of the original code word, and a code word restoring unit for restoring the original code word from the compressed code word by supplementing a predetermined number of digits "1" to the compressed code word according to the type of the original code word.
-
Citations
11 Claims
-
1. An entropy data encoding method, comprising the steps of:
-
compressing a code table containing original code words in terms of bits having first and second logic values, to produce a compressed code table, said step of compressing the code table comprising the substeps of; detecting the number of continuing bits having said first logic value and continuing from the most significant bit for each of said original code words; classifying said original code words into at least three types, according to the number of said continuing bits of said first logic value, including a type in which there is no such continuing bits of the first logic value from the most significant bit; and compressing said original code words to create a compressed code table, by representing each of said original code words by a combination of; a control code indicative of said type of said original code word; code length data indicative of the length of said original code word; and a partial code indicative of the content of said original code word from which said continuing bits of the first logic value are removed; and restoring said original code word from said compressed code word by adding a predetermined number of continuing bits of said first logic value to said partial code word as higher order bits thereof, according to the type of said original code word as indicated by said control code. - View Dependent Claims (2, 3)
-
-
4. An entropy encoding method, comprising the steps of:
-
restoring original code words from a compressed code table containing therein compressed code words, each of said original code words containing bits of first and second logic values, each of said compressed code words containing said compressed code words as a combination of; a control code indicative of a type of said original code word, said type being determined according to the number of bits having said first logic value and continuing from the most significant bit of said original code word; code length data indicative of the length of said original code word; and a partial code indicative of the content of said original code word from which said continuing bits of said first logic value are removed; said step of restoring said original code words comprising the steps of; adding a predetermined number of continuing bits of said first logic value to said partial code word as higher order bits thereof according to the type of said original code word as indicated by said control code. - View Dependent Claims (5, 6)
-
-
7. An encoder for encoding data according to an entropy encoding process, comprising:
a memory for storing original code words used for an entropy encoding process in a compressed form as compressed code words, each of said original code words including bits of first and second logic values, each of said compressed code words including; a control code indicative of one of at least three types of said original code word corresponding to said compressed code word, according to the number of bits having said first logic value and continuing from the most significant bit of said original code word, said three types including a type in which there is no such continuing bits of said first logic value from the most significant bit; a data length code indicating the length of said original code word; and a partial code representing a remaining part of said original code word; an address circuit supplied with input data for selecting a corresponding compressed code word in said memory; a data length extraction unit for extracting said data length code from said selected compressed code word; a control code extraction unit for extracting said control code from said selected compressed code word, said control code extraction unit outputting said control code as a part of said compressed data; and a partial code extraction unit supplied for extracting said partial code from said selected code word; and a code word restoring unit supplied with said control code and said partial code for restoring said original code word therefrom, said code word restoring unit restoring said original code word by adding a predetermined number of bits having said first logic value to said partial code according to the type of said original code word indicated by said control code, said predetermined number being determined by said control code. - View Dependent Claims (8, 9, 10, 11)
Specification