Moving picture coding and/or decoding systems, and variable-length coding and/or decoding system
First Claim
1. A computer-readable recording medium having stored therein a computer program for use in a variable length code, the program when executed by a computer, causing the computer to execute steps comprising:
- selecting a code word corresponding to an inputted source symbol from a code word table, the code word table storing code words having code length according to occurrence probability of a plurality of source symbols, the code words being assigned for the source symbols, the code words being capable of being decoded both in forward and backward directions and being formed so that delimiters of the code words are capable of being identified by a predetermined weight of the code words, the code word table associating the code words with the inputted source symbols;
assigning the selected code word to every synchronization interval; and
inserting a stuffing code capable of being decoded in backward direction to set a code length corresponding to the synchronization interval when code length of the code word assigned to the synchronization interval is less than code length of the synchronization interval.
0 Assignments
0 Petitions
Accused Products
Abstract
A coding and/or decoding system includes: a code-word table for storing therein a plurality of code words, which are capable of being decoded both in forward and backward directions and which are formed so that delimiters of the code words are capable of being identified by a predetermined weight of the code words, so that the code words correspond to different source symbols; an encoder for selecting code words corresponding to inputted source symbols from the code-word table; and a synchronization interval setting part for preparing coded data every predetermined interval using the code words selected by the encoder and for inserting stuffing codes capable of being decoded in the backward direction. Thus, it is possible to decrease useless bit patterns to enhance the coding efficiency by smaller amounts of calculation and storage, and to decode variable length codes both in the forward and backward directions even if the synchronization interval is set every interval using the stuffing bits.
29 Citations
9 Claims
-
1. A computer-readable recording medium having stored therein a computer program for use in a variable length code, the program when executed by a computer, causing the computer to execute steps comprising:
-
selecting a code word corresponding to an inputted source symbol from a code word table, the code word table storing code words having code length according to occurrence probability of a plurality of source symbols, the code words being assigned for the source symbols, the code words being capable of being decoded both in forward and backward directions and being formed so that delimiters of the code words are capable of being identified by a predetermined weight of the code words, the code word table associating the code words with the inputted source symbols; assigning the selected code word to every synchronization interval; and inserting a stuffing code capable of being decoded in backward direction to set a code length corresponding to the synchronization interval when code length of the code word assigned to the synchronization interval is less than code length of the synchronization interval.
-
-
2. A computer-readable recording medium having stored therein a computer program for use in a variable length code, the program, when executed by a computer, causing the computer to execute steps comprising:
-
selecting a code word corresponding to an inputted source symbol from a code word table storing code words having code length according to occurrence probability of a plurality of source symbols, the code words being assigned for the source symbols, the code words being capable of being decoded both in forward and backward directions, the code words being formed so that delimiters of the code words are capable of being identified by a predetermined weight of the code words, the code word table associating the code words with the inputted source symbols; generating coding data by using the selected code word; and inserting a stuffing code capable of being decoded in backward direction to the coding data to set a synchronization interval.
-
-
3. A computer-readable recording medium having stored therein a computer program for use in a variable length code, the program assigning code words having code length according to occurrence probability of a plurality of source symbols to the source symbols, the code words being capable of being decoded both in forward and backward directions and being formed so that delimiters of the code words are capable of being identified by a predetermined weight of the code words, the variable length code associating the code words with the source symbols and being obtained by outputting the code words as coding data, the computer program, when executed by the computer, causing the computer to execute steps comprising:
-
assigning the code word corresponding to the inputted source symbol to every synchronization interval; and inserting a stuffing bit capable of being decoded in backward direction to set code length of the code word corresponding to the synchronization interval when code length of the code word assigned to the synchronization interval is less than code length of the synchronization interval.
-
-
4. A computer-readable recording medium having stored therein a computer program for use in a variable length code, the program relating to code words having code length according to occurrence probability of a plurality of source symbols, the code words being capable of being decoded both in forward and backward directions and being formed so that delimiters of the code words are capable of being identified by a predetermined weight of the code words, the computer program, when executed by the computer, causing the computer to execute steps comprising:
-
generating coding data capable of being assigned to a predetermined synchronization interval by using the code word corresponding to the inputted source symbol; and inserting a stuffing code capable of being decoded in backward direction in the coding data to set the synchronization interval.
-
-
5. A computer-readable recording medium having stored therein a computer program for use in a variable length code, the program, when executed by the computer, causing the computer to assign code words having code length according to occurrence probability of a plurality of source symbols, the code words being capable of being decoded both in forward and backward directions and being formed so that delimiters of the code words are capable of being identified by a predetermined weight of the code words, the computer program, when executed by the computer, causing the computer to execute steps comprising:
-
generating coding data by using the code word corresponding to the inputted source symbol; assigning the generated coding data to a predetermined synchronization interval; and inserting a stuffing code capable of being decoded in backward direction in the synchronization interval to set code length corresponding to the synchronization interval.
-
-
6. A computer-readable recording medium having stored therein a computer program for use in a variable length code, the program, when executed by the computer, causing the computer to assign code words having code length according to occurrence probability of a plurality of source symbols to the source symbols, the code words being capable of being decoded both in forward and backward directions and being formed so that delimiters of the code words are capable of being identified by a predetermined weight of the code words, the variable being obtained by outputting the code word corresponding to the inputted source symbol as coding data, the computer program, when executed by the computer, causing the computer to execute steps comprising:
-
generating coding data by using the code word corresponding to the inputted source symbol; and adding to the coding data a stuffing code capable of being decoded in backward direction to set a synchronization interval.
-
-
7. A computer-readable recording medium having stored therein a computer program for use in a variable length code, the computer program when executed by the computer, causing the computer to execute steps comprising:
-
generating coding data by using a code word formed so that delimiters of the code words are identified by a predetermined weight of the code words, the code word being capable of being decoded in forward and backward directions; and setting a synchronization interval by adding to the coding data a stuffing code capable of being decoded in backward direction.
-
-
8. A computer-readable recording medium having therein a computer program for use in a variable length code, the program, when executed by the computer, causing the computer to assign code words having code length according to occurrence probability of a plurality of source symbols, the variable length code being obtained by outputting the code word corresponding to the inputted source symbol as coding data, the computer program, when executed by the computer, causing the computer to execute steps comprising:
-
reading out the code word corresponding to the source symbol inputted from a code word table storing the code words including at least the code words formed so that delimiters of the code words are identified by a weight predetermined in the code word, the code words being stored corresponding to the source symbols; and generating the coding data by using the read-out code word and inserting a stuffing code capable of being decoded in backward direction to set a synchronization interval.
-
-
9. A computer-readable recording medium having stored therein a computer program, the computer program, when executed by a computer, causing the computer to execute steps comprising:
-
reading out a variable length code corresponding to an input signal from a variable length code table in which variable length codes capable of being decoded in forward and backward directions are stored; generating coding data by using the read-out variable length code; and adding a stuffing code capable of being decoded at least in backward direction to the generated coding data to set a predetermined synchronization interval.
-
Specification