Moving picture coding and/or decoding systems, and variable-length coding and/or decoding system
First Claim
1. A variable-length coding system for assigning, to a plurality of source symbols, a code word of a code length corresponding to an occurrence probability of each of the source symbols, and for outputting coded data corresponding to an inputted source symbol, said variable-length coding system comprising:
- a code word table for storing a plurality of code words corresponding to respective source symbols, the code words being able to be decoded in either of a forward direction and a backward direction; and
coding means for selecting a code word corresponding to the inputted source symbol from said code word table if a code word corresponding to the inputted source symbol is stored in said code word table, and for generating a code word comprising an escape code including a prefix and a suffix added to a predetermined code representing the inputted source symbol when no code word corresponding to the inputted source symbol is stored in the code word table, the escape code being decodable in either of a forward and a backward direction, is added to the a prefix and a suffix of a fixed-length code, when the code word corresponding to the inputted source symbol has not been stored, and for outputting coded data corresponding to the inputted source symbol and comprising one of a selected code word and a generated code word.
1 Assignment
0 Petitions
Accused Products
Abstract
A moving picture coding and/or decoding system includes a encoder for coding input image data, a divider for dividing a code string supplied from the encoder, into a plurality of code string, a reorderer for arranging at least one of the plurality of code string in the forward direction from the head to the end, and at least one of the other code string in the backward direction from the head to the end. A variable-length coding system includes a code-word table for storing a plurality of code words so that the code words correspond to source symbols, and an encoder for selecting a code word corresponding to the source symbol inputted from the code-word table and for outputting the selected code word as coded data. The plurality of code words can be decoded in either of the forward and backward directions. The plurality of code words are configured so that the pause between codes can be detected by a predetermined weight of the code word (in the case of a binary code, the number of "1" or "0" in the code word).
-
Citations
8 Claims
-
1. A variable-length coding system for assigning, to a plurality of source symbols, a code word of a code length corresponding to an occurrence probability of each of the source symbols, and for outputting coded data corresponding to an inputted source symbol, said variable-length coding system comprising:
-
a code word table for storing a plurality of code words corresponding to respective source symbols, the code words being able to be decoded in either of a forward direction and a backward direction; and coding means for selecting a code word corresponding to the inputted source symbol from said code word table if a code word corresponding to the inputted source symbol is stored in said code word table, and for generating a code word comprising an escape code including a prefix and a suffix added to a predetermined code representing the inputted source symbol when no code word corresponding to the inputted source symbol is stored in the code word table, the escape code being decodable in either of a forward and a backward direction, is added to the a prefix and a suffix of a fixed-length code, when the code word corresponding to the inputted source symbol has not been stored, and for outputting coded data corresponding to the inputted source symbol and comprising one of a selected code word and a generated code word.
-
-
2. A variable-length coding system for assigning, to a plurality of source symbols, a code word of a code length corresponding to an occurrence probability of each of the source symbols, and for outputting coded data corresponding to an inputted source symbol, said variable-length coding system comprising:
-
a code word table for storing a plurality of code words corresponding to respective source symbols, the code words being able to be decoded in either of a forward direction and a backward direction; and coding means for selecting a code word corresponding to the inputted source symbol from said code word table if a code word corresponding to the inputted source symbol is stored in the code word table, and for generating a code word comprising an escape code including a prefix and a suffix added to a fixed length code representing the inputted source symbol when no code word corresponding to the inputted source symbol is stored in the code word table, the escape code word being decodable in either of a forward and a backward direction, and for outputting coded data corresponding to the inputted source symbol and comprising one of a selected code word and a generated code word.
-
-
3. A variable-length coding system for assigning to a plurality of source symbols, a code word of a code length corresponding to an occurrence probability of each of the source symbols, and for outputting coded data corresponding to an inputted source symbol, said variable-length coding system comprising:
-
a code word table for storing a plurality of code words corresponding to respective source symbols, the code words being able to be decoded in either of a forward direction and a backward direction; and coding means for selecting a code word corresponding to the inputted source symbol from the code word table if a code word corresponding to the inputted source symbol is stored in the code word table, and for generating a code word corresponding to the inputted source symbol comprising a variable-length escape code and a predetermined code corresponding to the inputted source symbols when no code word corresponding to the inputted source symbol is stored in the code word table, a variable-length escape code of a generated code word being able to be decoded in either of a forward direction and a backward direction, and for outputting coded data corresponding to the inputted source symbol and comprising one of a selected code word and a generated code word.
-
-
4. A variable-length coding system for assigning, to a plurality of source symbols, a code word of a code length corresponding to an occurrence probability of each of the source symbols, and for outputting coded data corresponding to an inputted source symbol, said variable-length coding system comprising:
-
a code word table for storing a plurality of code words corresponding to respective source symbols, the code words being able to be decoded in either of a forward direction and a backward direction; and coding means for selecting a code word corresponding to the inputted source symbol from the code word table if a code word corresponding to the inputted source symbol is stored in the code word table, and for generating a code word corresponding to the inputted source symbol comprising a variable-length escape code and a fixed-length code corresponding to the inputted source symbols when no code word corresponding to the inputted source symbol is stored in the code word table, a variable-length escape code of a generated code word being able to be decoded in either of a forward direction and a backward direction, and for outputting coded data corresponding to the inputted source symbol and comprising one of a selected code word and a generated code word.
-
-
5. A variable-length coding method, comprising:
-
selecting a code word corresponding to an inputted source symbol from a code word table storing a plurality of code words corresponding to respective source symbols if a code word corresponding to the inputted source symbol is stored in the code word table; generating a code word comprising an escape code including a prefix and a suffix added to a predetermined code representing the inputted source symbol when no code word corresponding to the inputted source symbol is stored in the code word table, the escape code being decodable in either of a forward and a backward direction; and outputting coded data corresponding to the inputted source symbol and comprising one of a selected code word and a generated code word.
-
-
6. A variable-length coding method, comprising:
-
selecting a code word corresponding to an inputted source symbol from a code word table storing a plurality of code words corresponding to respective source symbols if a code word corresponding to the inputted source symbol is stored in the code word table; generating a code word comprising an escape code including a prefix and a suffix added to a fixed length code representing the inputted source symbol when no code word corresponding to the inputted source symbol is stored in the code word table, the escape code being decodable in either of a forward and a backward direction; and outputting coded data corresponding to the inputted source symbol and comprising one of a selected code word and a generated code word.
-
-
7. A variable length coding method, comprising:
-
selecting a code word corresponding to the inputted source symbol from the code word table storing a plurality of code words corresponding to respective source symbols if a code word corresponding to the inputted source symbol is stored in the code word table; generating a code word corresponding to the inputted source symbol comprising a variable-length escape code and a predetermined code corresponding to the inputted source symbols when no code word corresponding to the inputted source symbol is stored in the code word table, a variable-length escape code of a generated code word being able to be decoded in either of a forward direction and a backward direction; and outputting coded data corresponding to the inputted source symbol and comprising one of a selected code word and a generated code word.
-
-
8. A variable length coding method, comprising:
-
selecting a code word corresponding to the inputted source symbol from the code word table storing a plurality of code words corresponding to respective source symbols if a code word corresponding to the inputted source symbol is stored in the code word table; generating a code word corresponding to the inputted source symbol comprising a variable-length escape code and a fixed-length code corresponding to the inputted source symbols when no code word corresponding to the inputted source symbol is stored in the code word table, the variable-length escape code being able to be decoded in either of a forward direction and a backward direction; and outputting coded data corresponding to the inputted source symbol and comprising one of a selected code word and a generated code word.
-
Specification