# US 2024/0414344 A1 · Encoding method that encodes a first denominator for a luma weighting factor, transfer device, and decoding method

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

- Number: US 2024/0414344 A1
- Document ID: US20240414344A1
- Status: Published application
- Kind: A1
- Application number: 18/809,232
- Filed: 2024-08-19
- Published: 2024-12-12
- Earliest claimed: 2012-06-27
- Assignees: Kabushiki Kaisha Toshiba
- Applicants: Kabushiki Kaisha Toshiba
- Inventors: Akiyuki TANIZAWA; Takeshi CHUJOH
- Web page: https://patentgrep.com/patent/US20240414344A1

## CPC

- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/15: by monitoring actual compressed data size at the memory before deciding storage at the transmission buffer
- H04N 19/176: the region being a block, e.g. a macroblock
- 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/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/513: Processing of motion vectors
- H04N 19/547: Motion estimation performed in a transform domain
- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N 19/61: in combination with predictive coding
- H04N 19/625: using discrete cosine transform [DCT]
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/182: the unit being a pixel
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/186: the unit being a colour or a chrominance component
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

According to an embodiment, an encoding device includes a deriving unit and an encoding unit. The deriving unit is configured to derive a first reference value based on fixed point precision representing roughness of a weighting factor that is used for multiplying a reference image. The encoding unit is configured to encode a first difference value that is a difference value between the weighting factor and the first reference value and the fixed point precision. The weighting factor is included in a first range of predetermined bit precision having the first reference value at approximate center. The first difference value is in the predetermined range.

## Claims

### Claim 1

An encoding method, comprising:
encoding a first denominator for a luma weighting factor of a target image;
encoding a first difference value that is equal to a value of a difference between the first denominator and a second denominator for a chroma weighting factor of the target image;
encoding a second difference value of the luma weighting factor, wherein the second difference value is equal to a value of a difference between the luma weighting factor and a first reference value, the first reference value is equal to a value obtained by left shift of “1” by at least one binary digit specified by the first denominator, the second difference value is in a fixed range of −128 to +127 regardless of the first denominator, and the luma weighting factor is in a range of (the first reference value −128) to (the first reference value +127);
encoding a third difference value of the chroma weighting factor, wherein the third difference value is equal to a value of a difference between the chroma weighting factor and a second reference value, the second reference value is equal to a value obtained by left shift of “1” by at least one binary digit specified by the second denominator, the third difference value is in a fixed range of −128 to +127 regardless of the second denominator, and the chroma weighting factor is in a range of (the second reference value −128) to (the second reference value +127); and
encoding a fourth difference value of a chroma offset, wherein the fourth difference value is equal to a value of a difference between the chroma offset and a third reference value of the chroma offset, the third reference value is derived by subtracting a value obtained by both multiplying a median value of a maximum pixel value by the chroma weighting factor and shifting to right for the at least one binary digit specified by the second denominator, from the median value, the fourth difference value is in a fixed range of −2n to +2n−1, and the chroma offset is in a range of (the third reference value −2n) to (the third reference value +2n−1).

### Claim 2

A storage device, comprising:
one or more processors configured to generate encoded data in which
data of a first denominator for a luma weighting factor of a target image is encoded;
data of a first difference value is encoded, wherein the first difference value is equal to a value of a difference between the first denominator and a second denominator for a chroma weighting factor of the target image;
data of a second difference value of the luma weighting factor is encoded, wherein the second difference value is equal to a value of a difference between the luma weighting factor and a first reference value, the first reference value is equal to a value obtained by left shift of “1” by at least one binary digit specified by the first denominator, the second difference value is in a fixed range of −128 to +127 regardless of the first denominator, and the luma weighting factor is in a range of (the first reference value −128) to (the first reference value +127);
data of a third difference value of the chroma weighting factor is encoded, wherein the third difference value is equal to a value of a difference between the chroma weighting factor and a second reference value, the second reference value is equal to a value obtained by left shift of “1” by at least one binary digit specified by the second denominator, the third difference value is in a fixed range of −128 to +127 regardless of the second denominator, and the chroma weighting factor is in a range of (the second reference value −128) to (the second reference value +127);
data of a fourth difference value of a chroma offset is encoded, wherein the fourth difference value is equal to a value of a difference between the chroma offset and a third reference value of the chroma offset, the third reference value is derived by subtracting a value obtained by both multiplying a median value of a maximum pixel value by the chroma weighting factor and shifting to right for the at least one binary digit specified by the second denominator, from the median value, the fourth difference value is in a fixed range of −2n to +2n−1, and the chroma offset is in a range of (the third reference value −2n) to (the third reference value +2n−1); and
a memory configured to store the encoded data.
