# US 2021/0176482 A1 · Methods and apparatuses for hierarchically encoding and decoding a bytestream

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

- Number: US 2021/0176482 A1
- Document ID: US20210176482A1
- Status: Published application
- Kind: A1
- Application number: 16/770,231
- Filed: 2018-12-06
- Published: 2021-06-10
- Earliest claimed: 2017-12-06
- Assignees: V-Nova International Limited
- Applicants: V-Nova International Limited
- Inventors: Ivan MAKEEV; Balázs KESZTHELYI; Stergios POULARAKIS; Michele SANNA; Robert ETTINGER
- Web page: https://patentgrep.com/patent/US20210176482A1

## 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/129: Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

There may be provided a method of decoding a received set of encoded data representing information that has been compressed, the method comprising: obtaining, a set of attribute indicators from the data set, each indicator of the set of indicators is associated with a subset of the data set; and, decoding a plurality of subsets of the data set, comprising: retrieving decoding parameters for each subset according to the attribute indicator associated with each subset; and, decoding each subset according to the retrieved decoding parameters for each subset.

## Claims

### Claim 1

A method of decoding a received set of encoded data representing information that has been compressed, the method comprising:
obtaining, a set of attribute indicators from the data set, each indicator of the set of indicators is associated with a subset of the data set; and,
decoding a plurality of subsets of the data set, comprising:
retrieving decoding parameters for each subset according to the attribute indicator associated with each subset; and,
decoding each subset according to the retrieved decoding parameters for each subset.

### Claim 2 (depends on 1)

A method according to claim 1, wherein the step of retrieving comprises retrieving a plurality of decoding parameters according to each attribute indicator, the plurality of decoding parameters corresponding to different functions of a decoding process.

### Claim 3 (depends on 1, 2)

A method according to claim 1 or 2, wherein the plurality of subsets contain encoded data values and wherein the method further comprises:
recreating the information that has been compressed from the data values.

### Claim 4

A method according to any preceding claim, wherein each indicator of the set of indicators is associated with a respective subset of the plurality of subsets of the data set.

### Claim 5

A method according to any preceding claim, wherein a plurality of the indicators are identical.

### Claim 6

A method according to any preceding claim, wherein the encoded data set is divided into a hierarchy of subsets

### Claim 7 (depends on 6)

A method according to claim 6, wherein the attribute indicators of subsets containing data values are obtained by separately decoding an attribute metadata subset of the data set.

### Claim 8

A method according to any preceding claim, further comprising:
obtaining an initial attribute indicator associated with an initial subset of the data set;
retrieving initial decoding parameters of the initial subset according to the initial attribute indicator;
decoding the initial subset according to the initial decoding parameters, wherein the initial subset contains the attribute indicators of the plurality of subsets of the data set.

### Claim 9

A method according to any preceding claim, wherein the decoding parameters include quantization parameters.

### Claim 10

A method according to any preceding claim, wherein the decoding parameters include entropy decoding probability metadata.

### Claim 11 (depends on 10)

A method according to claim 10, wherein the entropy decoding probability metadata represents a cumulative distribution function for a range decoding operation.

### Claim 12 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)

An apparatus for decoding an received set of encoded data representing information that has been compressed, comprising a processor configured to carry out the method of any of claims 1 to 11.

### Claim 13

A method of encoding information to be compressed into an encoded data set, the method comprising:
encoding a plurality of subsets of the data set, comprising:
retrieving encoding parameters for each subset; and,
encoding each subset according to the retrieved encoding parameters for each subset; and,
generating a set of attribute indicators, each indicator of the set of indicators being associated with a subset of the data set according to the retrieved encoding parameters for each subset.

### Claim 14 (depends on 13)

A method according to claim 13, wherein the step of retrieving comprises retrieving a plurality of encoding parameters, the plurality of decoding parameters corresponding to different functions of an encoding process.

### Claim 15 (depends on 13, 14)

A method according to claim 13 or 14, wherein the plurality of subsets contain encoded data values, such that the information to be compressed can be recreated from the data values.

### Claim 16 (depends on 13, 14, 15)

A method according to any of claims 13 to 15, wherein each indicator of the set of indicators is associated with a respective subset of the plurality of subsets of the data set.

### Claim 17 (depends on 13, 14, 15, 16)

A method according to any of claims 13 to 16, wherein a plurality of the indicators are identical.

### Claim 18 (depends on 13, 14, 15, 16, 17)

A method according to any of claims 13 to 17, wherein the encoded data set is divided into a hierarchy of subsets

### Claim 19 (depends on 18)

