CA3070902C

Video encoding and decoding with improved efficiency and using weight factor with predetermined bit precision

Abstract

An encoding method according to an embodiment includes a deriving step and an encoding step. The driving step derives a first reference value that is a reference value of a weighting factor based on fixed point precision representing roughness of the weighting factor that is used for making a motion-compensated prediction of a change in a pixel value by multiplying a reference image by the weighting factor. The encoding step encodes a first difference value that is a difference value between the weighting factor and the first reference value. The weighting factor is included in a range of predetermined bit precision having the first reference value at approximate center.

CA3070902C, drawing sheet 1
Sheet 1 of 29

Term

5.8 yearsleft in the term

Expires 27 June 2032.

  1. Priority and filed
  2. Granted
  3. Today
  4. Expires

4 claims: 4 independent, 0 dependent

  1. 1
    CA 3070902 2020-02-04 The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:1. An encoding method, comprising: encoding a first denominator for a luma weighting factor;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;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, and 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, and the second difference value is in a fixed range of -128 to +127 regardless of the first denominator;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, and the third difference value is in a fixed range of -128 to +127 regardless of the second denominator;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, the fourth difference value is in a fixed range, and the third reference value is equal to a value obtained by Date Reçue/Date Received 2021-07-14 subtracting a first value from the median value, wherein the first value is 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.
  2. 2
    A decoding method, comprising:decoding a first denominator for a luma weighting factor;decoding 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;decoding 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, and 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, and the second difference value is in a fixed range of -128 to +127 regardless of the first denominator;decoding 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, and the third difference value is in a fixed range of -128 to +127 regardless of the second denominator;and decoding a fourth difference value of a chroma offset from encoded data, wherein the fourth difference value is Date Reçue/Date Received 2021-07-14 equal to a value of a difference between the chroma offset and a third reference value, the fourth difference value is in a fixed range, and the third reference value is equal to a value obtained by subtracting a first value from the median value, wherein the first value is 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.
  3. 3
    A storage apparatus, comprising:a memory configured to store encoded data that includes data of a first denominator for a luma weighting factor;data of 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;data of 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, and 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, and the second difference value is in a fixed range of -128 to +127 regardless of the first denominator;data of 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 Date Reçue/Date Received 2021-07-14 binary digit specified by the second denominator, and the third difference value is in a fixed range of -128 to +127 regardless of the second denominator;and data of 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, the fourth difference value is in a fixed range, and the third reference value is equal to a value obtained by subtracting a first value from the median value, wherein the first value is 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.
  4. 4
    A transfer apparatus, comprising:a transmitter configured to transfer encoded data that includes data of a first denominator for a luma weighting factor;data of 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;data of 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, and 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, and the Date Reçue/Date Received 2021-07-14 second difference value is in a fixed range of -128 to +127 regardless of the first denominator;data of 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, and the third difference value is in a fixed range of -128 to +127 regardless of the second denominator;and data of 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, the fourth difference value is in a fixed range, and the third reference value is equal to a value obtained by subtracting a first value from the median value, wherein the first value is 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.