Patent ID: 8867855

Claim:
A method for managing content in a communication system, the method comprising: receiving at a server coded content from a first terminal apparatus, the coded content being coded by a picture coding method which codes a picture on a block basis; storing at the server the coded content; receiving at the server from a second terminal apparatus, a request for providing the stored coded content to the second terminal apparatus; providing from the server to the second terminal apparatus the stored coded content; and decoding the provided coded content at the second terminal apparatus, the provided coded content being decoded by a picture decoding method which decodes a coded picture on a block basis; wherein the picture coding method comprises: determining a predictive value for a total number of non-zero coefficients included in a current block to be coded based on a total number of non-zero coefficients included in a coded block located above the current block and a total number of non-zero coefficients included in a coded block located to the left of the current block, wherein each non-zero coefficient is a transform coefficient having a level value other than “0”; selecting a variable length code table based on the determined predictive value; and coding the total number of non-zero coefficients included in the current block by using the selected variable length code table, and wherein the picture decoding method comprises: determining a predictive value for a total number of non-zero coefficients included in a current block to be decoded based on a total number of non-zero coefficients included in a decoded block located above the current block and a total number of non-zero coefficients included in a decoded block located to the left of the current block, wherein each non-zero coefficient is a transform coefficient having a level value other than “0”; selecting a variable length code table based on the determined predictive value; and decoding coded data obtained by coding the total number of non-zero coefficients included in the current block by using the selected variable length code table.