# US 10,123,035 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,035 B2
- Document ID: US10123035B2
- Status: Granted
- Kind: B2
- Application number: 15/879,249
- Filed: 2018-01-24
- Published: 2018-05-31
- 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/US10123035B2

## 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 device configured to encode video data, the device including a generator configured to generate a prediction block of a current prediction unit using a reference index and a motion vector of the current prediction unit, and a residual block using a difference between the current prediction unit and the prediction block; a transformer configured to transform the residual block to generate a transform block; a quantizer configured to quantize coefficients of the transform block to generate a quantization block using a quantization parameter, wherein the quantizer generates the quantization block by selecting two effective quantization parameters that are available and exist among left, upper, and previous quantization parameters according to an order of priority levels set for the left, upper, and previous quantization parameter and using an average of the two effective quantization parameters; and an entropy-coder configured to entropy-code the quantization block using a scan pattern. Further, the motion vector is encoded using a motion vector predictor which is set equal to one of an effective spatial motion vector candidate and an effective temporal motion vector candidate, and when the quantized coefficients of the quantization block are divided into a plural of subset, a same scan pattern is applied to quantized coefficients of each subset.

## Claims

### Claim 1

A device configured to encode video data, the device comprising:
a generator configured to generate a prediction block of a current prediction unit using a reference index and a motion vector of the current prediction unit, and a residual block using a difference between the current prediction unit and the prediction block;
a transformer configured to transform the residual block to generate a transform block;
a quantizer configured to quantize coefficients of the transform block to generate a quantization block using a quantization parameter, wherein the quantizer generates the quantization block by selecting two effective quantization parameters that are available and exist among left, upper, and previous quantization parameters according to an order of priority levels set for the left, upper, and previous quantization parameter and using an average of the two effective quantization parameters; and
an entropy-coder configured to entropy-code the quantization block using a scan pattern,
wherein the motion vector is encoded using a motion vector predictor which is set equal to one of an effective spatial motion vector candidate and an effective temporal motion vector candidate, and
wherein, when the quantized coefficients of the quantization block are divided into a plural of subset, a same scan pattern is applied to quantized coefficients of each subset.

### Claim 2 (depends on 1)

The device of claim 1, wherein the scan pattern is a diagonal scan.

### Claim 3 (depends on 1)

The device of claim 1, wherein the quantizer is further configured to sequentially search the left, upper, and previous quantization parameters and select the two effective quantization parameters that are available and exist among the left, upper, and previous quantization parameters according to the order of priority levels, and
wherein the order of priority levels includes prioritizing the left, upper, and previous quantization parameters in a descending order of the left quantization parameter, the upper quantization parameter, and the previous quantization parameter.

### Claim 4

A method of encoding video data, the method comprising:
generating, via a generator, a prediction block of a current prediction unit using a reference index and a motion vector of the current prediction unit;
generating, via the generator, a residual block using a difference between the current prediction unit and the prediction block;
transforming, via a transformer, the residual block to generate a transform block;
quantizing, via a quantizer, coefficients of the transform block to generate a quantization block using a quantization parameter, wherein the quantizer generates the quantization block by selecting two effective quantization parameters that are available and exist among left, upper, and previous quantization parameters according to an order of priority levels set for the left, upper, and previous quantization parameters and using an average of the two effective quantization parameters; and
entropy-coding, via an entropy-coder, the quantization block using a scan pattern,
wherein the motion vector is encoded using a motion vector predictor which is set equal to one of an effective spatial motion vector candidate and an effective temporal motion vector candidate,
wherein the quantizing, via the quantizer, includes sequentially searching the left, upper, and previous quantization parameters and selecting the two effective quantization parameters that are available and exist among the left, upper, and previous quantization parameters according to the order of priority levels, and
wherein the order of priority levels includes prioritizing the left, upper, and previous quantization parameters in a descending order of the left quantization parameter, the upper quantization parameter, and the previous quantization parameter.
