# US 2014/0153644 A1 · Dynamic slice resizing while encoding video

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

- Number: US 2014/0153644 A1
- Document ID: US20140153644A1
- Status: Published application
- Kind: A1
- Application number: 13/692,118
- Filed: 2012-12-03
- Published: 2014-06-05
- Earliest claimed: 2012-12-03
- Assignees: LSI Corporation
- Applicants: Lsi Corporation
- Inventors: Dariusz Dzik
- Web page: https://patentgrep.com/patent/US20140153644A1

## CPC

- H04N 19/436: using parallelised computational arrangements
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/146: Data rate or code amount at the encoder output
- H04N 19/172: the region being a picture, frame or field
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An apparatus having a plurality of processors is disclosed. The processors may be configured to (i) gather a plurality of statistics by encoding a current picture in a video signal, (ii) calculate a plurality of complexity values in response to both the statistics and a plurality of coefficients and (iii) partition a next picture in the video signal into a plurality of slices in response to the complexity values such that each of the slices has a similar coding complexity. The statistics generally characterize how the current picture was encoded. The coefficients may correspond to a plurality of coding modes.

## Claims

### Claim 1

An apparatus comprising:
a plurality of processors configured to (i) gather a plurality of statistics by encoding a current picture in a video signal, (ii) calculate a plurality of complexity values in response to both said statistics and a plurality of coefficients and (iii) partition a next picture in said video signal into a plurality of slices in response to said complexity values such that each of said slices has a similar coding complexity, wherein (a) said statistics characterize how said current picture was encoded and (b) said coefficients correspond to a plurality of coding modes.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein (i) said processors are further configured to encode said next picture operating and (ii) each one of said slices is encoded by a respective one of said processors operating in parallel.

### Claim 3 (depends on 1)

The apparatus according to claim 1, wherein said processors are further configured to calculate a first of said coefficients in response to a plurality of first parameters that control an inter-prediction mode of said coding modes.

### Claim 4 (depends on 3)

The apparatus according to claim 3, wherein said processors are further configured to calculate a second of said coefficients in response to a plurality of second parameters that control an intra-prediction mode of said coding modes.

### Claim 5 (depends on 1)

The apparatus according to claim 1, wherein said complexity values are calculated in further response to one or more weight values.

### Claim 6 (depends on 1)

The apparatus according to claim 1, wherein said complexity values correspond to a plurality of respective macroblock rows in said current picture.

### Claim 7 (depends on 6)

The apparatus according to claim 6, wherein said processors are further configured to (i) divide one of said macroblock rows into two sub-sections and (ii) divide one of said complexity values into two of said complexity values that correspond to said two sub-sections.

### Claim 8 (depends on 6)

The apparatus according to claim 6, wherein said statistics per each of said macroblock rows comprise (i) a number of bits created by said encoding, (ii) a number of inter-coded macroblocks, (iii) a number of intra-coded macroblocks, (iv) a number of skip-coded macroblocks, (v) a number of sub-pixel motion estimations, (vi) a number of intra-block motion estimations and (vii) a number of transformations from a spatial domain to a frequency domain.

### Claim 9 (depends on 1)

The apparatus according to claim 1, wherein said encode comprises an H.264 encode.

### Claim 10 (depends on 1)

The apparatus according to claim 1, wherein said apparatus is implemented as one or more integrated circuits.

### Claim 11

A method for dynamic slice resizing while encoding video, comprising the steps of:
(A) gathering a plurality of statistics by encoding a current picture in a video signal, wherein said statistics characterize how said current picture was encoded by a plurality of processors;
(B) calculating a plurality of complexity values in response to both said statistics and a plurality of coefficients, wherein said coefficients correspond to a plurality of coding modes; and
(C) partitioning a next picture in said video signal into a plurality of slices in response to said complexity values such that each of said slices has a similar coding complexity.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising the step of:
encoding said next picture using said processors, wherein each one of said slices is encoded by a respective one of said processors operating in parallel.

### Claim 13 (depends on 11)

The method according to claim 11, further comprising the step of:
calculating a first of said coefficients in response to a plurality of first parameters that control an inter-prediction mode of said coding modes.

### Claim 14 (depends on 13)

The method according to claim 13, further comprising the step of:
calculating a second of said coefficients in response to a plurality of second parameters that control an intra-prediction mode of said coding modes.

### Claim 15 (depends on 11)

The method according to claim 11, wherein said complexity values are calculated in further response to one or more weight values.

### Claim 16 (depends on 11)

The method according to claim 11, wherein said complexity values correspond to a plurality of respective macroblock rows in said current picture.

### Claim 17 (depends on 16)

The method according to claim 16, further comprising the steps of:
dividing one of said macroblock rows into two sub-sections; and
dividing one of said complexity values into two of said complexity values that correspond to said two sub-sections.

### Claim 18 (depends on 16)

The method according to claim 16, wherein said statistics per each of said macroblock rows comprise (i) a number of bits created by said encoding, (ii) a number of inter-coded macroblocks, (iii) a number of intra-coded macroblocks, (iv) a number of skip-coded macroblocks, (v) a number of sub-pixel motion estimations, (vi) a number of intra-block motion estimations and (vii) a number of transformations from a spatial domain to a frequency domain.

### Claim 19 (depends on 11)

The method according to claim 11, wherein said encoding comprises an H.264 encoding.

### Claim 20

An apparatus comprising:
means for gathering a plurality of statistics by encoding a current picture in a video signal, wherein said statistics characterize how said current picture was encoded;
means for calculating a plurality of complexity values in response to both said statistics and a plurality of coefficients, wherein said coefficients correspond to a plurality of coding modes; and
means for partitioning a next picture in said video signal into a plurality of slices in response to said complexity values such that each of said slices has a similar coding complexity.
