# US 2016/0261862 A1 · Fast rate-distortion optimized quantization

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

- Number: US 2016/0261862 A1
- Document ID: US20160261862A1
- Status: Published application
- Kind: A1
- Application number: 14/735,595
- Filed: 2015-06-10
- Published: 2016-09-08
- Earliest claimed: 2015-03-06
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Xin Zhao; Wei-Jung Chien; Xianglin Wang
- Web page: https://patentgrep.com/patent/US20160261862A1

## CPC

- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/124: Quantisation
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A system and method for applying Rate Distortion Optimized Quantization (RDOQ) is disclosed. In one example, there is provided a method that includes determining at least one prediction type and at least one partition type for use in encoding at least one block of video data. The method further includes applying a non-RDOQ quantization scheme to the at least one block of the video data. The non-RDOQ quantization scheme may be applied during the determination of the at least one prediction type and the at least one partition type. The method further includes applying an RDOQ quantization scheme to the at least one block upon determining the at least one prediction type and the at least one partition type.

## Claims

### Claim 1

An apparatus for applying Rate Distortion Optimized Quantization (RDOQ), comprising:
a memory configured to store a set of quantization schemes for use in encoding at least one block of video data, the set comprising an RDOQ quantization scheme and a non-RDOQ quantization scheme; and
a processor in communication with the memory and configured to:
determine at least one prediction type and at least one partition type for use in encoding the at least one block of video data;
apply the non-RDOQ quantization scheme to the at least one block of the video data during the determination of the at least one prediction type and the at least one partition type; and
apply the RDOQ quantization scheme to the at least one block upon determining the at least one prediction type and the at least one partition type.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the prediction type comprises at least one of a merge mode, Advanced Motion Vector Prediction (AMVP) mode, or an intra-prediction mode.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the partition type comprises at least one of a Coding Unit (CU), Transform Unit (TU), or Prediction Unit (PU).

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to determine the at least one prediction type and the at least one partition type via applying at least one prediction error criteria to the at least one block of video data.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the at least one prediction error criteria comprises at least one of Rate Distortion (R-D), Sum of Absolute Difference (SAD), or Sum of Squared Differences (SSD).

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to apply the RDOQ quantization scheme to the at least one block for the at least one prediction type and the at least one partition type.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to determine a best prediction type of the at least one prediction type and a best partition type of the at least one partition type during the determination of the at least one prediction type and the at least one partition type.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the processor is further configured to apply the RDOQ quantization scheme to the at least one block for only the best prediction type and the best partition type.

### Claim 9

A method for applying Rate Distortion Optimized Quantization (RDOQ), comprising:
determining at least one prediction type and at least one partition type for use in encoding at least one block of video data;
applying a non-RDOQ quantization scheme to the at least one block of the video data during the determination of the at least one prediction type and the at least one partition type; and
applying an RDOQ quantization scheme to the at least one block upon determining the at least one prediction type and the at least one partition type.

### Claim 10 (depends on 9)

The method of claim 9, wherein the prediction type comprises at least one of a merge mode, Advanced Motion Vector Prediction (AMVP) mode, or an intra-prediction mode.

### Claim 11 (depends on 9)

The method of claim 9, wherein the partition type comprises at least one of a Coding Unit (CU), Transform Unit (TU), or Prediction Unit (PU).

### Claim 12 (depends on 9)

The method of claim 9, further comprising determining the at least one prediction type and the at least one partition type via applying at least one prediction error criteria to the at least one block of video data.

### Claim 13 (depends on 12)

The method of claim 12, wherein the at least one prediction error criteria comprises at least one of Rate Distortion (R-D), Sum of Absolute Difference (SAD), or Sum of Squared Differences (SSD).

### Claim 14 (depends on 9)

The method of claim 9, further comprising applying the RDOQ quantization scheme to the at least one block for the at least one prediction type and the at least one partition type.

### Claim 15 (depends on 9)

The method of claim 9, further comprising determining a best prediction type of the at least one prediction type and a best partition type of the at least one partition type during the determination of the at least one prediction type and the at least one partition type.

### Claim 16 (depends on 15)

The method of claim 15, further comprising applying the RDOQ quantization scheme to the at least one block for only the best prediction type and the best partition type.

### Claim 17

A non-transitory computer readable storage medium having stored thereon instructions that, when executed, cause a processor of a device to:
determine at least one prediction type and at least one partition type for use in encoding at least one block of video data;
apply a non-RDOQ quantization scheme to the at least one block of the video data during the determination of the at least one prediction type and the at least one partition type; and
apply an RDOQ quantization scheme to the at least one block upon determining the at least one prediction type and the at least one partition type.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein the prediction type comprises at least one of a merge mode, Advanced Motion Vector Prediction (AMVP) mode, or an intra-prediction mode.

### Claim 19 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein the partition type comprises at least one of a Coding Unit (CU), Transform Unit (TU), or Prediction Unit (PU).

### Claim 20 (depends on 17)

The non-transitory computer readable storage medium of claim 17, further having stored thereon instructions that, when executed, cause the processor to determine the at least one prediction type and the at least one partition type via applying at least one prediction error criteria to the at least one block of video data.

### Claim 21 (depends on 20)

The non-transitory computer readable storage medium of claim 20, wherein the at least one prediction error criteria comprises at least one of Rate Distortion (R-D), Sum of Absolute Difference (SAD), or Sum of Squared Differences (SSD).

### Claim 22 (depends on 17)

The non-transitory computer readable storage medium of claim 17, further having stored thereon instructions that, when executed, cause the processor to determine a best prediction type of the at least one prediction type and a best partition type of the at least one partition type during the determination of the at least one prediction type and the at least one partition type.

### Claim 23 (depends on 22)

The non-transitory computer readable storage medium of claim 22, further having stored thereon instructions that, when executed, cause the processor to apply the RDOQ quantization scheme to the at least one block for only the best prediction type and the best partition type.

### Claim 24

A video coding device for applying Rate Distortion Optimized Quantization (RDOQ), comprising:
means for determining at least one prediction type and at least one partition type for use in encoding at least one block of video data;
means for applying a non-RDOQ quantization scheme to the at least one block of the video data during the determination of the at least one prediction type and the at least one partition type; and
means for applying an RDOQ quantization scheme to the at least one block upon determining the at least one prediction type and the at least one partition type.

### Claim 25 (depends on 24)

The video coding device of claim 24, wherein the prediction type comprises at least one of a merge mode, Advanced Motion Vector Prediction (AMVP) mode, or an intra-prediction mode.

### Claim 26 (depends on 24)

The video coding device of claim 24, wherein the partition type comprises at least one of a Coding Unit (CU), Transform Unit (TU), or Prediction Unit (PU).

### Claim 27 (depends on 24)

The video coding device of claim 24, further comprising means for determining the at least one prediction type and the at least one partition type via applying at least one prediction error criteria to the at least one block of video data.

### Claim 28 (depends on 27)

The video coding device of claim 27, wherein the at least one prediction error criteria comprises at least one of Rate Distortion (R-D), Sum of Absolute Difference (SAD), or Sum of Squared Differences (SSD).

### Claim 29 (depends on 24)

The video coding device of claim 24, further comprising means for determining a best prediction type of the at least one prediction type and a best partition type of the at least one partition type during the determination of the at least one prediction type and the at least one partition type.

### Claim 30 (depends on 29)

The video coding device of claim 29, further comprising means for applying the RDOQ quantization scheme to the at least one block for only the best prediction type and the best partition type.
