# US 2021/0084337 A1 · Method for Producing Video Coding and Programme-Product

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

- Number: US 2021/0084337 A1
- Document ID: US20210084337A1
- Status: Published application
- Kind: A1
- Application number: 17/097,713
- Filed: 2020-11-13
- Published: 2021-03-18
- Earliest claimed: 2001-09-14
- Assignees: Siemens Aktiengesellschaft
- Applicants: Siemens Aktiengesellschaft
- Inventors: Gero Bäse; Norbert Oertel
- Web page: https://patentgrep.com/patent/US20210084337A1

## CPC

- H04N 19/61: in combination with predictive coding
- H03M 7/4006: {Conversion to or from arithmetic code}
- 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/517: by encoding
- H04N 19/62: by frequency transforming in three dimensions [3D] (H04N19/63 takes precedence)
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

According to the invention, there are provided sets of contexts specifically adapted to encode special coefficients of a prediction error matrix, on the basis of previously encoded values of level k. Furthermore, the number of values of levels other than 0 is explicitly encoded and numbers of appropriate contexts are selected on the basis of the number of spectral coefficients other than 0.

## Claims

### Claim at position 1

1-10. (canceled)

### Claim 11

A device for video coding for a current image represented by macroblocks and part of a data stream, the device comprising:
a processor; and
a machine-readable memory, the memory storing instructions that, when loaded and executed by the processor, cause the processor to:
receive motion vectors for the macroblock of the current image based on one or more previously received reference images, wherein at least one previously received reference image is stored in an image memory;
calculate a prediction image based on the received motion vectors, the prediction image representing predicted movement of the macroblocks of the reference image based on the received motion vectors;
provide a prediction error matrix, indicating a prediction error after transformation by a transformer and quantization by a quantizer, the prediction error representing a subtraction result by subtracting the prediction image from the current image by a substractor;
convert the prediction error matrix by coefficient sampling into a series of symbols;
perform context-adaptive arithmetic encoding of the symbols on the basis of symbol frequencies with an already-encoded symbol, the already-encoded symbol appearing immediately before a given symbol for which context-adaptive arithmetic encoding is performed, and
form a bit stream by the context-adaptive arithmetic encoding of the symbols.

### Claim 12 (depends on 11)

A device in accordance with claim 11, wherein the prediction error matrix is converted by coefficient sampling into a series of levels and lengths of zero sequences.

### Claim 13 (depends on 12)

A device in accordance with claim 12, wherein the levels and lengths are represented as unary values.

### Claim 14 (depends on 12)

A device in accordance with claim 12, wherein each of the levels is context-adapted arithmetically encoded, wherein a distribution of underlying level value frequencies depends at least in part on a level value previously encoded.

### Claim 15 (depends on 12)

A device in accordance with claim 12, wherein each of the lengths is context-adapted arithmetically encoded, wherein a distribution of underlying length value frequencies depends at least in part on a length value previously encoded.

### Claim 16 (depends on 12)

A device in accordance with claim 12, wherein the level values are sorted before the context-adaptive arithmetic encoding using 2-level values.

### Claim 17 (depends on 12)

A device in accordance with claim 12, wherein a count of the symbols read out for coefficient sampling is encoded and transmitted.

### Claim 18 (depends on 17)

A device in accordance with claim 17, wherein selection of the distribution of symbol frequencies depends at least in part on the amount of the symbols read out.
