# US 2023/0276056 A1 · Data encoding and decoding

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

- Number: US 2023/0276056 A1
- Document ID: US20230276056A1
- Status: Published application
- Kind: A1
- Application number: 18/008,992
- Filed: 2021-06-16
- Published: 2023-08-31
- Earliest claimed: 2020-06-17
- Assignees: Sony Group Corporation
- Applicants: Sony Group Corporation
- Inventors: Karl James SHARMAN; Stephen Mark KEATING; Adrian Richard BROWNE
- Web page: https://patentgrep.com/patent/US20230276056A1

## CPC

- H04N 19/146: Data rate or code amount at the encoder output
- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- 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/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/18: the unit being a set of transform coefficients
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of encoding successive data items comprises storing history data for encoded data items, the history data indicating one or more aspects of encoding the encoded data items; encoding a given data item by a first encoding technique comprising encoding a series of zero or more data sets, each data set representing a respective range of values of the data items and selecting the series of data sets from a plurality of candidate data sets in dependence upon (i) a number of previously encoded data sets; and (ii) the history data applicable to a given property of the given data item; and encoding any remaining value of the given data item, the remaining value being an amount by which the given data item exceeds a maximum value which can be encoded by the first encoding technique, by a second encoding technique different to the first encoding technique.

## Claims

### Claim at position 1

-23. (canceled)

### Claim 24

A method of decoding an input data signal representing successive data items, the method comprising:
storing history data for decoded data items, the history data indicating one or more aspects of decoding the decoded data items;
decoding a given data item by a first decoding technique, the first decoding technique comprising decoding a series of zero or more data sets, each data set representing a respective range of values of the data items and selecting the series of data sets from a plurality of candidate data sets in dependence upon (i) a number of previously decoded data sets; and (ii) the history data applicable to a given property of the given data item; and
decoding, by circuitry, any remaining value of the given data item, the remaining value being an amount by which the given data item exceeds a maximum value which can be decoded by the first decoding technique, by a second decoding technique different to the first decoding technique.

### Claim 25 (depends on 24)

The method of claim 24, in which the second decoding technique comprises decoding an escape code comprising a first portion and a non-unary coded second portion having a length, in bits, dependent upon a second portion size.

### Claim 26 (depends on 25)

The method of claim 25, comprising deriving the second portion size at least in part in dependence upon the history data applicable to the given property of the given data item.

### Claim 27 (depends on 26)

The method of claim 26, comprising generating a plurality of candidate second portion sizes and selecting amongst the plurality of candidate second portion sizes in dependence upon the history data applicable to the given property of the given data item.

### Claim 28 (depends on 27)

The method of claim 27, in which the generating step comprises, for at least one candidate second portion size, obtaining that candidate second portion size by accessing a look-up table according to an index dependent upon at least one previously encoded data item.

### Claim 29 (depends on 28)

The method of claim 28, in which the generating step comprises selectively applying a shift amount dependent upon at least the history data.

### Claim at position 8

-32. (canceled)

### Claim 33 (depends on 27)

The method of claim 27, in which the step of generating the plurality of candidate second portion sizes comprises, for at least one candidate second portion size, applying a shift amount dependent upon the value of one or more of the data items.

### Claim 34 (depends on 24)

The method of claim 24, in which the candidate data sets comprise one or more data sets selected from the list consisting of:
a significance data set indicating whether a data item is non-zero;
one or more greater-than-n data sets indicating whether a given data item is greater than a respective value of n;
a parity data set indicating a value of a least significant bit of a data item.

### Claim at position 11

-36. (canceled)

### Claim 37 (depends on 24)

The method of claim 24, in which the storing step comprises modifying at least the stored history data applicable to the given property of the given data item in response to decoding of the given data item.

### Claim 38 (depends on 26)

The method of claim 26, in which the deriving step comprises:
generating a copy of at least portions of the stored history data applicable to the given property of the given data item;
deriving the second portion size at least in part in dependence upon the copy of the history data applicable to the given property of the given data item; and
modifying at least the stored history data applicable to the given property of the given data item in response to encoding of the given data item.

### Claim 39 (depends on 37)

The method of claim 37, in which the modifying step comprises selectively modifying at least the stored history data applicable to the given property of the given data item in response to encoding of the given data item, only when the given data item exceeds a threshold absolute value.

### Claim 40 (depends on 24)

The method of claim 24, in which the history data comprises data indicative of a plurality of data item properties.

### Claim 41

(canceled)

### Claim 42 (depends on 24)

The method of claim 24, in which the one or more aspects of decoding the decoded data items comprise one or more aspects indicative of a magnitude of the decoded data items.

### Claim 43 (depends on 42)

The method of claim 42, in which the one or more aspects of decoding the decoded data items comprise data dependent upon a second portion size generated to decode the decoded data items.

### Claim 44

(canceled)

### Claim 45 (depends on 24)

A non-transitory machine-readable storage medium comprising computer code components which when executed by a computer perform the method of claim 24.

### Claim 46

Apparatus for encoding successive data items, the apparatus comprising:
a history data store configured to store history data for encoded data items, the history data indicating one or more aspects of encoding the encoded data items;
first encoder circuitry configured to encode a given data item by a first encoding technique, the first encoding technique comprising encoding a series of zero or more data sets, each data set representing a respective range of values of the data items and selecting the series of data sets from a plurality of candidate data sets in dependence upon (i) a number of previously encoded data sets; and (ii) the history data applicable to a given property of the given data item; and
second encoder circuitry configured to encode any remaining value of the given data item, the remaining value being an amount by which the given data item exceeds a maximum value which can be encoded by the first encoding technique, by a second encoding technique different to the first encoding technique.

### Claim 47

(canceled)

### Claim 48

Apparatus for decoding an input data signal representing successive data items, the apparatus comprising:
a history data store configured to store history data for decoded data items, the history data indicating one or more aspects of decoding the decoded data items;
first decoder circuitry configured to decode a given data item by a first decoding technique, the first decoding technique comprising decoding a series of zero or more data sets, each data set representing a respective range of values of the data items and selecting the series of data sets from a plurality of candidate data sets in dependence upon (i) a number of previously decoded data sets; and (ii) the history data applicable to a given property of the given data item; and
second decoder circuitry configured to decode any remaining value of the given data item, the remaining value being an amount by which the given data item exceeds a maximum value which can be decoded by the first decoding technique, by a second decoding technique different to the first decoding technique.

### Claim 49 (depends on 48)

Video data capture, transmission, display and/or storage apparatus comprising the apparatus of claim 48.

### Claim 50

A method of encoding successive data items, the method comprising:
storing history data for encoded data items, the history data indicating one or more aspects of encoding the encoded data items;
encoding a given data item by a first encoding technique, the first encoding technique comprising encoding a series of zero or more data sets, each data set representing a respective range of values of the data items and selecting the series of data sets from a plurality of candidate data sets in dependence upon (i) a number of previously encoded data sets; and (ii) the history data applicable to a given property of the given data item; and
encoding, by circuitry, any remaining value of the given data item, the remaining value being an amount by which the given data item exceeds a maximum value which can be encoded by the first encoding technique, by a second encoding technique different to the first encoding technique.
