# US 10,958,931 B2 · Inter prediction method and apparatus in video coding system

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

- Number: US 10,958,931 B2
- Document ID: US10958931B2
- Status: Granted
- Kind: B2
- Application number: 16/301,082
- Filed: 2016-05-11
- Published: 2019-06-20
- Granted: 2021-03-23
- Earliest claimed: 2016-05-11
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jaeho Lee
- Web page: https://patentgrep.com/patent/US10958931B2

## CPC

- H04N 19/52: by predictive encoding
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/513: Processing of motion vectors
- H04N 19/573: Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

According to the present invention, a video decoding method comprises the steps of: deriving two motion vectors (MVs) for a current block; determining a super sample from among samples in the current block; deriving a refined motion vector and a first refined prediction sample for the super sample on the basis of the two MVs; deriving a second refined prediction sample for a nonsuper sample on the basis of the refined motion vector, wherein the non-super sample is a sample that is not the super sample from among the samples; and generating reconstructed samples on the basis of the first refined prediction sample and the second refined prediction sample. According to the present invention, a more accurate refined motion vector in a sample unit of a current block can be derived, and inter prediction efficiency can be significantly improved.

## Claims

### Claim 1

A video decoding method performed by a decoding apparatus, the method comprising:
deriving two motion vectors (MVs) for a current block;
determining a super sample among samples within the current block;
deriving a refine motion vector for the super sample and a first refine prediction sample based on the two MVs;
deriving a second refine prediction sample for a non-super sample based on the refine motion vector, wherein the non-super sample is a sample other than the super sample among the samples; and
generating reconstruction samples based on the first refine prediction sample and the second refine prediction sample,
wherein the method further comprises deriving a reference picture list 0 (L0) and a reference picture list 1 (L1),
wherein the two MVs comprise an MVL0 regarding the L0 and an MVL1 regarding the L1, wherein the refine motion vector for the super sample is derived based on an equation below,
Δ[i,j]=I(0)[i,j]−I(1)[i,j]+vx[i,j](Ix(0)[i,j]+Ix(1)[i,j])+vy[i,j](Iy(0)[i,j]+Iy(1)[i,j]), and
wherein [i,j] is coordinates of the super sample, the I(0)[i,j] is a value of an L0 reference sample indicated by the MVL0 within a first reference picture within the L0 with respect to the super sample, I(1)[I,j] is a value of an L1 reference sample indicated by the MVL1 within a second reference picture within the L1 with respect to the super sample, Ix(0)[i,j] and Iy(0)[i,j] are x axis and y axis partial differentiation values, respectively, at a [i j] position of the first reference picture, Ix(1)[i,j] and Iy(1)[i,j] indicate x axis and y axis partial differentiation values, respectively, at a [i j] position of the second reference picture, and vx[i,j] and vy[i j] are x component and y component of the refine motion vector, respectively, and the vx[i,j] and vy[i j] have values enabling Δ2 [I,j] to have a minimum value.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the first refine prediction sample is derived based on an equation below, and
P[i,j]=((P(0)[i,j]+P(1)[i,j])+Vx[i,j](Ix(0)[i,j]−Ix(1)[i,j])+Vy[i,j](Iy(0)[i,j]−Iy(1)[i,j]))>>1
wherein P[i,j] indicates a value of the first refine prediction sample.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the current block is a current sub PU partitioned from a current prediction unit (PU), and
the two MVs are derived based on a motion vector of one of neighbor blocks of the current PU.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
the current PU is partitioned into n (n is a positive integer) sub PUs of a P×Q size, and
the current sub PU is one of the sub PUs.

### Claim 5 (depends on 1)

The method of claim 1, wherein the super sample is a sample at a top-left sample position of the current block.

### Claim 6 (depends on 1)

The method of claim 1, wherein the super sample is an N-th (N is a positive integer) sample of the current block.

### Claim 7 (depends on 1)

The method of claim 1, wherein the super sample is a center bottom-right sample of the current block.

### Claim 8

