# US 10,958,906 B2 · Encoding data arrays

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

- Number: US 10,958,906 B2
- Document ID: US10958906B2
- Status: Granted
- Kind: B2
- Application number: 16/659,342
- Filed: 2019-10-21
- Published: 2020-05-07
- Granted: 2021-03-23
- Earliest claimed: 2018-11-02
- Assignees: Arm Limited
- Applicants: Arm Limited
- Inventors: Jonas Christensson Cremon
- Web page: https://patentgrep.com/patent/US10958906B2

## CPC

- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/192: the adaptation method, adaptation tool or adaptation type being iterative or recursive
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus for encoding arrays of data elements of a stream of arrays of data elements. The apparatus includes encoding circuitry for encoding an array of data elements. The apparatus also includes processing circuitry for producing two one-dimensional arrays of data values from a two-dimensional array of data values. The data values of the two-dimensional array are representative of the properties of the array of data elements. The data values of the two one-dimensional arrays are representative of the data values along the two dimensions of the two-dimensional array respectively. The processing circuitry is operable to use the two one-dimensional arrays to approximate data values in the two-dimensional array, and to use the approximated data values of the two-dimensional array when encoding arrays of data elements in the stream of arrays to be encoded.

## Claims

### Claim 1

A method of encoding arrays of data elements of a stream of arrays of data elements, the method comprising:
when encoding an array of data elements in a stream of arrays of data elements to be encoded:
producing two one-dimensional arrays of data values from the data values of a two-dimensional array of data values, wherein the data values of the two-dimensional array of data values are representative of one or more properties of at least some of the data elements in the array of data elements, and wherein the data values of the two one-dimensional arrays of data values are representative of the data values along the two dimensions of the two-dimensional array of data values respectively;
storing the two one-dimensional arrays of data values; and
using the two one-dimensional arrays of data values to approximate one or more of the data values in the two-dimensional array of data values when encoding the array of data elements or one or more subsequent arrays of data elements in the stream of arrays of data elements to be encoded;
wherein the method further comprises approximating a data value in the two-dimensional array of data values by multiplying together the data values of the two one-dimensional arrays corresponding to the row and column of the data value to be approximated in the two one-dimensional arrays of data elements, and dividing by the sum of all of the data values of the two-dimensional array.

### Claim 2 (depends on 1)

The method as claimed in claim 1, further comprising generating the two-dimensional array of data values from the array of data elements, wherein the data values in the two-dimensional array of data values are representative of one or more properties of at least some of the data elements in the array of data elements.

### Claim 3 (depends on 1)

The method as claimed in claim 1, wherein the one or more properties comprises the intensity or brightness of the data elements of the array, the complexity of the data elements of the array, the amount of change of the data elements of the array between arrays in the stream of arrays and/or type of encoded array that the array of data elements being encoded is encoded as.

### Claim 4 (depends on 3)

The method as claimed in claim 3, further comprising assessing the complexity of the data elements of the array for each of plural regions of the array of data elements, wherein each region corresponds to a plurality of data elements of the array of data elements.

### Claim 5 (depends on 1)

The method as claimed in claim 1, wherein the data values of the two-dimensional array represent a two-dimensional statistical distribution, and the two one-dimensional arrays of data values comprise respective one-dimensional statistical distributions, wherein method further comprises producing the two one-dimensional statistical distributions by factorising the two-dimensional statistical distribution.

### Claim 6 (depends on 1)

The method as claimed in claim 1, further comprising producing the two-one dimensional arrays of data values by integrating the data values of two-dimensional array, for each set of data values along the direction of the one-dimensional array.

### Claim 7 (depends on 1)

The method as claimed in claim 1, further comprising dividing the two-dimensional array of data values into a plurality of regions, and producing a respective plurality of pairs of one-dimensional arrays of data values to represent the data values along the two dimensions of the plurality of regions of the two-dimensional array respectively.

### Claim 8 (depends on 1)

The method as claimed in claim 1, further comprising controlling the encoding of the array of data elements or one or more subsequent arrays of data elements in the stream of arrays of data elements to be encoded using the one or more approximated data values of the two-dimensional array of data values.

### Claim 9 (depends on 8)

The method as claimed in claim 8, wherein the step of controlling comprises taking an encoding decision in the encoding of the array of data elements or of the one or more subsequent arrays of data elements based on the one or more approximated data values of the two-dimensional array of data values.

### Claim 10

