Encoding method, encoding apparatus, decoding method, and decoding apparatus
AssigneeSony Corporation
InventorMakoto Noda
Life of this patent
Estimating the term…
Abstract
An encoding method is disclosed for use with an encoding apparatus for carrying out variable-length conversion encoding involving a look-ahead operation of at least either one information word or one code word upon encoding. The encoding method includes the step of performing conversion encoding in such a manner as to permit decoding of encoded words in units of a code word.
Claims16
An encoding method performed by an encoding apparatus for carrying out variable-length conversion encoding involving a look-ahead operation of at least either one information word or one code word upon encoding, said encoding method comprising:
- converting an information word to a temporary code word in accordance with a basic code conversion table which has information words associated with temporary code words therein, wherein each information word is converted to a temporary code word such that the maximum transition run of one bits at the beginning and at the end of said temporary code word is limited to two and that the maximum run length of zero bits at the beginning and at the end of said temporary code word is limited to between four and ten;
- and
- converting the temporary code word to a code word in accordance with a violation code conversion table constituted by code conversion rules which are prohibited by said basic code conversion table and which are used solely to convert either the temporary code word in effect at present or the temporary code word acquired earlier by said look-ahead operation.
An encoding apparatus for carrying out variable-length conversion encoding involving a look-ahead operation of at least either one information word or one code word upon encoding, said encoding apparatus comprising:
- first converting means for converting, in accordance with a basic code conversion table which has information words associated with temporary code words therein, each information word to a temporary code word such that the maximum transition run of one bits at the beginning and at the end of said temporary code word is limited to two and that the maximum run length of zero bits at the beginning and at the end of said temporary code word is limited to between four and ten;
- and
- second converting means for converting, in accordance with a violation code conversion table if the maximum run length of zero bits is at least seven at a connection between two temporary code words, selectively one of the two temporary code words of which the run length of zero bits either at the beginning or at the end is at least four, in such a manner that either the first or the last three bits of the selected temporary code word are converted from zero bits to one bits, said violation code conversion table being constituted by code conversion rules which are prohibited by said basic code conversion table and which are used solely to convert either the temporary code word in effect at present or the temporary code word acquired earlier by said look-ahead operation.
A decoding method performed by a decoding apparatus for decoding code words encoded through variable-length conversion encoding involving a look-ahead operation of at least either one information word or one code word upon encoding, said decoding method comprising:
- converting a code word to a temporary code word in accordance with a violation code conversion table constituted by code conversion rules which are prohibited by a basic code conversion table having information words associated with temporary code words therein and which permit conversion in units of a code word;
- and
- converting said temporary code word to an information word in accordance with said basic rule conversion table whereby the maximum transition run of one bits at the beginning and at the end of said temporary code word is limited to two and whereby the maximum run length of zero bits at the beginning and at the end of said temporary code word is limited to between four and ten.
A decoding apparatus for decoding code words encoded through variable-length conversion encoding involving a look-ahead operation of at least either one information word or one code word upon encoding, said decoding apparatus comprising:
- first decoding means for, if the transition run of one bits either at the beginning or at the end of said code word is three, converting either the first or the last three bits of said code word from one bits to zero bits in accordance with a violation code conversion table constituted by code conversion rules which are prohibited by a basic code conversion table having information words associated with temporary code words therein and which permit conversion in units of a code word;
- and
- second decoding means for converting a temporary code word to an information word in accordance with said basic code conversion table whereby the maximum transition run of one bits at the beginning and at the end of said temporary code word is limited to two and whereby the maximum run length of zero bits at the beginning and at the end of said temporary code word is limited to between four and ten.
An encoding apparatus for carrying out variable-length conversion encoding involving a look-ahead operation of at least either one information word or one code word upon encoding, said encoding apparatus comprising:
- a first converting section configured to convert, in accordance with a basic code conversion table which has information words associated with temporary code words therein, each information word to a temporary code word such that the maximum transition run of one bits at the beginning and at the end of said temporary code word is limited to two and that the maximum run length of zero bits at the beginning and at the end of said temporary code word is limited to between four and ten;
- and
- a second converting section configured to convert, in accordance with a violation code conversion table if the maximum run length of zero bits is at least seven at a connection between two temporary code words, selectively one of the two temporary code words of which the run length of zero bits either at the beginning or at the end is at least four, in such a manner that either the first or the last three bits of the selected temporary code word are converted from zero bits to one bits, said violation code conversion table being constituted by code conversion rules which are prohibited by said basic code conversion table and which are used solely to convert either the temporary code word in effect at present or the temporary code word acquired earlier by said look-ahead operation.
A decoding apparatus for decoding code words encoded through variable-length conversion encoding involving a look-ahead operation of at least either one information word or one code word upon encoding, said decoding apparatus comprising:
- a first decoding section configured, if the transition run of one bits either at the beginning or at the end of said code word is three, to convert either the first or the last three bits of said code word from one bits to zero bits in accordance with a violation code conversion table constituted by code conversion rules which are prohibited by a basic code conversion table having information words associated with temporary code words therein and which permit conversion in units of a code word;
- and
- a second decoding section configured to convert a temporary code word to an information word in accordance with said basic code conversion table whereby the maximum transition run of one bits at the beginning and at the end of said temporary code word is limited to two and whereby the maximum run length of zero bits at the beginning and at the end of said temporary code word is limited to between four and ten.
Dependencies are inferred from the claim text.