Search

EP-4736425-A1 - DERIVATION OF CODING PARAMETERS

EP4736425A1EP 4736425 A1EP4736425 A1EP 4736425A1EP-4736425-A1

Abstract

Disclosed herein are systems, methods, and instrumentalities associated with video coding (e.g., encoding or decoding). A video coding device such as a video encoding device or a video decoding device may determine a first matching cost (e.g., template matching or bilateral matching) associated with a coding unit (CU) based on a default value of a coding parameter or without the coding parameter, and further determine a second matching cost associated with the CU based on a candidate value of the coding parameter. The video coding device may derive a value of the coding parameter based at least on the first matching cost and the second matching cost, and code (e.g., encode or decode) the CU based on the derived value of the coding parameter.

Inventors

  • ROBERT, ANTOINE
  • LE LEANNEC, FABRICE
  • NASER, Karam
  • REUZE, Kevin

Assignees

  • InterDigital CE Patent Holdings, SAS

Dates

Publication Date
20260506
Application Date
20240614

Claims (20)

  1. 1 . A video decoding device, comprising: a processor configured to: obtain a video block coded in an inter prediction mode; calculate a first template matching cost associated with the video block; determine whether to enable local illumination compensation (LIC) for the video block based at least on the first template matching cost; and decode the video block based at least on the determination of whether to enable LIC for the video block.
  2. 2. The video decoding device of claim 1 , wherein the processor is further configured to: calculate a second template matching cost associated with the video block; and determine whether to enable LIC for the video block further based on the second template matching cost.
  3. 3. The video decoding device of claim 2, wherein the determination of whether to enable LIC for the video block is to disable LIC for the video block if the first template matching cost is smaller than the second template matching cost, and to enable LIC for the video block if the first template matching cost is greater than the second template matching cost.
  4. 4. The video decoding device of claim 2, wherein at least one of the first template matching cost or the second template matching cost is calculated based on a sum of absolute differences (SAD).
  5. 5. The video decoding device of claim 2, wherein the first template matching cost is calculated by disabling LIC for the video block, and wherein the second template matching cost is calculated by enabling LIC for the video block.
  6. 6. The video decoding device of claim 1 , wherein the processor being configured to determine whether to enable LIC for the video block based at least on the first template matching cost comprises the processor being configured to determine a value of an LIC flag associated with the video block based at least on the first template matching cost.
  7. 7. The video decoding device of claim 6, wherein the value of the LIC flag is determined without receiving an indication of the value of the LIC flag from a video bitstream, or inheriting the value of the LIC flag from another video block.
  8. 8. The video decoding device of claim 1 , wherein the processor is further configured to perform an adaptive reordering of merge candidates (ARMC) associated with the video block, and wherein the determination of whether to enable LIC for the video block is made before the performance of the ARMC.
  9. 9. The video decoding device of claim 1 , wherein the processor is further configured to perform an adaptive reordering of merge candidates (ARMC) associated with the video block, and wherein the determination of whether to enable LIC for the video block is made after the performance of the ARMC.
  10. 10. A video decoding method, comprising: obtaining a video block coded in an inter prediction mode; calculating a first template matching cost associated with the video block; determining whether to enable local illumination compensation (LIC) for the video block based at least on the first template matching cost; and decoding the video block based at least on the determination of whether to enable LIC for the video block.
  11. 11 . The video decoding method of claim 10, further comprising calculating a second template matching cost associated with the video block, wherein the determination of whether to enable LIC for the video block is made further based on the second template matching cost.
  12. 12. The video decoding method of claim 11 , wherein the determination of whether to enable LIC for the video block is to disable LIC for the video block if the first template matching cost is smaller than the second template matching cost, and to enable LIC for the video block if the first template matching cost is greater than the second template matching cost.
  13. 13. The video decoding method of claim 11 , wherein at least one of the first template matching cost or the second template matching cost is calculated based on a sum of absolute differences (SAD).
  14. 14. The video decoding method of claim 11 , wherein the first template matching cost is calculated by disabling LIC for the video block, and wherein the second template matching cost is calculated by enabling LIC for the video block.
  15. 15. The video decoding method of claim 10, wherein determining whether to enable LIC for the video block based at least on the first template matching cost comprises determining a value of an LIC flag associated with the video block based at least on the first template matching cost and without receiving an indication of the value of the LIC flag from a video bitstream or inheriting the value of the LIC flag from another video block.
  16. 16. The video decoding method of claim 10, further comprising performing an adaptive reordering of merge candidates (ARMC) associated with the video block, wherein the determination of whether to enable LIC for the video block is made before the performance of the ARMC.
  17. 17. The video decoding method of claim 10, further comprising performing a motion vector based prediction for the video block, wherein the determination of whether to enable LIC for the video block is made after the performance of the motion vector based prediction.
  18. 18. A video encoding device, comprising: a processor configured to: obtain a video block coded in an inter prediction mode; calculate a first template matching cost associated with the video block; determine whether to enable local illumination compensation (LIC) for the video block based at least on the first template matching cost; and encode the video block based at least on the determination of whether to enable LIC for the video block.
  19. 19. The video encoding device of claim 18, wherein the processor is further configured to: calculate a second template matching cost associated with the video block; and determine whether to enable LIC for the video block further based on the second template matching cost.
  20. 20. A video encoding method, comprising: obtaining a video block coded in an inter prediction mode; calculating a first template matching cost associated with the video block; determining whether to enable local illumination compensation (LIC) for the video block based at least on the first template matching cost; and encoding the video block based at least on the determination of whether to enable LIC for the video block.

