摘要 |
PROBLEM TO BE SOLVED: To provide a variable length decoding device capable of decoding encoded data backwards and forwards so as to configure a variable length code with less wasteful bit patterns and a high encoding efficiency. SOLUTION: The variable length decoding device where a moving picture decoder decodes encoded data resulting from encoding an orthogonal transform coefficient produced by orthogonal transform in the unit of blocks by a moving picture encoder into a variable length code decodable both forwards and backwards includes: a forward decoder 209 that applies forward decoding to the variable length code; and a backward decoder 211 that applies backward decoding to the variable length code. When the forward decoder 209 decodes the variable length code, the end of blocks is discriminated by an appearance of a code word denoting the orthogonal transform coefficient of the end of blocks, and when the backward decoder 211 decodes the variable length code, the head of the blocks is discriminated by the code word representative of the last orthogonal transform coefficient of one preceding block. COPYRIGHT: (C)2003,JPO |