Patent ID: 9191666
Filing Date: 2015-11-17
Classification: H03M,H04N

Abstract:
1. A picture coding and decoding system which includes a picture coding apparatus which performs arithmetic coding on coefficients of frequency components on a block basis and a picture decoding apparatus which performs arithmetic decoding on a bit stream which is obtained by performing arithmetic coding on the coefficients of frequency components on a block basis, the coefficients of frequency components being generated by frequency transformation performed on picture data of a block which has a predetermined size of pixels, wherein said picture coding apparatus comprises: a coefficient scanning unit operable to scan the coefficients of a block in a predetermined scanning order starting at a high frequency component toward a low frequency component; a first converting unit operable to convert each absolute value of the coefficients into binary data; an arithmetic coding unit operable to perform arithmetic coding on a first bit and another bit of the binary data corresponding to each absolute value of the coefficients according to the predetermined scanning order by using a plurality of probability tables; and a first table switching unit operable to switch between the plurality of probability tables, from a current probability table for the first bit of the binary data corresponding to a first coefficient to be coded, to a new probability table for the first bit of the binary data corresponding to a second coefficient to be coded, based on a result of a comparison between an absolute value of the first coefficient to be coded and a predetermined threshold value, wherein, in the first table switching unit, the switching between the plurality of probability tables is performed in a predetermined one direction within each block such that each of the probability tables, which has been used for performing arithmetic coding on the first bit of the binary data corresponding to an already coded coefficient before switching to the new probability table, is not used within each block after switching to the new probability table, and the switching is not performed in the direction opposite to the predetermined one direction regardless of said result of the comparison, and wherein, within each block, if a predetermined one of the plurality of probability tables has been used to perform arithmetic coding, the switching between the plurality of probability tables is not performed regardless of said result of the comparison, and wherein said picture decoding apparatus comprises: an arithmetic decoding unit operable to perform arithmetic decoding on the bit stream to output a first bit and another bit of the binary data corresponding to each absolute value of the coefficients, on a block basis, according to a predetermined scanning order starting at a high frequency component toward a low frequency component by using a plurality of probability tables; a second table switching unit operable to switch between the plurality of probability tables, from a current probability table for the first bit of the binary data corresponding to a first coefficient to be decoded, to a new probability table for the first bit of the binary data corresponding to a second coefficient to be decoded, based on a result of a comparison between an absolute value of the first coefficient to be decoded and a predetermined threshold value; a second converting unit operable to convert the first bit and another bit of the binary data into each absolute value of the coefficients; and a coefficient arranging unit operable to arrange, on a block basis, the coefficients of a block into a two-dimensional array of frequency components, wherein, in the second table switching unit, the switching between the plurality of probability tables is performed in a predetermined one direction within each block such that each of the probability tables, which has been used for performing arithmetic decoding on the first bit of the binary data corresponding to an already decoded coefficient before switching to the new probability table, is not used within each block after switching to the new probability table, and the switching is not performed in the direction opposite to the predetermined one direction regardless of said result of the comparison, wherein, within each block, if a predetermined one of the plurality of probability tables has been used to perform arithmetic decoding, the switching between the plurality of probability tables is not performed regardless of said result of the comparison, and wherein, in both the first switching unit and the second switching unit, the switching to the new probability table is performed after a number of coded or decoded coefficients having an absolute value exceeding 1 becomes a non-zero value, and the switching between the plurality of probability tables is not performed after the switching to the new probability table.