A method according to claim 18, wherein the attribute indicators for subsets containing data values are separately encoded as an attribute metadata subset of the data set.

### Claim 20 (depends on 13, 14, 15, 16, 17, 18, 19)

A method according to any of claims 13 to 19, further comprising:
encoding an initial subset according to retrieved initial decoding parameters,
generating an initial attribute indicator associated with an initial subset of the data set; wherein the encoded initial subset contains the attribute indicators of the plurality of subsets of the data set.

### Claim 21 (depends on 13, 14, 15, 16, 17, 18, 19, 20)

A method according to any of claims 13 to 20, wherein the encoding parameters include quantization parameters.

### Claim 22 (depends on 13, 14, 15, 16, 17, 18, 19, 20, 21)

A method according to any of claims 13 to 21, wherein the encoding parameters include entropy coding probability metadata.

### Claim 23 (depends on 22)

A method according to claim 22, wherein the entropy coding probability metadata represents a cumulative distribution function for a range coding operation.

### Claim 24 (depends on 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)

An apparatus for encoding information to be compressed into an encoded data set, comprising a processor configured to carry out the method of any of claims 13 to 23.

### Claim 25

A method of processing metadata associated with a stream of video data, the method comprising the steps of, for a first frame of video data:
subdividing the first frame of video data into a plurality of tiles;
calculating a first statistical attribute for each of a plurality of tiles;
identifying tiles having a first instance of identical, or similar statistical, attributes, and grouping said identified tiles together as a tile set;
for each tile set defining metadata for the tile set, said metadata indicative of the statistical attribute of the tiles defining the tile set; and
encoding data indicative of the metadata for the tiles of the first frame of video data based on the metadata defined for each of the tile set to which said tile belongs.

### Claim 26 (depends on 25)

A method according to claim 25 wherein the encoding occurs using an entropy encoding based technique.

### Claim 27 (depends on 25, 26)

A method according to any of claims 25 to 26 wherein the metadata for a tile set further defines a location of each of the tiles forming the tile set.

### Claim 28 (depends on 25, 26, 27)

A method according to any of claims 25 to 27 wherein the size of the tiles is fixed.

### Claim 29 (depends on 25, 26, 27, 28)

A method according to any of claims 25 to 28, wherein the step of identifying the tiles that form a tile set further comprises ordering the tiles, based on their statistical attributes.

### Claim 30 (depends on 29)

A method according to claim 29 wherein the ordering of the tiles defines a probability distribution function of the statistical attributes.

### Claim 31 (depends on 25, 26, 27, 28, 29, 30)

A method according to any of claims 25 to 30 wherein tiles are encoded in a set order.

### Claim 32 (depends on 31)

A method according to claim 31 wherein the method further comprises determining the difference between the metadata of a tile and its preceding tile, and encoding the metadata as the difference.

### Claim 33 (depends on 31, 32)

A method according to claim 31 or 32 wherein in the set order is a z-order traverse.

### Claim 34 (depends on 25, 26, 27, 28, 29, 30, 31, 32, 33)

A method according to any of claims 25 to 33 wherein the method further comprises the step of encoding the tiles.

### Claim 35 (depends on 34)

A method according to claim 34 wherein the step of encoding the tiles comprises determining a level of quantisation and encoding tiles at said level of quantisation

### Claim 36 (depends on 35)

A method according to claim 35 wherein tiles belonging to a first a first tile set are quantised at a first level of quantisation and tiles belonging to a second tile set are quantised at a second, different, level of quantisation.

### Claim 37 (depends on 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)

A method according to any of claim 25 to 36 wherein the statistical attributes of the tile are selected from one or more of the group of: luma, chroma, and number of bits required to encode one or more pixels, within a frame of video data.

### Claim 38 (depends on 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37)

A method according to any of claims 25 to 37 wherein the first frame of video data is a residual frame, said residual frame being indicative of the differences between a first frame of data and a reference frame.

### Claim 39 (depends on 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38)

A method according to any of claims 25 to 38 wherein the method further comprises identifying one or more further statistical attributes of the tiles and identifying tiles having a plurality of instances of identical, or similar statistical, attributes, and grouping said identified tiles together as the tile set.

### Claim 40

A system for encoding metadata associated with a stream of video data, the system comprising a processor, the processor configured to, for a first frame of video data:
subdivide the first frame of video data into a plurality of tiles;
for each of a plurality of tiles calculate a first statistical attributes of the tile;
identify tiles having a first instance of identical, or similar statistical, attributes, and group said identified tiles together as a tile set;
for each tile set define metadata for the tile set, said metadata indicative of the statistical attribute of the tiles defining the tile set; and
encode data indicative of the metadata for the tiles of the first frame of video data based on the metadata defined for each of the tile set to which said tile belongs.

