Search

CN-121985120-A - Video signal encoding/decoding method and apparatus therefor

CN121985120ACN 121985120 ACN121985120 ACN 121985120ACN-121985120-A

Abstract

The present invention provides a video signal encoding/decoding method and apparatus for the same. The video decoding method of the present invention includes the steps of determining whether to apply a merge motion difference coding method to a current block, generating a merge candidate list of the current block, determining a merge candidate of the current block based on the merge candidate list, and deriving a motion vector of the current block based on the merge candidate.

Inventors

  • LI PEIGEN

Assignees

  • OPPO广东移动通信有限公司

Dates

Publication Date
20260505
Application Date
20191108
Priority Date
20181108

Claims (10)

  1. 1. A method of receiving a code stream, comprising: Receiving a code stream, and Performing a video decoding method to decode the code stream to generate video or images; The video decoding method comprises the following steps: Determining whether to apply the combined motion difference coding method to the current block; generating a merging candidate list of the current block; Determining a merge candidate of the current block based on the merge candidate list, and Deriving a motion vector of the current block based on the merge candidate, wherein, Deriving a motion vector of the current block by adding an offset vector to the motion vector derived based on the merge candidates when the merge motion difference encoding method is applied to the current block, selecting a merge candidate of the current block based on index information indicating one of the merge candidate lists decoded from a bitstream when a maximum number of the merge candidates included in the merge candidate list is more than 1, and determining the merge candidate without decoding the index information when the maximum number is 1; Determining a size of the offset vector based on first index information indicating one of a plurality of motion offset size candidates; wherein at least one of a maximum value or a minimum value of the motion offset size candidates is differently set according to a value of a flag indicating a range of the motion offset size candidates, or is differently set according to a motion vector precision of the current block.
  2. 2. The method of receiving a code stream according to claim 1, wherein, The flag is signaled at the image level.
  3. 3. The method of receiving a code stream according to claim 1, wherein, The magnitude of the offset vector is obtained by performing a shift operation on a value represented by the motion offset magnitude candidate specified by the first index information.
  4. 4. The method of receiving a code stream according to claim 1, wherein, The direction of the offset vector is determined based on second index information indicating one of a plurality of vector direction candidates.
  5. 5. A method of transmitting a code stream, comprising: Performing a video encoding method to generate a code stream, and Transmitting the code stream; The video coding method comprises the following steps: Determining whether to apply the combined motion difference coding method to the current block; generating a merging candidate list of the current block; Determining a merge candidate of the current block based on the merge candidate list, and Deriving a motion vector of the current block based on the merge candidate, wherein, Deriving a motion vector of the current block by adding an offset vector to the motion vector derived based on the merge candidates when the merge motion difference coding method is applied to the current block, coding index information indicating the merge candidates of the current block in the merge candidate list when the maximum number of merge candidates included in the merge candidate list is more than 1, and omitting coding the index information when the maximum number is 1; Wherein a flag indicating a range of the motion offset size candidates is encoded, wherein at least one of a maximum value or a minimum value of the motion offset size candidates is differently set according to a value of the flag, or at least one of a maximum value or a minimum value of the motion offset size candidates is differently set according to a motion vector precision of the current block.
  6. 6. The method for transmitting a code stream according to claim 5, wherein, The flags are encoded at the picture level.
  7. 7. The method for transmitting a code stream according to claim 5, wherein, The motion offset size candidate has a value derived by shifting the size of the offset vector.
  8. 8. The method for transmitting a code stream according to claim 5, wherein, Second index information for specifying a vector direction candidate indicating a direction of the offset vector among a plurality of vector direction candidates is encoded.
  9. 9. A computer readable storage medium storing an executable program and a code stream, which when executed by one or more processors, implements the steps of the method of receiving a code stream according to any of claims 1 to 4 to receive and decode the code stream.
  10. 10. A computer readable storage medium storing an executable program and a code stream, which when executed by one or more processors, implements the steps of the method of transmitting a code stream according to any of claims 5 to 8 to transmit the code stream.

Description

Video signal encoding/decoding method and apparatus therefor Technical Field The present invention relates to a video signal encoding/decoding method and an apparatus therefor. Background With the trend of larger and larger display panels, video services with higher image quality are increasingly demanded. The biggest problem of high definition video services is that the amount of data is greatly increased, and in order to solve such a problem, research for improving the video compression rate is actively being conducted. As a representative example, in 2009, the video coding joint collaboration team JCT-VC (Joint Collaborative Team on Video Coding) was established by the motion picture expert group (Motion Picture Experts Group, MPEG) and the video coding expert group (Video Coding Experts Group, VCEG) under the international telecommunications union-telecommunications (ITU-T) flag. JCT-VC proposed the Video compression standard HEVC (high efficiency Video Coding ) and was approved on month 1, 25 of 2013, with compression performance about 2 times that of h.264/AVC. With the rapid development of high-definition video services, the performance of HEVC also gradually exposes its limitations. Disclosure of Invention Technical problem to be solved It is an object of the present invention to provide a method for refining a motion vector derived from a merge candidate based on an offset vector when encoding/decoding a video signal, and an apparatus for performing the method. An object of the present invention is to provide a method of signaling an offset vector when encoding/decoding a video signal and an apparatus for performing the method. The technical problems to be achieved by the present invention are not limited to the above-mentioned technical problems, and other technical problems not mentioned will be clearly understood by those of ordinary skill in the art to which the present invention pertains from the following description. Technical proposal The video signal decoding method according to the present invention includes the steps of determining whether to apply a merge motion difference coding method to a current block, generating a merge candidate list of the current block, determining a merge candidate of the current block based on the merge candidate list, and deriving a motion vector of the current block based on the merge candidate. Wherein when the merging motion difference coding method is applied to the current block, a motion vector of the current block is derived by adding an offset vector to the motion vector derived based on the merging candidates, when the maximum number of merging candidates included in the merging candidate list is more than 1, a merging candidate of the current block is selected based on index information indicating one of the merging candidates decoded from a bitstream, and when the maximum number is 1, the index information is not decoded to determine the merging candidate. In the video signal decoding method according to the present invention, the size of the offset vector may be determined based on first index information indicating one of a plurality of motion offset size candidates. In the video signal decoding method according to the present invention, at least one of a maximum value or a minimum value of the motion offset size candidates may be differently set according to a value of a flag indicating a quantity value of the motion offset size candidates. In the video signal decoding method according to the present invention, the flag may be signaled at the image level. In the video signal decoding method according to the present invention, at least one of a maximum value or a minimum value of the motion offset size candidates may be differently set according to motion vector precision of the current block. In the video signal decoding method according to the present invention, the magnitude of the offset vector may be obtained by performing a shift operation on a value represented by the motion offset magnitude candidate specified by the first index information. In the video signal decoding method according to the present invention, the direction of the offset vector may be determined based on second index information indicating one of a plurality of vector direction candidates. The video signal encoding method of the present invention includes the steps of determining whether to apply a merge motion difference encoding method to a current block, generating a merge candidate list of the current block, determining a merge candidate of the current block based on the merge candidate list, and deriving a motion vector of the current block based on the merge candidate, wherein when the merge motion difference encoding method is applied to the current block, the motion vector of the current block is derived by adding an offset vector to the motion vector derived based on the merge candidate, when the maximum number of merge candidates included in the merge candidat