# US 2017/0289574 A1 · Transform coefficient coding

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

- Number: US 2017/0289574 A1
- Document ID: US20170289574A1
- Status: Published application
- Kind: A1
- Application number: 15/621,702
- Filed: 2017-06-13
- Published: 2017-10-05
- Earliest claimed: 2012-01-20
- Assignees: Ge Video Compression, LLC
- Applicants: GE Video Compression, LLC
- Inventors: Tung NGUYEN; Heiner KIRCHHOFFER; Detlev MARPE
- Web page: https://patentgrep.com/patent/US20170289574A1

## CPC

- H04N 19/60: using transform coding
- H03M 7/4018: {Context adapative binary arithmetic codes [CABAC]}
- H03M 7/4075: {Golomb codes}
- 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

An idea used herein is to use the same function for the dependency of the context and the dependency of the symbolization parameter on previously coded/decoded transform coefficients. Using the same function—with varying function parameter—may even be used with respect to different transform block sizes and/or frequency portions of the transform blocks in case of the transform coefficients being spatially arranged in transform blocks. A further variant of this idea is to use the same function for the dependency of a symbolization parameter on previously coded/decoded transform coefficients for different sizes of the current transform coefficient's transform block, different information component types of the current transform coefficient's transform block and/or different frequency portions the current transform coefficient is located within the transform block.

## Claims

### Claim 1

A decoder for decoding a data stream comprising information related to a plurality of transform coefficients associated with an encoded video, the decoder comprising:
a context adaptive entropy decoder configured to, for a current transform coefficient, entropy decode a first symbol from the data stream using a context, determined by applying an operation based on at least a first previously decoded transform coefficient; and
a desymbolizer configured to, for the current transform coefficient, map a second symbol from the data stream to a transform coefficient level based on a symbolization parameter, determined by applying the operation based on at least a second previously decoded transform coefficient, wherein the transform coefficient level is greater than a maximum level associated with the first symbol.

### Claim 2 (depends on 1)

The decoder according to claim 1, wherein the decoder is configured to spatially determine the first or second previously decoded transform coefficient based on a relative spatial arrangement of the plurality of transform coefficients relative to the current transform coefficient.

### Claim 3 (depends on 1)

The decoder according to claim 1, wherein the decoder is configured to extract, from the data stream, information on a position of a last non-zero transform coefficient among transform coefficients of a transform coefficient block along a predetermined scan order, wherein the plurality of transform coefficients encompasses the transform coefficients of the transform coefficient block from the last non-zero transform coefficient along the scan order to a DC transform coefficient of the transform coefficient block.

### Claim 4 (depends on 3)

The decoder according to claim 3, wherein the desymbolizer is configured to use a first symbolization scheme for mapping of the first symbol of the last non-zero transform coefficient to a first level less than or equal to the maximum level, wherein a zero level does not apply for the last transform coefficient.

### Claim 5 (depends on 3)

The decoder according to claim 3, wherein the context adaptive entropy decoder is configured to entropy decode the first symbol for the last non-zero transform coefficient using a context that is different from a context used in entropy decoding the first symbol of a transform coefficient other than the last non-zero transform coefficient.

### Claim 6 (depends on 3)

The decoder according to claim 3, wherein the context adaptive entropy decoder traverses the transform coefficients of the transform coefficient block in a scan order leading from the last non-zero transform coefficient to the DC transform coefficient of the transform coefficient block.

### Claim 7 (depends on 1)

The decoder according to claim 1, wherein the decoder is configured to decode the plurality of transform coefficients from the data stream in two scans, wherein the context adaptive entropy decoder is configured to entropy decode the first symbol for the transform coefficients from the data stream in an order corresponding to a first scan of the transform coefficients,
the decoder comprising an extractor configured to subsequently extract, from the data stream, the second symbols, for the transform coefficients for which the first symbols is mapped onto the maximum level, in an order corresponding to a second scan of the transform coefficients.