### Claim 41

A method of decoding metadata associated with a stream of video data, the method comprising the steps of, for a first frame of video data, at a decoder:
obtaining information to enable the decoder to subdivide the first frame of video data into a plurality of tiles;
receiving an encoded stream of metadata, said encoded stream of metadata comprising information identifying tiles having a first instance of identical, or similar statistical, attributes, and information grouping said identified tiles together as a tile set;
obtaining information regarding the identical, or similar statistical, attributes; and
decoding the metadata for each of the tiles forming the tile set with the obtained information regarding the identical, or similar statistical, attributes.

### Claim 42 (depends on 41)

A method according to claim 41 wherein the encoded data stream is decoded using an entropy encoding based technique.

### Claim 43 (depends on 40, 41)

A method according to claim 40 or 41 wherein the decoded metadata for a tile set further defines a location of each of the tiles forming the tile set.

### Claim 44 (depends on 41, 42, 43)

A method according to any of claims 41 to 43 wherein the size of the tiles is fixed.

### Claim 45 (depends on 40, 41, 42, 43, 44)

A method according to any of claims 40 to 44 comprising the step of obtaining information regarding the order in which the tiles were encoded and decoding the encoded stream based on said order.

### Claim 46 (depends on 45)

A method according to claim 45 wherein the method further comprises determining the difference between the metadata of a tile and its preceding tile, and decoding the metadata as the difference.

### Claim 47 (depends on 45, 46)

A method according to claim 45 or 46 wherein in the set order is a z-order traverse.

### Claim 48 (depends on 40, 41, 42, 43, 44, 45, 46, 47)

A method according to any of claims 40 to 47 further comprising obtaining information regarding a level of quantisation and decoding the data stream at said level of quantisation

### Claim 49 (depends on 48)

A method according to claim 48 wherein tiles belonging to a first a first tile set are decoded at a first level of quantisation and tiles belonging to a second tile set are decoded at a second, different, level of quantisation.

### Claim 50 (depends on 41, 42, 43, 44, 45, 46, 47, 48, 49)

A decoder for decoding an encoded stream of video data, the decoder configured to perform the method of any of claims 41 to 49.

### Claim 51

A method of decoding an encoded data set comprising a header and a payload, the payload comprising a plurality of encoded data symbols representing information that has been compressed, wherein a decoder is configured to decode subsets of the payload according to a predetermined decoding process, the method comprising:
decoding the header to derive a set of metadata elements;
retrieving from the set of metadata elements, a variation parameter which indicates how the predetermined decoding process should be varied;
decoding the payload according to a modified decoding process based on the variation parameter, such that the decoding process is optimised for the plurality of encoded data symbols; and,
reconstructing the information that has been compressed from the decoded payload.

### Claim 52 (depends on 51)

A method according to claim 51, wherein the variation parameter indicates multiple subsets of the payload shall be decoded according one or more of the same decoding parameters.

### Claim 53 (depends on 51, 52)

A method according to claim 51 or 52, wherein the variation parameter indicates quantization is disabled, such that the plurality of encoded data symbols are not quantized during decoding.

### Claim 54 (depends on 51, 52, 53)

A method according to any of claims 51 to 53, wherein the payload comprises a plurality of data structures each comprising metadata and a plurality of encoded data symbols, wherein the metadata indicates features of the data structures, encoded data symbols or both, and wherein the variation parameter indicates that expected optimisations on the metadata of the optimisation process have not been performed.

### Claim 55 (depends on 51, 52, 53, 54)

A method according to any of claims 51 to 54, wherein the predetermined decoding process expects the payload to comprise a plurality of data structures each comprising metadata and a plurality of encoded data symbols, wherein the metadata indicates features of the data structure, encoded data symbols or both, and wherein the variation parameter indicates the data structures comprise only data symbols and do not comprise metadata.

### Claim 56 (depends on 51, 52, 53, 54, 55)

A method according to any of claims 51 to 55, wherein the variation parameter indicates groups of subsets of the payload shall be decoded according to the same decoding parameters.

### Claim 57 (depends on 51, 52, 53, 54, 55, 56)

A method according to any of claims 51 to 56, wherein the variation parameter indicates an expected decoding parameter for the payload is signalled explicitly in the encoded data set and is not signalled by reference.

### Claim 58 (depends on 51, 52, 53, 54, 55, 56, 57)

