Video encoding and decoding device using quantization matrix
Video encoding and decoding device using quantization matrix
 CN 109,194,958 B
 Filed: 01/21/2013
 Issued: 08/20/2021
 Est. Priority Date: 01/20/2012
 Status: Active Grant
First Claim
1. A video encoding device, comprising:
 a quantization module configured to determine a quantization matrix to be used in quantization and perform quantization; and
an entropy encoding module configured to encode information on the quantization matrix according to a prediction scheme of the quantization matrix,wherein the prediction scheme of the quantization matrix is any one of a prediction scheme between coefficients in the quantization matrix and a quantization matrix copy scheme,wherein the quantization matrix has a size of 4x4, 8x8, 16x16 or 32x32,wherein the flag information is set to 1 if the prediction scheme of the quantization matrix is determined as the prediction scheme between coefficients in the quantization matrix, is set to 0 if the prediction scheme of the quantization matrix is determined as the quantization matrix copy scheme,wherein when the prediction scheme of the quantization matrix is a quantization matrix copy scheme, the quantization matrix is determined based on the identification information,wherein the identification information is set to 0 if the quantization matrix is determined as a default quantization matrix, is not set to 0 if the identification information is used to determine a reference quantization matrix,wherein when the identification information is not 0, coefficient values of the quantization matrix are determined to be the same as coefficient values of a reference quantization matrix derived by using the identification information,wherein the quantization matrix is specified according to a prediction mode, a color component type and a size of a block using the quantization matrix,wherein the identification information indicates a difference between matrixID indicating a prediction mode used in a quantization matrix to be encoded and a color component type of the quantization matrix and RefMatxID indicating a prediction mode used in the reference quantization matrix and a color component type of the reference quantization matrix,wherein the quantization matrix (ScalingList [ sizeID ] [ matrixID ] [ i ]) to be encoded is determined from the reference quantization matrix (ScalingList [ sizeID ] [ RefMatrixId ] [ i ]) by;
ScalingList[sizeID][matrixID][i]＝
ScalingList[sizeID][RefMatrixId][i]。
Chinese PRB Reexamination
Abstract
The present invention relates to a video encoding apparatus, a video decoding apparatus, a method of storing a bitstream, and a computerreadable storage medium storing a bitstream. The video encoding device includes: a quantization module configured to determine a quantization matrix to be used in quantization and perform quantization; and an entropy encoding module configured to encode information on the quantization matrix according to a prediction scheme of the quantization matrix, wherein the prediction scheme of the quantization matrix is any one of a prediction scheme between coefficients in the quantization matrix and a quantization matrix copy scheme, wherein the quantization matrix has a size of 4 × 4, 8 × 8, 16 × 16, or 32 × 32.
6 Claims

1. A video encoding device, comprising:

a quantization module configured to determine a quantization matrix to be used in quantization and perform quantization; and an entropy encoding module configured to encode information on the quantization matrix according to a prediction scheme of the quantization matrix, wherein the prediction scheme of the quantization matrix is any one of a prediction scheme between coefficients in the quantization matrix and a quantization matrix copy scheme, wherein the quantization matrix has a size of 4x4, 8x8, 16x16 or 32x32, wherein the flag information is set to 1 if the prediction scheme of the quantization matrix is determined as the prediction scheme between coefficients in the quantization matrix, is set to 0 if the prediction scheme of the quantization matrix is determined as the quantization matrix copy scheme, wherein when the prediction scheme of the quantization matrix is a quantization matrix copy scheme, the quantization matrix is determined based on the identification information, wherein the identification information is set to 0 if the quantization matrix is determined as a default quantization matrix, is not set to 0 if the identification information is used to determine a reference quantization matrix, wherein when the identification information is not 0, coefficient values of the quantization matrix are determined to be the same as coefficient values of a reference quantization matrix derived by using the identification information, wherein the quantization matrix is specified according to a prediction mode, a color component type and a size of a block using the quantization matrix, wherein the identification information indicates a difference between matrixID indicating a prediction mode used in a quantization matrix to be encoded and a color component type of the quantization matrix and RefMatxID indicating a prediction mode used in the reference quantization matrix and a color component type of the reference quantization matrix, wherein the quantization matrix (ScalingList [ sizeID ] [ matrixID ] [ i ]) to be encoded is determined from the reference quantization matrix (ScalingList [ sizeID ] [ RefMatrixId ] [ i ]) by; ScalingList[sizeID][matrixID][i]＝
ScalingList[sizeID][RefMatrixId][i]。


2. the video coding device of claim 1, wherein the identification information is used for a first function of deriving a reference quantization matrix and a second function of indicating that a quantization matrix is determined as a default quantization matrix.

3. The video encoding apparatus of claim 1, wherein if a size of a quantization matrix is 16x16 or 32x32, the information on the quantization matrix includes a DC matrix coefficient when a prediction scheme of the quantization matrix is a prediction scheme between coefficients in the quantization matrix.

4. A video decoding apparatus, comprising:

an entropy decoding module configured to decode the quantization matrix according to a prediction scheme of the quantization matrix; and an inverse quantization module configured to perform inverse quantization using the quantization matrix, wherein the prediction scheme of the quantization matrix is any one of a prediction scheme between coefficients in the quantization matrix and a quantization matrix copy scheme, wherein the quantization matrix has a size of 4x4, 8x8, 16x16 or 32x32, wherein when the flag information is 1, the prediction scheme of the quantization matrix is determined as a prediction scheme between coefficients in the quantization matrix, and when the flag information is 0, the prediction scheme of the quantization matrix is determined as a quantization matrix copy scheme, wherein when the prediction scheme of the quantization matrix is a quantization matrix copy scheme, the quantization matrix is determined based on the identification information, wherein when the identification information is 0, the quantization matrix is determined as a default quantization matrix, and when the identification information is not 0, the identification information is used to determine a reference quantization matrix, wherein when the identification information is not 0, coefficient values of the quantization matrix are determined to be the same as coefficient values of a reference quantization matrix derived by using the identification information, wherein the quantization matrix is specified according to a prediction mode, a color component type and a size of a block using the quantization matrix, wherein the identification information indicates a difference between matrixID indicating a prediction mode used in a quantization matrix to be decoded and a color component type of the quantization matrix and RefMatxID indicating a prediction mode used in the reference quantization matrix and a color component type of the reference quantization matrix, wherein the quantization matrix (ScalingList [ sizeID ] [ matrixID ] [ i ]) to be decoded is determined from the reference quantization matrix (ScalingList [ sizeID ] [ RefMatrixId ] [ i ]) by; ScalingList[sizeID][matrixID][i]＝
ScalingList[sizeID][RefMatrixId][i]。


5. the video decoding apparatus of claim 4, wherein the identification information is used for a first function of deriving a reference quantization matrix and a second function of indicating that the quantization matrix is determined as a default quantization matrix.

6. The video decoding apparatus of claim 5, wherein when the prediction scheme of the quantization matrix is a prediction scheme between coefficients in the quantization matrix, the entropy decoding module decodes the quantization matrix using DC matrix coefficients if the size of the quantization matrix is 16x16 or 32x 32.
Specification(s)