### Claim 8 (depends on 1)

The decoder according to claim 1, wherein the decoder is configured to decode the plurality of transform coefficients from the data stream sequentially in one scan, wherein the second symbols are interspersed within the data stream between first symbols of the transform coefficients, and wherein the context adaptive entropy decoder and an extractor of the decoder are configured to, for each transform coefficient in a scan order of the one scan, extract, from the data stream, the second symbols of respective transform coefficients for which the first symbols is mapped onto the maximum level immediately subsequent to the context adaptive entropy decoder's entropy decoding of the first symbols of the respective transform coefficients for which the first symbols are mapped onto the maximum level.

### Claim 9 (depends on 1)

The decoder according to claim 1, further comprising an extractor configured to extract the second symbol from the data stream directly or using entropy decoding using a fixed probability distribution.

### Claim 10 (depends on 1)

The decoder according to claim 1, wherein the desymbolizer is configured to map the first symbol to a transform coefficient level less than or equal to the maximum level based on a truncated unary binarization scheme.

### Claim 11 (depends on 1)

The decoder according to claim 1, wherein the desymbolizer is configured to map the second symbol based on a Rice code.

### Claim 12

An encoder for encoding into a data stream information related to a plurality of transform coefficients associated with a video, the encoder comprising:
a context adaptive entropy encoder configured to, for a current transform coefficient, entropy encode a first symbol into the data stream using a context, determined by applying an operation based on at least a first previously encoded transform coefficient; and
a symbolizer configured to map a transform coefficient level of the current transform coefficient to a second symbol based on a symbolization parameter, determined by applying the operation based on at least a second previously encoded transform coefficient, wherein the transform coefficient level is greater than a maximum level associated with the first symbol.

### Claim 13 (depends on 12)

The encoder according to claim 12, wherein the encoder is configured to spatially determine the first or second previously encoded transform coefficient based on a relative spatial arrangement of the plurality of transform coefficients relative to the current transform coefficient.

### Claim 14 (depends on 12)

The encoder according to claim 12, wherein the encoder is configured to insert, into the data stream, information on a position of a last non-zero transform coefficient among transform coefficients of a transform coefficient block along a predetermined scan order, wherein the plurality of transform coefficients encompasses the transform coefficients of the transform coefficient block from the last non-zero transform coefficient along the scan order to a DC transform coefficient of the transform coefficient block.

### Claim 15 (depends on 14)

The encoder according to claim 14, wherein the symbolizer is configured to use a first symbolization scheme for mapping of the first symbol of the last non-zero transform coefficient to a first level less than or equal to the maximum level, wherein a zero level does not apply for the last transform coefficient.

### Claim 16 (depends on 14)

The encoder according to claim 14, wherein the context adaptive entropy encoder is configured to entropy encode the first symbol for the last non-zero transform coefficient using a context that is different from a context used in entropy decoding the first symbol of a transform coefficient other than the last non-zero transform coefficient.

### Claim 17 (depends on 14)

The encoder according to claim 14, wherein the context adaptive entropy encoder traverses the transform coefficients of the transform coefficient block in a scan order leading from the last non-zero transform coefficient to the DC transform coefficient of the transform coefficient block.

### Claim 18 (depends on 12)

The encoder according to claim 12, wherein the encoder is configured to encode the plurality of transform coefficients from the data stream in two scans, wherein the context adaptive entropy encoder is configured to entropy encode the first symbol for the transform coefficients into the data stream in an order corresponding to a first scan of the transform coefficients,
the encoder comprising an extractor configured to subsequently insert into the data stream the second symbols, for the transform coefficients for which the first symbols is mapped onto the maximum level, in an order corresponding to a second scan of the transform coefficients.

### Claim 19 (depends on 12)

