# US 2008/0152014 A1 · Method and apparatus for encoding and decoding of video streams

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

- Number: US 2008/0152014 A1
- Document ID: US20080152014A1
- Status: Published application
- Kind: A1
- Application number: 11/956,565
- Filed: 2007-12-14
- Published: 2008-06-26
- Earliest claimed: 2006-12-21
- Assignees: On Demand Microelectronics
- Inventors: Ralf Michael Schreier; Florian Seitner
- Web page: https://patentgrep.com/patent/US20080152014A1

## CPC

- H04N 19/172: the region being a picture, frame or field
- H04N 19/436: using parallelised computational arrangements
- H04N 19/61: in combination with predictive coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method and processor to encode and/or decode a video stream exploiting frame-level parallelism. Frames of the video stream are encoded and/or decoded using M processing units where each processing unit processes one different frame at a time. Each processing unit writes the reconstructed frame to a frame buffer. A processing unit can start the encoding and/or decoding process once sufficient data of the previous reconstructed frame are available.

## Claims

### Claim 1

A video encoding apparatus, comprising:
a divider circuit configured to divide an input video stream into a plurality of single frames;
a plurality of encoding units coupled to the divider circuit, each being configured to receive at least one of the plurality of single frames;
a plurality of shared information memory units, each being coupled to at least one of the plurality of encoding units, each of the plurality of encoding units being configured to write a reconstructed frame to the at least one of the plurality of shared information memory units, each of the plurality of shared information memory units being configured to distribute a frame reproduced by a coupled encoding unit to at least one other encoding unit;
a control unit coupled to the plurality of encoding units and configured to determine which frame of a sequence of frames is processed by which of the plurality of encoding units; and
a stream merging unit configured to assemble the coded signals produced by the encoding units into at least one output stream.

### Claim 2 (depends on 1)

The video encoding apparatus of claim 1 wherein the control unit is further configured to determine when each of the plurality of encoding units start encoding a frame of the sequence of frames, the control unit being further configured to determine when a sufficient amount of data of the reconstructed frame is available for encoding in subsequent encoding units in each of the plurality of shared information memory units.

### Claim 3 (depends on 1)

The video encoding apparatus of claim 1 wherein each of the plurality of encoding units is arranged to operate at a clock rate inversely proportional to a total number of the plurality of encoding units.

### Claim 4 (depends on 1)

The video encoding apparatus of claim 1, wherein at least one of the plurality of encoding units is configured to stall an encoding process when the control unit sends a suspend signal to the at least one encoding unit, or to continue the encoding process when the control unit sends a continue signal to the at least one encoding unit.

### Claim 5 (depends on 4)

The video encoding apparatus of claim 4, wherein:
the control unit sends the suspend signal to the at least one encoding unit when an entirety of a reference frame area is not available in one of the plurality of information memory units; and
the control unit sends the continue signal when the entirety of the reference frame area is available in the one of the plurality of information memory units.

### Claim 6 (depends on 5)

The video encoding apparatus of claim 5, wherein the reference frame is a reconstructed frame.

### Claim 7 (depends on 1)

The video encoding apparatus of claim 1, wherein each encoding unit of the plurality of encoding units is configured to stall an encoding process until sufficient data of an input frame are available.

### Claim 8 (depends on 1)

The video encoding apparatus of claim 1, wherein each of the plurality of shared information memory units is configured to store at least a reference frame area of a reconstructed reference frame.

### Claim 9

A method of encoding a video sequence exploiting frame-level parallelism, the method comprising:
partitioning a video sequence into a plurality of frames;
distributing the plurality of frames among a plurality of encoding units;
encoding the plurality of frames according to a picture type assigned to each of the plurality of frames;
assigning at least one shared information memory unit from a plurality of shared information memory units to each of the plurality of encoding units;
storing reconstructed frames created by the plurality of encoding units to at least one of the plurality of shared information memory units;
controlling which frame of the plurality of frames is processed by a specific one of the plurality of encoding units; and
determining when a sufficient amount of data of the reconstructed frames are available for encoding in each of the information memory units.

### Claim 10 (depends on 9)

The method of claim 9, further comprising operating each of the plurality of encoding units at a clock rate inversely proportional to a total number of the plurality of encoding units.

### Claim 11 (depends on 9)

The method of claim 9 further comprising controlling when each of the plurality of encoding units begin encoding a frame of the sequence of frames.

### Claim 12 (depends on 9)

The method of claim 9 further comprising assembling coded signals produced by the plurality of encoding units into at least one output stream.

### Claim 13 (depends on 9)

The method of claim 9, further comprising stalling an encoding process of at least one of the plurality of encoding units after receiving a suspend signal.

### Claim 14 (depends on 9)

The method of claim 9 further comprising continuing an encoding process of at least one of the plurality of encoding units after receiving a continue signal.

### Claim 15 (depends on 9)

