Search

US-12621460-B2 - System and method for video coding

US12621460B2US 12621460 B2US12621460 B2US 12621460B2US-12621460-B2

Abstract

An image encoder or decoder includes circuitry and a memory coupled to the circuitry. The circuitry, in operation, predicts a first set of samples for a first partition of a current picture with one or more motion vectors including a first motion vector and predicts a second set of samples for a first portion of the first partition with one or more motion vectors from a second partition different from the first partition. The samples of the first set of samples of the first portion of the first partition and of the second set of samples of the first portion of the first partition are weighted. A motion vector for the first portion of the first partition is stored which is based on one or both of the first motion vector and the second motion vector. The first partition is encoded or decoded using at least the weighted samples of the first portion of the first partition.

Inventors

  • Ru Ling LIAO
  • Chong Soon Lim
  • Hai Wei Sun
  • Han Boon Teo
  • Jing Ya LI
  • Kiyofumi Abe
  • Takahiro Nishi
  • Tadamasa Toma

Assignees

  • PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA

Dates

Publication Date
20260505
Application Date
20241008

Claims (3)

  1. 1 . An image encoder comprising: memory; and a processor coupled to the memory and configured to: derive a first motion vector for a first partition and a second motion vector for a second partition to encode a first portion in which the first partition is overlapped with the second partition in a current block, the second motion vector being a uni-prediction motion vector; store, for the first portion, one of the first motion vector and the second motion vector in response to a first condition; and store, for the first portion, both of the first motion vector and the second motion vector in response to a second condition different from the first condition.
  2. 2 . An image decoder comprising: memory; and a processor coupled to the memory and configured to: derive a first motion vector for a first partition and a second motion vector for a second partition to decode a first portion in which the first partition is overlapped with the second partition in a current block, the second motion vector being a uni-prediction motion vector; store, for the first portion, one of the first motion vector and the second motion vector in response to a first condition; and store, for the first portion, both of the first motion vector and the second motion vector in response to a second condition different from the first condition.
  3. 3 . A non-transitory computer readable medium storing a bitstream, the bitstream including information which indicates a first condition or a second condition different from the first condition and according to which a decoder performs a partition decoding process, in the partition decoding process: a first motion vector for a first partition and a second motion vector for a second partition being derived to decode a first portion in which the first partition is overlapped with the second partition in a current block, the second motion vector being a uni-prediction motion vector; one of the first motion vector and the second motion vector being stored for the first portion in response to the first condition; and both of the first motion vector and the second motion vector being stored for the first portion in response to the second condition.

Description

BACKGROUND Technical Field This disclosure relates to video coding, and particularly to video encoding and decoding systems, components, and methods for performing an inter prediction function to build a prediction of a current frame based on a reference frame. Description of the Related Art With advancement in video coding technology, from H.261 and MPEG-1 to H.264/AVC (Advanced Video Coding), MPEG-LA, H.265/HEVC (High Efficiency Video Coding) and H.266/VVC (Versatile Video Codec), there remains a constant need to provide improvements and optimizations to the video coding technology to process an ever-increasing amount of digital video data in various applications. This disclosure relates to further advancements, improvements and optimizations in video coding, particularly in an inter prediction function to build a prediction of a current frame based on a reference frame. BRIEF SUMMARY In one aspect, an image encoder includes circuitry and a memory coupled to the circuitry. The circuitry, in operation, predicts a first set of samples for a first partition of a current picture with one or more motion vectors including a first motion vector and predicts a second set of samples for a first portion of the first partition with one or more motion vectors from a second partition different from the first partition. The samples of the first set of samples of the first portion of the first partition and of the second set of samples of the first portion of the first partition are weighted. A motion vector for the first portion of the first partition is stored which is based on one or both of the first motion vector and the second motion vector. The first partition is encoded using at least the weighted samples of the first portion of the first partition. In one aspect, an image encoder comprises a splitter which, in operation, receives and splits an original picture into blocks, a first adder which, in operation, receives the blocks from the splitter and predictions from a prediction controller, and subtracts each prediction from its corresponding block to output a residual, a transformer which, in operation, performs a transform on the residuals outputted from the adder to output transform coefficients, a quantizer which, in operation, quantizes the transform coefficients to generate quantized transform coefficients, an entropy encoder which, in operation, encodes the quantized transform coefficients to generate a bitstream, an inverse quantizer and transformer which, in operation, inverse quantizes the quantized transform coefficients to obtain the transform coefficients and inverse transforms the transform coefficients to obtain the residuals, a second adder which, in operation, adds the residuals outputted from the inverse quantizer and transformer and the predictions outputted from the prediction controller to reconstruct the blocks, and the prediction controller coupled to an inter predictor, an intra predictor, and a memory. The inter predictor, in operation, generates a prediction of a current block based on a reference block in an encoded reference picture. Te intra predictor, in operation, generates a prediction of a current block based on an encoded reference block in a current picture. The inter predictor, in operation, predicts a first set of samples for a first partition of a current picture with one or more motion vectors including a first motion vector and predicts a second set of samples for a first portion of the first partition with one or more motion vectors from a second partition different from the first partition. The samples of the first set of samples of the first portion of the first partition and of the second set of samples of the first portion of the first partition are weighted. A motion vector for the first portion of the first partition is stored which is based on one or both of the first motion vector and the second motion vector. The first partition is encoded using at least the weighted samples of the first portion of the first partition. In one aspect, an encoding method comprises predicting a first set of samples for a first partition of a current picture with one or more motion vectors including a first motion vector and predicting a second set of samples for a first portion of the first partition with one or more motion vectors from a second partition different from the first partition. The samples of the first set of samples of the first portion of the first partition and of the second set of samples of the first portion of the first partition are weighted. A motion vector for the first portion of the first partition is stored which is based on one or both of the first motion vector and the second motion vector. The first partition is encoded using at least the weighted samples of the first portion of the first partition. In one aspect, an image decoder includes circuitry and a memory coupled to the circuitry. The circuitry, in operation, predicts a first set of samples for a f