The encoder according to claim 12, wherein the encoder is configured to encode the plurality of transform coefficients into the data stream sequentially in one scan, wherein second symbols are interspersed within the data stream between first symbols of the transform coefficients, and wherein the context adaptive entropy encoder and an inserter of the encoder are configured to, for each transform coefficient in a scan order of the one scan, insert, into the data stream, the second symbols of respective transform coefficients for which the first symbols is mapped onto the maximum level immediately subsequent to the context adaptive entropy encoder's entropy encoding of the first symbols of the respective transform coefficients for which the first symbols are mapped onto the maximum level.

### Claim 20 (depends on 12)

The encoder according to claim 12, further comprising an inserter configured to insert the second symbol into the data stream directly or using entropy encoding using a fixed probability distribution.

### Claim 21 (depends on 12)

The encoder according to claim 12, wherein the symbolizer is configured to map the first symbol to a transform coefficient level less than or equal to the maximum level based on a truncated unary binarization scheme.

### Claim 22 (depends on 12)

The encoder according to claim 12, wherein the symbolizer is configured to map the second symbol based on a Rice code.

### Claim 23

A non-transitory computer-readable medium for storing information related to a plurality of transform coefficients associated with an encoded video, comprising:
a data stream stored in the non-transitory computer-readable medium, the data stream comprising encoded information related to first and second symbols of a current transform coefficient,
wherein the first symbol is encoded into the data stream using a context adaptive entropy encoder configured to, for the current transform coefficient, entropy encode the first symbol using a context, determined by applying an operation based on at least a first previously encoded transform coefficient, and
the second symbol is encoded into the data stream using a symbolizer configured to map a transform coefficient level of the current transform coefficient to the second symbol based on a symbolization parameter, determined by applying the operation based on at least a second previously encoded transform coefficient, wherein the transform coefficient level is greater than a maximum level associated with the first symbol.

### Claim 24

A method for decoding a data stream comprising information related to a plurality of transform coefficients associated with an encoded video, the method comprising:
entropy decoding, for a current transform coefficient, a first symbol from the data stream using a context, the entropy decoding comprising applying an operation based on at least a first previously decoded transform coefficient to determine the context; and
mapping, for the current transform coefficient, a second symbol from the data stream to a transform coefficient level based on a symbolization parameter, the mapping comprising applying the operation based on at least a second previously decoded transform coefficient to determine the symbolization parameter, wherein the transform coefficient level is greater than a maximum level associated with the first symbol.

### Claim 25 (depends on 24)

The method according to claim 24, further comprising spatially determining the first or second previously decoded transform coefficient based on a relative spatial arrangement of the plurality of transform coefficients relative to the current transform coefficient.

### Claim 26 (depends on 24)

The method according to claim 24, further comprising extracting, from the data stream, information on a position of a last non-zero transform coefficient among transform coefficients of a transform coefficient block along a predetermined scan order, wherein the plurality of transform coefficients encompasses the transform coefficients of the transform coefficient block from the last non-zero transform coefficient along the scan order to a DC transform coefficient of the transform coefficient block.

### Claim 27 (depends on 24)

The method according to claim 24, further comprising:
decoding the plurality of transform coefficients from the data stream sequentially in one scan, wherein the second symbols are interspersed within the data stream between first symbols of the transform coefficients, and
for each transform coefficient in a scan order of the one scan, extracting, from the data stream, the second symbols of respective transform coefficients for which the first symbols is mapped onto the maximum level immediately subsequent to the entropy decoding of the first symbols of the respective transform coefficients for which the first symbols are mapped onto the maximum level.

### Claim 28 (depends on 24)

The method according to claim 24, further comprising extracting the second symbol from the data stream directly or using entropy decoding using a fixed probability distribution.

### Claim 29 (depends on 24)

The method according to claim 24, further comprising mapping the first symbol to a transform coefficient level less than or equal to the maximum level based on a truncated unary binarization scheme.

### Claim 30 (depends on 24)

The method according to claim 24, wherein the mapping of the second symbol is based on a Rice code.