A method according to any of claims 51 to 57, wherein the payload comprises a plurality of subsets, each subset being decoded according to a set of decoding parameters, and wherein the variation parameter indicates that an indicator element of the encoded data set that indicates which set of decoding parameters shall be used for a subset references a list of tuples of a plurality of lists of tuples, each element of the tuple referencing a parameter to be used from a different set of parameters.

### Claim 59 (depends on 51, 52, 53, 54, 55, 56, 57, 58)

A method according to any of claims 51 to 58, wherein the payload comprises a plurality of subsets, each subset being decoded according to a set of decoding parameters, and wherein the variation parameter indicates that an indicator element of the encoded data set that indicates which set of decoding parameters shall be used for a subset is a reference to a set of parameters from a plurality of different sets of parameters.

### Claim 60 (depends on 51, 52, 53, 54, 55, 56, 57, 58, 59)

An apparatus for decoding an encoded data set comprising a header and a payload, comprising a processor configured to carry out the method of any of claims 51 to 59.

### Claim 61

A method of encoding a data set into an encoded data set comprising a header and a payload, the payload comprising a plurality of encoded data symbols representing information to be compressed, wherein a decoder is configured to decode subsets of the payload according to a predetermined decoding process, the method comprising:
retrieving a variation parameter which indicates how the predetermined decoding process should be varied;
encoding the variation parameter in a set of metadata elements into the header;
encoding the information to be compressed into the payload according to an encoding process based on the variation parameter, such that the decoding process is optimised for the plurality of encoded data symbols.

### Claim 62 (depends on 61)

A method according to claim 61, wherein the variation parameter indicates multiple subsets of the payload shall be decoded according one or more of the same decoding parameters.

### Claim 63 (depends on 61, 62)

A method according to claim 61 or 62, wherein the variation parameter indicates quantization is disabled, such that the plurality of encoded data symbols are not quantized during decoding.

### Claim 64 (depends on 61, 62, 63)

A method according to any of claims 61 to 63, wherein the encoded payload comprises a plurality of data structures each comprising metadata and a plurality of encoded data symbols, wherein the metadata indicates features of the data structures, encoded data symbols or both, and wherein the variation parameter indicates that expected optimisations on the metadata of the optimisation process have not been performed.

### Claim 65 (depends on 61, 62, 63, 64)

A method according to any of claims 61 to 64, wherein the predetermined encoding process expects the payload to comprise a plurality of data structures each comprising metadata and a plurality of encoded data symbols, wherein the metadata indicates features of the data structure, encoded data symbols or both, and wherein the variation parameter indicates the encoded data structures comprise only data symbols and do not comprise metadata.

### Claim 66 (depends on 61, 62, 63, 64, 65)

A method according to any of claims 61 to 65, wherein the variation parameter indicates groups of subsets of the payload are encoded according to the same encoding parameters.

### Claim 67 (depends on 61, 62, 63, 64, 65, 66)

A method according to any of claims 61 to 66, wherein the variation parameter indicates an encoding parameter for the payload is signalled explicitly in the encoded data set and is not signalled by reference.

### Claim 68 (depends on 61, 62, 63, 64, 65, 66, 67)

A method according to any of claims 61 to 67, wherein the payload comprises a plurality of subsets, each subset being encoded according to a set of encoding parameters, and wherein the variation parameter indicates that an indicator element of the encoded data set that indicates which set of encoding parameters have been used for a subset references a list of tuples of a plurality of lists of tuples, each element of the tuple referencing a parameter used from a different set of parameters.

### Claim 69 (depends on 61, 62, 63, 64, 65, 66, 67, 68)

A method according to any of claims 61 to 68, wherein the payload comprises a plurality of subsets, each subset being encoded according to a set of encoding parameters, and wherein the variation parameter indicates that an indicator element of the encoded data set that indicates which set of encoding parameters have been used for a subset is a reference to a set of parameters from a plurality of different sets of parameters.

### Claim 70 (depends on 61, 62, 63, 64, 65, 66, 67, 68, 69, 70)

An apparatus for encoding a data set into an encoded data set comprising a header and a payload, the payload comprising a plurality of encoded data symbols representing information to be compressed, wherein a decoder is configured to decode subsets of the payload according to a predetermined decoding process, the apparatus comprising a processor configured to carry out the method of any of claims 61 to 70.

### Claim 71 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 68, 69)

A computer readable medium comprising instructions which cause a processor to carry out the method of any of claims 1 to 11, 13 to 23, 25 to 39, 41 to 49, 51 to 59 and 61 to 69.
