IP Library Granted Patent US 11,234,016
Granted Patent B2
US 11,234,016 · App. 16/954,639 · Granted Jan 25, 2022

Method and device for video decoding, and method and device for video encoding

Inventors: Anish Tamse (Suwon-si, KR); Minwoo Park (Suwon-si, KR); Seungsoo Jeong (Suwon-si, KR); Jinyoung Lee (Suwon-si, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
H04N19/52H04N19/122H04N19/176H04N19/186H04N19/59
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,234,016
App. No.
16/954,639
Granted
Jan 25, 2022
Kind
B2
Abstract

A method and apparatus for, in a video encoding and decoding procedure, selecting a candidate motion vector of a current block from a motion vector candidate list of the current block, determining a motion vector of the current block by performing a motion search based on the candidate motion vector, performing motion compensation by using the determined motion vector of the current block, and applying local luminance compensation to the current block based on whether the local luminance compensation is to be applied to the current block, wherein a cost function used for performing the motion search is determined based on whether the local luminance compensation is to be applied to the current block.

Claims (40)

1. A video decoding method comprising:

selecting a candidate motion vector of a current block from a motion vector candidate list of the current block;

determining a motion vector of the current block by performing a motion search based on the candidate motion vector;

performing motion compensation by using the determined motion vector of the current block; and

applying local luminance compensation to the current block based on whether the local luminance compensation is to be applied to the current block,

wherein a cost function used for performing the motion search is determined based on whether the local luminance compensation is to be applied to the current block,

wherein N×N samples at an upper left location of the current block, from a center of the current block, corresponding to ¼ of 2N×2N all samples of the current block are used in calculation of the cost function, and

in response to a result value of the calculation being smaller than a first predetermined threshold, N×2N samples at an upper location, from the center of the current block, corresponding to ½ of the 2N×2N all samples are used in the calculation of the cost function, and

in response to the result value of the calculation being smaller than a second predetermined threshold, the cost function is calculated for the 2N×2N all samples.

2. The video decoding method of claim 1 , wherein the cost function is one of a sum of absolute differences (SAD) and a mean removed sum of absolute differences (MR SAD), and

in response to the local luminance compensation being applied to the current block, the cost function is determined as the MR SAD.

3. The video decoding method of claim 1 , wherein the motion search is performed by using areas of a predetermined size including a template area and a peripheral area of a reference block, the template area including reconstructed samples neighboring the current block and the peripheral area of the reference block being indicated by the candidate motion vector of the current block,

an area with a lowest cost of calculation of the cost function with the template area among the areas of the predetermined size is determined as an optimum matching area, and

a motion vector for an area corresponding to the current block located around the optimum matching area is determined as the motion vector of the current block.

4. The video decoding method of claim 1 , wherein

the motion search uses a L0 reference list motion vector and a L1 reference list motion vector that are indicated by the current block according to bi-directional prediction, and is performed by using areas of a predetermined size including peripheral areas of reference blocks indicated by the L0 reference list motion vector and the L1 reference list motion vector, and

a motion vector corresponding to an area with a lowest cost of calculation of the cost function with the current block among the areas of the predetermined size is determined as the motion vector of the current block.

5. The video decoding method of claim 1 , wherein whether the local luminance compensation is to be applied to the current block is determined by signaled local luminance compensation information.

6. The video decoding method of claim 1 , wherein whether the local luminance compensation is to be applied to the current block is determined based on whether the local luminance compensation is to be applied to a reference block indicated by the determined motion vector of the current block.

7. A video encoding method comprising:

selecting a candidate motion vector of a current block from a motion vector candidate list of the current block;

determining a motion vector of the current block by performing a motion search based on the candidate motion vector;

performing motion compensation by using the determined motion vector of the current block; and

applying local luminance compensation to the current block based on whether the local luminance compensation is to be applied to the current block,

wherein a cost function used for performing the motion search is determined based on whether the local luminance compensation is to be applied to the current block,

wherein samples at an upper left location of the current block, from a center of the current block, corresponding to ¼ of all samples of the current block are used in calculation of the cost function, and

in response to a result value of the calculation being smaller than a first predetermined threshold, N×2N samples at an upper location, from the center of the current block, corresponding to ½ of the 2N×2N all samples are used in the calculation of the cost function, and

in response to the result value of the calculation being smaller than a second predetermined threshold, the cost function is calculated for all samples.

8. A video decoding apparatus comprising:

a memory; and

at least one processor connected to the memory,

wherein the at least one processor is configured to

select a candidate motion vector of a current block from a motion vector candidate list of the current block,

determine a motion vector of the current block by performing a motion search based on the candidate motion vector,

perform motion compensation by using the determined motion vector of the current block, and

apply local luminance compensation to the current block based on whether the local luminance compensation is to be applied to the current block,

wherein a cost function used for performing the motion search is determined based on whether the local luminance compensation is to be applied to the current block,

wherein samples at an upper left location of the current block, from a center of the current block, corresponding to ¼ of all samples of the current block are used in calculation of the cost function, and

in response to a result value of the calculation being smaller than a first predetermined threshold, N×2N samples at an upper location, from the center of the current block, corresponding to ½ of the 2N×2N all samples are used in the calculation of the cost function, and

in response to the result value of the calculation being smaller than a second predetermined threshold, the cost function is calculated for all samples.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 17, 2020
From: TAMSE, ANISH; PARK, MINWOO; JEONG, SEUNGSOO; LEE, JINYOUNG
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 052961/0887 →
Continuity (3)
Provisional Application 62644758 · Mar 19, 2018
Provisional Application 62617781 · Jan 16, 2018
Related Publication 20200314446A1 · Oct 1, 2020
Cited By (1)
US 12,676,974