# US 10,123,032 B2 · Method for generating prediction block in AMVP mode

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

- Number: US 10,123,032 B2
- Document ID: US10123032B2
- Status: Granted
- Kind: B2
- Application number: 15/708,526
- Filed: 2017-09-19
- Published: 2018-01-11
- Granted: 2018-11-06
- Earliest claimed: 2011-08-29
- Assignees: Ibex Pt Holdings Co., Ltd.
- Applicants: Ibex Pt Holdings Co., Ltd.
- Inventors: Kwangje Kim; Hyunoh Oh
- Web page: https://patentgrep.com/patent/US10123032B2

## CPC

- H04N 19/51: Motion estimation or motion compensation
- H04N 19/124: Quantisation
- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/198: {including smoothing of a sequence of encoding parameters, e.g. by averaging, by choice of the maximum, minimum or median value}
- H04N 19/52: by predictive encoding
- H04N 19/593: involving spatial prediction techniques
- H04N 19/61: in combination with predictive coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of encoding an image in a merge mode, the method including determining motion information of a current prediction unit, and generating a prediction block using the motion information; generating a residual block using an original block and the prediction block, transforming the residual block to generating a transformed block, quantizing the transformed block using a quantization parameter to generate a quantized block, and scanning the quantized block to entropy-code the quantized block; and encoding the motion information using effective spatial and temporal merge candidates of the current prediction unit. In addition, a motion vector of the temporal merge candidate is a motion vector of a temporal merge candidate within a temporal merge candidate picture, and the quantization parameter is encoded using an average of two effective quantization parameters among a left quantization parameter, an upper quantization parameter and a previous quantization parameter of a current coding unit, also when the quantized block is larger than a predetermined size, the quantized block is divided into a plurality of subblocks to be scanned, and a scan pattern for scanning the plurality of subblocks is the same as a scan pattern for scanning quantized coefficients within each subblock. Further, a scanning scheme for scanning the quantized coefficients is determined according to an intra-prediction mode and a size of a transform unit.

## Claims

### Claim 1

A method of encoding an image in a merge mode, the method comprising:
determining motion information of a current prediction unit, and generating a prediction block using the motion information;
generating a residual block using an original block and the prediction block, transforming the residual block to generating a transformed block, quantizing the transformed block using a quantization parameter to generate a quantized block, and scanning the quantized block to entropy-code the quantized block; and
encoding the motion information using effective spatial and temporal merge candidates of the current prediction unit,
wherein a motion vector of the temporal merge candidate is a motion vector of a temporal merge candidate within a temporal merge candidate picture, and the quantization parameter is encoded using an average of two effective quantization parameters among a left quantization parameter, an upper quantization parameter and a previous quantization parameter of a current coding unit,
wherein when the quantized block is larger than a predetermined size, the quantized block is divided into a plurality of subblocks to be scanned, and a scan pattern for scanning the plurality of subblocks is the same as a scan pattern for scanning quantized coefficients within each subblock, and
wherein a scanning scheme for scanning the quantized coefficients is determined according to an intra-prediction mode and a size of a transform unit.

### Claim 2 (depends on 1)

The method of claim 1, wherein the plurality of subblocks and the quantized coefficients are scanned in a reverse direction.

### Claim 3 (depends on 1)

The method of claim 1, wherein the temporal merge candidate picture is determined according to a slice type.

### Claim 4 (depends on 3)

The method of claim 3, wherein the temporal merge candidate block is a first effective block when a first candidate block and a second candidate block are retrieved in this order.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first candidate block is a bottom-left block adjacent to a block corresponding to the current prediction unit within the temporal merge candidate picture, and the second candidate block is a block including a upper-left pixel of a center of the block corresponding to the current prediction unit within the temporal merge candidate picture.

### Claim 6 (depends on 1)

The method of claim 1, wherein, if only one of the left quantization parameter, the upper quantization parameter and the previous quantization parameter is effective, the quantization parameter of the current coding unit is encoded using the effective quantization parameter.