The method of claim 9, further comprising sending a suspend signal to at least one of the plurality of encoding units when an entirety of a reference frame area is not available in the information memory unit and sending a continue signal at a time when the entirety of the reference frame area is available in the information memory unit.

### Claim 16 (depends on 9)

The method of claim 9 further comprising at least one encoding unit of the plurality of encoding units stalling the encoding process until sufficient data of an input frame are available.

### Claim 17 (depends on 9)

The method of claim 9 further comprising selecting the shared information memory unit to be capable of storing at least the reference frame area of the reconstructed reference frame.

### Claim 18

A video decoding apparatus coupled to receive an encoded input video stream having a sequence of coded frames, the apparatus comprising:
a divider circuit configured to divide the input video stream into a plurality of single coded frames and transfer at least one of the plurality of single coded frames to a plurality of decoding units;
a plurality of shared information memory units each being coupled to at least one of the plurality of decoding units, each of the plurality of decoding units being configured to write a reconstructed frame to the at least one of the plurality of shared information memory units, each of the plurality of shared information memory units being configured to distribute a frame reproduced by a coupled decoding unit to at least one other decoding unit;
a control unit coupled to the plurality of decoding units and configured to determine which frame of a sequence of frames is processed by which of the plurality of decoding units; and
a stream merging unit configured to assemble the coded signals produced by the decoding units into at least one output stream.

### Claim 19 (depends on 18)

The video decoding apparatus of claim 18 wherein the control unit is further configured to determine when each of the plurality of decoding units start decoding the frame of the sequence of coded frames, and further configured to determine when a sufficient amount of data of the reconstructed frame is available for decoding in subsequent decoding units in each of the plurality of shared information memory units.

### Claim 20 (depends on 18)

The video decoding apparatus of claim 18 wherein each of the plurality of decoding units is arranged to operate at a clock rate inversely proportional to a total number of the plurality of decoding units.

### Claim 21 (depends on 18)

The video decoding apparatus of claim 18, wherein at least one of the plurality of decoding units is configured to stall a decoding process when the control unit sends a suspend signal to the at least one decoding unit or to continue the decoding process when the control unit sends a continue signal to the at least one decoding unit.

### Claim 22 (depends on 21)

The video decoding apparatus of claim 21, wherein:
the control unit sends the suspend signal to the at least one decoding unit when an entirety of a reference frame area is not available in the information memory unit; and
the control unit sends the continue signal when the entirety of the reference frame area is available in the information memory unit.

### Claim 23 (depends on 22)

The video decoding apparatus of claim 22, wherein the reference frame is a reconstructed frame.

### Claim 24 (depends on 18)

The video decoding apparatus of claim 18, wherein each decoding unit of the plurality of decoding units is configured to stall a decoding process until sufficient data of an input frame are available.

### Claim 25 (depends on 18)

The video decoding apparatus of claim 18, wherein each of the plurality of shared information memory units is configured to store at least a reference frame area of a reconstructed reference frame.

### Claim 26

A method of decoding a coded video sequence exploiting frame-level parallelism, the method comprising:
partitioning a video sequence into a plurality of coded frames;
distributing the plurality of coded frames among a plurality of decoding units;
decoding the plurality of coded frames according to a picture type assigned to each of the plurality of coded frames;
assigning at least one shared information memory unit from a plurality of shared information memory units to each of the plurality of decoding units;
storing reconstructed frames created by the plurality of decoding units to at least one of the plurality of shared information memory units;
controlling which frame of the plurality of coded frames is processed by a specific one of the plurality of decoding units; and
determining when a sufficient amount of data of the reconstructed frames are available for decoding in each of the information memory units.

### Claim 27 (depends on 26)

The method of claim 26, further comprising operating each of the plurality of decoding units at a clock rate inversely proportional to a total number of the plurality of decoding units.

### Claim 28 (depends on 26)

The method of claim 26 further comprising controlling when each of the plurality of decoding units begin decoding the frame of the sequence of frames.

### Claim 29 (depends on 26)

The method of claim 26 further comprising assembling coded signals produced by the plurality of decoding units into at least one output stream.

### Claim 30 (depends on 26)

The method of claim 26, further comprising stalling a decoding process of at least one of the plurality of decoding units after receiving a suspend signal.

### Claim 31 (depends on 26)

The method of claim 26 further comprising continuing a decoding process of at least one of the plurality of decoding units after receiving a continue signal.

### Claim 32 (depends on 26)

The method of claim 26, further comprising sending a suspend signal to at least one of the plurality of decoding units when an entirety of a reference frame area is not available in the information memory unit and sending a continue signal at a time when the entirety of the reference frame area is available in the information memory unit.

### Claim 33 (depends on 26)

The method of claim 26 further comprising at least one decoding unit of the plurality of decoding units stalling the decoding process until sufficient data of an input frame are available.

### Claim 34 (depends on 26)

The method of claim 26 further comprising selecting the shared information memory unit to be capable of storing at least the reference frame area of the reconstructed reference frame.
