# US 2011/0255603 A1 · Method and apparatus for rate distortion optimisation

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

- Number: US 2011/0255603 A1
- Document ID: US20110255603A1
- Status: Published application
- Kind: A1
- Application number: 13/140,958
- Filed: 2008-12-18
- Published: 2011-10-20
- Earliest claimed: 2008-12-18
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Anthony Dencher
- Web page: https://patentgrep.com/patent/US20110255603A1

## CPC

- H04N 19/42: characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation (H04N19/635 takes precedence)
- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/19: using optimisation based on Lagrange multipliers
- H04N 19/196: being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters (processing of motion vectors H04N19/513)
- H04N 19/61: in combination with predictive coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

There is provided a method of optimising Rate Distortion Optimisation candidate assessment in hardware apparatus, comprising determining which Rate Distortion Optimisation candidates out of aplurality of candidates are separately processable, determining a processing delay of critical portions of candidate assessment hardware, determining a rule set governing how the separately processable candidates may be ordered for processing, determining an optimised processing order for processing the separately processable candidate assessments, dependent on the processing delay of critical portions of the candidate assessment hardware and the determined rule set, and processing the candidates according to the determined processing order. There is also provided an apparatus for carrying out the improved Rate Distortion Optimisation method.

## Claims

### Claim 1

A method of optimising Rate Distortion Optimisation candidate assessment in hardware apparatus, comprising: determining which Rate Distortion Optimisation candidates out of a plurality of candidates are separately processable; determining a processing delay of critical portions of candidate assessment hardware; determining a rule set governing how the separately processable candidates may be ordered for processing; determining an optimised processing order for processing the separately processable candidate assessments, dependent on the processing delay of critical portions of the candidate assessment hardware and the determined rule set; and processing the candidates according to the determined processing order.

### Claim 2 (depends on 1)

The method of claim 1, wherein the critical portions of candidate processing hardware are: a Rate Distortion Optimisation Best Candidate Decision Block; a Motion Vector Predictor Calculation Block; and a Sum and Langrangian Multiplication Block.

### Claim 3 (depends on 1)

The method of claim 1, wherein the rule set is dependent on the number of candidates being processed during Rate Distortion Optimisation.

### Claim 4 (depends on 1)

The method of claim 1, wherein an input video resolution is
108Oi, and wherein the separately processable candidate assessments comprise:
A. 16×8 partition 0×candidates 0-7;
B. 16×8 partition 1×candidates 0-7;
C. 8×16 partition 0×candidates 0-7; D. 8×16 partition 1×candidates 0-7;
E. 8×8 partition 0×candidates 0-8;
F. 8×8 partition 1×candidates 0-8;
G. 8×8 partition 2×candidates 0-8; H. 8×8 partition 3×candidates 0-8;
I. 16×16 MB×candidates 0-2;
J. 16×16 MB×candidates 3-4;
K. 16×16 MB×candidates 5-6;
L. 16×16 MB×candidates 7-8;
M. Best 16×8 partitions as complete MB, Best 8×16 partitions as complete MB, Best 8×8 partitions as complete MB; and wherein the rule set for ordering the separately processable candidates comprises:
B>A+1;D>C+1;
F>E+1 ;
G>F+1;
H>G+1;
J>I; K>J;
L>K; and
M is last.

### Claim 5 (depends on 1)

The method of claim 1, wherein an input video resolution is 108Op, and wherein the separately processable candidate assessments comprise:
A. 16×8 partition 0×candidates 0-2;
B. 16×8 partition 1×candidates 0-2;
C. 8×16 partition 0×candidates 0-2;
D. 8×16 partition 1×candidates 0-2; E. 8×8 partition 0×candidates 0-3;
F. 8×8 partition 1×candidates 0-3;
G. 8×8 partition 2×candidates 0-3; H. 8×8 partition 3×candidates 0-3; I. 16×16 MB×candidates 0-1 ; J. 16×16 MB×candidates 2-3;
K. Best 16×8 partitions as complete MB, Best 8×16 partitions as complete MB, Best 8×8 partitions as complete MB;
and wherein the rule set for ordering the separately processable candidates comprises:
B>A+1;
D>C+1;
F>E+1;
G>F+1;
H>G+1;
J>I; K is last.

### Claim 6 (depends on 1)

The method of claim 1, wherein an input video resolution is SDTV, and wherein the separately processable candidate assessments comprise:
A. 16×8 partition 0×candidates 0-7;
B. 8×16 partition 0×candidates 0-7;
C. 16×8 partition 1×candidates 0-7;
D. 8×16 partition 1×candidates 0-7; E. 16×16 MB×candidates 0-2;
F. 8×8 partition 0×candidates 0-32;
G. 16×16 MB×candidates 3-4;
H. 8×8 partition 1×candidates 0-32;
I. 16×16 MB×candidates 5-6; J. 8×8 partition 2×candidates 0-32;
K. 16×16 MB×candidates 7-8;
L. 8×8 partition 3×candidates 0-32;
M. Best 16×8 partitions as complete MB, Best 8×16 partitions as complete MB, Best 8×8 partitions as complete MB;
and wherein the rule set for ordering the separately processable candidates comprises:
B>A+1;
D>C+1;
F>E+1; G>F+1;
H>G+1;
J>I;
K>J;
L>K;
M is last.

### Claim 7 (depends on 1)

The method of claim 1 wherein a plurality of the separately processable candidate assessments comprises a single logical set of candidate assessments, and the method further comprises temporarily storing intermediate results from a one of the plurality of separately processable candidate assessments in the single logical set of candidate assessments for use by another one of the plurality of separately processable candidate assessments in the single logical set of candidate assessments, in logical order.

### Claim 8 (depends on 1)

Apparatus for Rate Distortion Optimisation processing adapted to carry out the method of claim 1.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the apparatus is a video encoder.

### Claim 10 (depends on 1)

The method of claim 1, wherein the apparatus is pipelined.
