# US 2022/0279182 A1 · Method of deriving quantization parameter with differental and predicted quantization parameters

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0279182 A1
- Document ID: US20220279182A1
- Status: Published application
- Kind: A1
- Application number: 17/682,914
- Filed: 2022-02-28
- Published: 2022-09-01
- Earliest claimed: 2011-11-04
- Assignees: Gensquare LLC
- Applicants: Gensquare LLC
- Inventors: Soo Mi OH; Moonock YANG
- Web page: https://patentgrep.com/patent/US20220279182A1

## CPC

- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/124: Quantisation
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/593: involving spatial prediction techniques
- H04N 19/61: in combination with predictive coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for encoding an image using intra prediction can include determining an intra prediction mode of a current block; generating a mode group indicator and a prediction mode index; constructing a most probable mode (MPM) group including three intra prediction modes determined using a left and an above intra prediction mode of the current block; determining whether all reference pixels of the current block are available; generating reference pixels if one or more reference pixels of the current block are unavailable; adaptively filtering the reference pixels based on the intra prediction mode and the size of the current block, wherein if the size of the current block is 4×4, the reference pixels are not filtered, and if the size of the current block is larger than 4×4, the number of intra prediction mode where the reference pixels are filtered increases as the current block becomes larger; generating the prediction block using the reference pixels.

## Claims

### Claim 1

A method for encoding an image using intra prediction, the method comprising:
determining an intra prediction mode of a current block;
generating a mode group indicator and a prediction mode index;
constructing a most probable mode (MPM) group including three intra prediction modes determined using a left intra prediction mode and an above intra prediction mode of the current block;
determining whether all reference pixels of the current block are available;
generating reference pixels if one or more reference pixels of the current block are unavailable;
adaptively filtering the reference pixels based on the intra prediction mode and the size of the current block, wherein if the size of the current block is 4×4, the reference pixels are not filtered, and if the size of the current block is larger than 4×4, the number of intra prediction mode where the reference pixels are filtered increases as the size of the current block becomes larger;
generating the prediction block using the reference pixels based on the restored intra prediction mode;
generating a residual block of the current block using the prediction block;
generating a quantization block by transforming and quantizing the residual block; and
determining a scan pattern based on the intra prediction mode and the size of a transform unit and applying the scan pattern on the quantization block,
wherein when only one of a left intra prediction mode and an above intra prediction mode is available, the MPM group includes the available intra prediction mode and two additional intra prediction modes, and if the available intra prediction mode is one of two non-directional intra prediction modes, the two additional intra prediction modes are the other of the two non-directional intra prediction modes and a vertical mode, and if the available intra prediction mode is one of directional intra prediction modes, the two additional intra prediction modes are two non-directional intra prediction modes, and
wherein when the intra prediction mode of the current block is not belong to the MPM group, the mode group indicator does not indicate the MPM group, and the prediction mode index is constructed such that the intra prediction mode of the current block is specified by performing the ordered steps of:
increasing a value of the prediction mode index by one if the prediction mode index is equal to or greater than a first intra prediction mode of the MPM group;
increasing the value of the prediction mode index by one if the prediction mode index is equal to or greater than a second intra prediction mode of the MPM group;
increasing the value of the prediction mode index by one if the prediction mode index is equal to or greater than a third intra prediction mode of the MPM group; and
specifying the value of the prediction mode index as the mode number of the intra prediction mode of the current block, and
wherein the two non-directional intra prediction modes are a DC mode and a planar mode.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first intra prediction mode is an intra prediction mode having lowest mode number, the second intra prediction mode is an intra prediction mode having middle mode number and the third intra prediction mode is an intra prediction mode having highest mode number, and
wherein the three intra prediction modes are reordered in the order of mode number to determine the first intra prediction mode, the second intra prediction mode and the third intra prediction mode.

### Claim 3 (depends on 1)

The method of claim 1, wherein when the left intra prediction mode is equal to the above intra prediction mode and the left intra prediction mode is a non-directional intra prediction mode, the MPM group includes the two non-directional intra prediction modes and a vertical mode.

### Claim 4 (depends on 1)

The method of claim 1, wherein if the size of the current block is 4×4, the reference pixels are not filtered, and if the size of the current block is larger than 4×4, the number of intra prediction mode where the reference pixels are filtered increases as the size of the current block becomes larger.

### Claim 5 (depends on 1)

The method of claim 1, wherein in the vertical mode, the prediction pixels of the prediction block which are adjacent to the left reference pixels are generated by using a vertical reference pixel and a variance between a corner pixel and a left neighboring pixel.

### Claim 6

A non-transitory computer-readable storage medium storing encoded video information, comprising:
a bit stream stored in the medium, the bit stream comprising entropy-encoded information on a mode group indicator and a prediction mode index for generating a prediction block, and quantized coefficients,
wherein, when an intra prediction mode of a current block belongs to a most probable mode (MPM) group, the mode group indicator indicates the MPM group and the prediction mode index indicates the intra prediction mode of the current block in the MPM group, and when the intra prediction mode of the current block does not belong to the MPM group, the mode group indicator does not indicate the MPM group and the intra prediction mode of the current block is specified by using the prediction mode index and intra prediction modes of the MPM group,
wherein the MPM group includes three intra prediction modes determined using a left and an above intra prediction modes of the current block, and when the left intra prediction mode is equal to the above intra prediction mode and the left intra prediction mode is a non-directional intra prediction mode, the MPM group includes a vertical mode and two non-directional intra prediction modes of a DC mode and a planar mode,
wherein a prediction block of the current block is generated by using the intra prediction mode of the current block and reference pixels, and if there is unavailable reference pixel, a reference pixel is generated,
wherein the reference pixels are adaptively filtered based on the intra prediction mode and the size of the current block, wherein if the size of the current block is 4×4, the reference pixels are not filtered, and if the size of the current block is larger than 4×4, the number of intra prediction mode where the reference pixels are filtered increases as the size of the current block becomes larger, and
wherein a residual block is generated by inversely scanning the quantized coefficients based on an inverse scan pattern which is determined according to the intra prediction mode and the size of a transform unit and by inversely quantizing and inversely transforming the inversely scanned coefficients.

### Claim 7 (depends on 6)

The non-transitory computer-readable storage medium of claim 6, wherein the first intra prediction mode is an intra prediction mode having lowest mode number, the second intra prediction mode is an intra prediction mode having middle mode number and the third intra prediction mode is an intra prediction mode having highest mode number, and
wherein the three intra prediction modes are reordered in the order of mode number to determine the first intra prediction mode, the second intra prediction mode and the third intra prediction mode.

### Claim 8 (depends on 6)

The non-transitory computer-readable storage medium of claim 6, wherein when the left intra prediction mode is equal to the above intra prediction mode and the left intra prediction mode is a non-directional intra prediction mode, the MPM group includes the two non-directional intra prediction modes and a vertical mode.

### Claim 9 (depends on 6)

The non-transitory computer-readable storage medium of claim 6, wherein if the size of the current block is 4×4, the reference pixels are not filtered, and if the size of the current block is larger than 4×4, the number of intra prediction mode where the reference pixels are filtered increases as the size of the current block becomes larger.

### Claim 10 (depends on 6)

The non-transitory computer-readable storage medium of claim 6, wherein in the vertical mode, the prediction pixels of the prediction block which are adjacent to the left reference pixels are generated by using a vertical reference pixel and a variance between a corner pixel and a left neighboring pixel.