An apparatus for encoding arrays of data elements of a stream of arrays of data elements, the apparatus comprising:
encoding circuitry operable to encode an array of data elements of a stream of arrays of data elements;
processing circuitry operable to:
produce two one-dimensional arrays of data values from the data values of a two-dimensional array of data values, wherein the data values of the two-dimensional array of data values are representative of one or more properties of at least some of the data elements in the array of data elements, and wherein the data values of the two one-dimensional arrays of data values are representative of the data values along the two dimensions of the two-dimensional array of data values respectively; and
a memory operable to store the two one-dimensional arrays of data values;
wherein the processing circuitry is further operable to:
use the two one-dimensional arrays of data values to approximate one or more of the data values in the two-dimensional array of data values; and
approximate a data value in the two-dimensional array of data values by multiplying together the data values of the two one-dimensional arrays corresponding to the row and column of the data value to be approximated in the two one-dimensional arrays of data elements, and dividing by the sum of all of the data values of the two-dimensional array; and
wherein the encoding circuitry is further operable to use the one or more approximated data values of the two-dimensional array of data values when encoding the array of data elements or one or more subsequent arrays of data elements in the stream of arrays of data elements to be encoded.

### Claim 11 (depends on 10)

The apparatus as claimed in claim 10, wherein the encoding circuitry is operable to generate the two-dimensional array of data values from the array of data elements, wherein the data values in the two-dimensional array of data values are representative of one or more properties of at least some of the data elements in the array of data elements.

### Claim 12 (depends on 10)

The apparatus as claimed in claim 10, wherein the one or more properties comprises the intensity or brightness of the data elements of the array, the complexity of the data elements of the array, the amount of change of the data elements of the array between arrays in the stream of arrays and/or type of encoded array that the array of data elements being encoded is encoded as.

### Claim 13 (depends on 12)

The apparatus as claimed in claim 12, wherein the processing circuitry is operable to assess the complexity of the data elements of the array for each of plural regions of the array of data elements, wherein each region corresponds to a plurality of data elements of the array of data elements.

### Claim 14 (depends on 10)

The apparatus as claimed in claim 10, wherein the data values of the two-dimensional array represent a two-dimensional statistical distribution, and the two one-dimensional arrays of data values comprise respective one-dimensional statistical distributions, and wherein the processing circuitry is operable to produce the two one-dimensional statistical distributions by factorising the two-dimensional statistical distribution.

### Claim 15 (depends on 10)

The apparatus as claimed in claim 10, wherein the processing circuitry is operable to produce the two-one dimensional arrays of data values by integrating the data values of two-dimensional array, for each set of data values along the direction of the one-dimensional array.

### Claim 16 (depends on 10)

The apparatus as claimed in claim 10, further comprising dividing the two-dimensional array of data values into a plurality of regions, and producing a respective plurality of pairs of one-dimensional arrays of data values to represent the data values along the two dimensions of the plurality of regions of the two-dimensional array respectively.

### Claim 17 (depends on 10)

The apparatus as claimed in claim 10, wherein the encoding circuitry is operable to control the encoding of the array of data elements or one or more subsequent arrays of data elements in the stream of arrays of data elements to be encoded using the one or more approximated data values of the two-dimensional array of data values.

### Claim 18 (depends on 17)

The apparatus as claimed in claim 17, wherein the encoding circuitry is operable to control the encoding by taking an encoding decision in the encoding of the array of data elements or of the one or more subsequent arrays of data elements based on the one or more approximated data values of the two-dimensional array of data values.

### Claim 19

A non-transitory computer readable storage medium storing computer software code which when executing on a data processing system performs a method of encoding arrays of data elements of a stream of arrays of data elements, the method comprising:
when encoding an array of data elements in a stream of arrays of data elements to be encoded:
producing two one-dimensional arrays of data values from the data values of a two-dimensional array of data values, wherein the data values of the two-dimensional array of data values are representative of one or more properties of at least some of the data elements in the array of data elements, and wherein the data values of the two one-dimensional arrays of data values are representative of the data values along the two dimensions of the two-dimensional array of data values respectively;
storing the two one-dimensional arrays of data values; and
using the two one-dimensional arrays of data values to approximate one or more of the data values in the two-dimensional array of data values when encoding the array of data elements or one or more subsequent arrays of data elements in the stream of arrays of data elements to be encoded;
the method further comprising approximating a data value in the two-dimensional array of data values by multiplying together the data values of the two one-dimensional arrays corresponding to the row and column of the data value to be approximated in the two one-dimensional arrays of data elements, and dividing by the sum of all of the data values of the two-dimensional array.