A video decoding apparatus, comprising:
a predictor deriving two motion vectors (MVs) for a current block, determining a super sample among samples within the current block, deriving a refine motion vector for the super sample and a first refine prediction sample based on the two MVs, and deriving a second refine prediction sample for a non-super sample based on the refine motion vector; and
an adder generating reconstruction samples based on the first refine prediction sample and the second refine prediction sample,
wherein the predictor derives a reference picture list 0 (L0) and a reference picture list 1 (L1),
wherein the two MVs comprise an MVL0 regarding the L0 and an MVL1 regarding the L1,
wherein the refine motion vector for the super sample is derived based on an equation below,
Δ[i,j]=I(0)[i,j]−I(1)[i,j]+vx[i,j](Ix(0)[i,j]+Ix(1)[i,j])+vy[i,j](Iy(0)[i,j]+Iy(1)[i,j]), and
wherein [i,j] is coordinates of the super sample, the I(0)[i,j] is a value of an L0 reference sample indicated by the MVL0 within a first reference picture within the L0 with respect to the super sample, I(1)m[i,j] is a value of an L1 reference sample indicated by the MVL1 within a second reference picture within the L1 with respect to the super sample, Ix(0)[i,j] and Iy(0)[i,j] are x axis and axis partial differentiation values, respectively, at a [i,j] position of the first reference picture, Ix(1)[i,j] and Iy(1)[i,j] indicate x axis and y axis partial differentiation values, respectively, at a [i,j] position of the second reference picture, and vx[i,j] and vy[i,j] are x component and y component of the refine motion vector, respectively, and the vx[i,j] and the vy[i,j] have values enabling Δ2[i,j] to have a minimum value.

### Claim 9 (depends on 8)

The decoding apparatus of claim 8, wherein:
the first refine prediction sample is derived based on an equation below, and
P[i,j]=((P(0)[i,j]+P(1)[i,j])+Vx[i,j](Ix(0)[i,j]−Ix(1)[i,j])+Vy[i,j](Iy(0)[i,j]−Iy(1)[i,j]))>>1
wherein P[i,j] indicates a value of the first refine prediction sample.

### Claim 10 (depends on 8)

The decoding apparatus of claim 8, wherein:
the current block is a current sub PU partitioned from a current prediction unit (PU), and
the two MVs are derived based on a motion vector of one of neighbor blocks of the current PU.

### Claim 11

A video encoding method performed by an encoding apparatus, the method comprising: deriving two motion vectors (MVs) for a current block; determining a super sample among samples within the current block; deriving a refine motion vector for the super sample and a first refine prediction sample based on the two MVs; deriving a second refine prediction sample for a non-super sample based on the refine motion vector, wherein the non-super sample is a sample other than the super sample among the samples; and encoding and outputting information about prediction of the current block and information about a residual sample,
wherein the method further comprises deriving a reference picture list 0 (L0) and a reference picture list 1 (L1),
wherein the two MVs comprise an MVL0 regarding the L0 and an MVL1 regarding the L1, wherein the refine motion vector for the super sample is derived based on an equation below,
Δ[i,j]=I(0)[i,j]−I(1)[i,j]+vx[i,j](Ix(0)[i,j]+Ix(1)[i,j])+vy[i,j](Iy(0)[i,j]+Iy(1)[i,j]), and
wherein [i,j] is coordinates of the super sample, the I(0)[i j] is a value of an L0 reference sample indicated by the MVL0 within a first reference picture within the L0 with respect to the super sample, I(1)[I,j] is a value of an L1 reference sample indicated by the MVL1 within a second reference picture within the L1 with respect to the super sample, Ix(0)[i,j] and Iy(0)[i,j] are x axis and y axis partial differentiation values, respectively, at a [i j] position of the first reference picture, Ix(1)[i,j] and Iy(1)[i,j] indicate x axis and y axis partial differentiation values, respectively, at a [i j] position of the second reference picture, and vx[i,j] and vy[i j] are x component and y component of the refine motion vector, respectively, and the vx[i,j] and vy[i j] have values enabling Δ2 [i,j] to have a minimum value.
