Patent ID: 8139878

Claim:
A transmitting apparatus which transmits multiplexed data which is obtained by multiplexing coded audio data and coded picture data, said transmitting apparatus comprising: an audio processing unit configured to code audio data to obtain coded audio data; a picture coding unit configured to code picture data to obtain coded picture data; and a multiplexing unit configured to multiplex the coded audio data and the coded picture data to obtain multiplexed data, wherein said picture coding unit includes a block coding unit configured to code a block image to obtain coded block data, the block image being obtained by dividing a picture signal into plural blocks, generating a residual block image from the block image of the respective blocks and a predictive block image obtained by intra-picture prediction or inter-picture prediction, and coding, on a block basis, coefficients obtained by performing orthogonal transformation and quantization on the residual block image, wherein said block coding unit includes: a coefficient number coding unit configured to code a total number of non-zero coefficients included in a current block to be coded, each of the non-zero coefficients being a coefficient having a value other than “0”, wherein said coefficient number coding unit includes: a determining unit configured to determine a predictive value for the total number of non-zero coefficients included in the current block based on a total number of non-zero coefficients included in a coded block located on a periphery of the current block; a selecting unit configured to select a variable length code table based on the determined predictive value; and a variable length coding unit configured to perform variable length coding on the total number of the non-zero coefficients included in the current block, by using the selected variable length code table.