Patent ID: 7541948

Claim:
A receiving apparatus which receives multiplexed data in which coded audio data and coded image data are multiplexed, said receiving apparatus comprising: a demultiplex unit configured to separate the coded audio data and the coded image data from the multiplexed data; an audio processing unit configured to decode the separated coded audio data; and an image decoding unit configured to decode the separated coded image data, wherein said image decoding unit includes: a variable-length decoding unit configured to subject the separated coded image data to a variable length decoding process, to obtain decoded transform coefficients of a block; an inverse transform unit configured to subject the decoded transform coefficients of the block to an inverse quantization process and an inverse transform process, to obtain a decoded block signal; wherein the variable-length decoding unit includes: a number counting unit operable to count a total number of undecoded zero-value coefficients, wherein the undecoded zero-value coefficient indicates a quantized transform coefficient having a zero value and not subjected to a decoding process for decoding a run value; a selecting unit operable to select a code table in accordance with information that represents the total number of undecoded zero-value coefficients; and a run value decoding unit operable to decode an undecoded run value by using the selected code table.