Patent ID: 11729388

Abstract:
A method for decoding image data can include generating a prediction block based on a prediction mode; generating a quantization block by inversely scanning quantization coefficient information; generating a transform block by inversely quantizing the quantization block using a quantization parameter; generating a residual block by inversely transforming the transform block; generating a reconstructed picture by using the prediction block and the residual block; and applying a deblocking filter on the reconstructed picture, wherein it is determined whether the deblocking filtering is applied between two adjacent blocks P and Q containing samples p0 and q0 respectively by using a boundary quantization parameter when a boundary strength is not zero, the boundary quantization parameter is set to an average value of a quantization parameter of block P and a quantization parameter of block Q, and the quantization parameter is derived by adding a residual quantization parameter and a quantization parameter predictor.