Patent ID: 9628825
Date: 2017-04-18
CPC Classifications: H04N

Claim:
1. A video decoder for decoding a stream encoded with a video encoding system, the encoded stream being obtained by encoding an image of a plurality of divided blocks, the video decoder comprising: a parallel entropy decoding part configured to entropy decode the stream of the blocks contained in block lines, the stream of the blocks in each of the block lines being entropy decoded in parallel with the stream of the blocks in a corresponding one of the block lines, each of the block lines indicating an array of the blocks; a parallel QP prediction part configured to compute prediction values of quantization parameters of the blocks contained in the block lines, the prediction values of the blocks in each of the block lines being computed in parallel with the prediction values of the blocks in a corresponding one of the block lines; and a parallel decoding processing part configured to generate decoded pixels with respect to the blocks contained in the block lines, the decoded pixels with respect to the blocks in each of the block lines being generated in parallel with the decoded pixels with respect to the blocks in a corresponding one of the block lines, each of the decoded pixels being decoded by utilizing data decoded by the parallel entropy decoding part and the prediction value computed by the parallel QP prediction part, wherein when the prediction value computing processing is performed on N block lines in parallel, where the N is a value of two or greater, the parallel QP prediction part performs the prediction value computing processing such that a processing block in a (K−1)th block line, which is processed in parallel with a processing block in a Kth block line, is ahead of the processing block in the Kth block line by at least one block in a horizontal position; when the processing block in the Kth block line is at a beginning of the Kth block line, the parallel QP prediction part initializes a quantization parameter of a block processed immediately before the processing block in the Kth block line with a quantization parameter defined for a slice to which the processing block in the Kth block line belongs, and computes the prediction value of the quantization parameter of the processing block in the Kth block line based on the initialized quantization parameter; when the processing block in the Kth block line is at a position other than the beginning of the Kth block line, the parallel QP prediction part computes the prediction value of the quantization parameter of the processing block in the Kth block line based on a quantization parameter of a block that has already been processed in the Kth block line; and the parallel decoding processing part computes the quantization parameter of the processing block in the Kth block line based on the prediction value computed by the parallel QP prediction part, and performs deblocking filter processing for the processing block in the Kth block line by using the computed quantization parameter.