Patent ID: 8045821

Claim:
A coding method conversion apparatus which converts first coded data into second coded data, the first coded data being coded according to a first coding method, said apparatus comprising: a processor; a decoding unit configured to decode, using the processor, the first coded data; a deblocking filtering position determination unit configured to determine, as a deblocking filtering position on which deblocking filtering is to be performed, one of (a) a first boundary of blocks, each of the blocks of the first boundary of blocks having an orthogonal transform size used in coding the first coded data, and (b) a second boundary of blocks, each of the blocks of the second boundary of blocks having an orthogonal transform size to be used in re-coding the first coded data decoded by said decoding unit as the second coded data, and a coding unit configured to (i) perform the deblocking filtering on the deblocking filtering position, and (ii) re-code the first coded data decoded by said decoding unit, wherein, when the second coded data is to be less compressed than the first coded data, (i) said deblocking filtering position determination unit determines the first boundary of blocks as the deblocking filtering position when the orthogonal transform size of the blocks of the first boundary of blocks is smaller than the orthogonal transform size of the blocks of the second boundary of blocks, and (ii) said deblocking filtering position determination unit determines the second boundary of blocks as the deblocking filtering position when the orthogonal transform size of the blocks of the second boundary of blocks is smaller than the orthogonal transform size of the blocks of the first boundary of blocks.