Description

DERIVATION OF CODING PARAMETERS CROSS-REFERENCE TO RELATED APPLICATIONS [0001] This application claims the benefit of European Patent Application No. 23306100.1 , filed June 30, 2023, the disclosure of which is incorporated herein by reference in its entirety. BACKGROUND [0002] Video coding may use certain parameters. The derivation of these parameters may affect coding efficiency. SUMMARY [0003] Disclosed herein are systems, methods, and instrumentalities associated with video coding (e.g., encoding or decoding). A video coding device such as a video encoding device or a video decoding device may be configured to determine a first matching cost associated with a coding unit (CU) based on a default value of a coding parameter or without the coding parameter, and further determine a second matching cost associated with the CU based on a candidate value of the coding parameter. The video coding device may be further configured to derive a value of the coding parameter based at least on the first matching cost and the second matching cost, and code (e.g., encode or decode) the CU based on the derived value of the coding parameter. [0004] In examples, the first matching cost may include a first template matching (TM) cost or a first bilateral matching (BM) cost, and the second matching cost may include a second TM cost or a second BM. In examples, the coding parameter may include at least one of a local illumination compensation (LIC) flag, a switchable interpolation filter (SIF) flag, or an interpolation filter. In examples, the value of the coding parameter may be derived in various stages of an encoding or decoding process, such as, e.g., after an adaptive reordering of merge candidates. [0005] A video decoding device as described herein may obtain a video block coded in an inter prediction mode. The video decoding device may calculate a first template matching cost associated with the video block, determine whether to enable local illumination compensation (LIC) for the video block based at least on the first template matching cost, and decode the video block based at least on the determination of whether to enable LIC for the video block. [0006] In examples, the video decoding device may be further configured to calculate a second template matching cost associated with the video block, and determine whether to enable LIC for the video block further based on the second template matching cost. In examples, the determination of whether to enable LIC for the video block may be to disable LIC for the video block if the first template matching cost is smaller than the second template matching cost, and to enable LIC for the video block if the first template matching cost is greater than the second template matching cost. In examples, at least one of the first template matching cost or the second template matching cost is calculated based on a sum of absolute differences (SAD). In examples, the first template matching cost may be calculated by disabling LIC for the video block, and the second template matching cost is calculated by enabling LIC for the video block. [0007] In examples, the video decoding device being configured to determine whether to enable LIC for the video block based at least on the first template matching cost may comprise the video decoding device being configured to determine a value of an LIC flag associated with the video block based at least on the first template matching cost. In examples, the value of the LIC flag may be determined without receiving an indication of the value of the LIC flag from a video bitstream, or inheriting the value of the LIC flag from another video block. [0008] In examples, the video decoding device may be further configured to perform an adaptive reordering of merge candidates (ARMC) associated with the video block, wherein the determination of whether to enable LIC for the video block may be made before the performance of the ARMC. In other examples, the determination of whether to enable LIC for the video block may be made after the performance of the ARMC. [0009] A video encoding device as described herein may be configured to obtain a video block coded in an inter prediction mode. The video encoding device may be further configured to calculate a first template matching cost associated with the video block, determine whether to enable local illumination compensation (LIC) for the video block based at least on the first template matching cost, and encode the video block based at least on the determination of whether to enable LIC for the video block. In examples, the video encoding device may be further configured to calculate a second template matching cost associated with the video block; and determine whether to enable LIC for the video block further based on the second template matching cost. BRIEF DESCRIPTION OF THE DRAWINGS [0010] FIG. 1 A is a system diagram illustrating an example communications system in which one or more disclosed embodiments c