# US 12,225,208 B2 · Encoding method and device thereof, and decoding method and device thereof

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

- Number: US 12,225,208 B2
- Document ID: US12225208B2
- Status: Granted
- Kind: B2
- Application number: 18/461,271
- Filed: 2023-09-05
- Published: 2023-12-21
- Granted: 2025-02-11
- Earliest claimed: 2018-02-28
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Seung-soo Jeong; Minwoo Park
- Web page: https://patentgrep.com/patent/US12225208B2

## CPC

- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/52: by predictive encoding
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/521: {for estimating the reliability of the determined motion vectors or motion vector field, e.g. for smoothing the motion vector field or for correcting motion vectors}
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video decoding method includes determining whether an ultimate motion vector expression (UMVE) mode is allowed for an upper data unit including a current block, when the UMVE mode is allowed for the upper data unit, determining whether the UMVE mode is applied to the current block, when the UMVE mode is applied to the current block, determining a base motion vector of the current block, determining a correction distance and a correction direction for correction of the base motion vector, determining a motion vector of the current block by correcting the base motion vector according to the correction distance and the correction direction, and reconstructing the current block based on the motion vector of the current block.

## Claims

### Claim 1

A video decoding method comprising:
obtaining, from a bitstream, correction distance range information indicating one of a plurality of correction distance candidate sets;
obtaining, from the bitstream, information about a correction distance and information about a correction direction;
determining a current correction distance by using the information about the correction distance and the correction distance range information;
determining a current correction direction by using the information about the correction direction; and
determining a motion vector of a current block by correcting a base motion vector according to the current correction distance and the current correction direction,
wherein:
one correction distance set from among the plurality of correction distance candidate sets comprises a preset number of correction distance candidates,
a correction distance set is selected, from among the plurality of correction distance candidate sets, according to the correction distance range information,
the correction distance is indicated by the information about the correction distance, among the preset number of correction distance candidates included in the selected correction distance set, and
a first correction distance candidate set, among the plurality of correction distance candidate sets, includes correction distance candidates {1, 2}, and a second correction distance candidate set, among the plurality of correction distance candidate sets, does not include the correction distance candidates {1, 2}.

### Claim 2

A video encoding method comprising:
generating correction distance range information indicating one of a plurality of correction distance candidate sets;
determining a motion vector of a current block;
determining a current correction distance and a current correction direction to represent the motion vector of the current block from a base motion vector;
generating information about a correction distance for indicating the current correction distance based on a correction distance set;
generating information about a correction direction for indicating the current correction direction; and
outputting a bitstream comprising the correction distance range information, the information about the correction distance, and the information about the correction direction,
wherein:
one correction distance set from among the plurality of correction distance candidate sets comprises a preset number of correction distance candidates,
the correction distance set is one among the plurality of correction distance candidate sets,
the information about the correction distance indicates the correction distance among the preset number of correction distance candidates included in the correction distance set, and
a first correction distance candidate set, among the plurality of correction distance candidate sets, includes correction distance candidates {1, 2}, and a second correction distance candidate set, among the plurality of correction distance candidate sets, does not include the correction distance candidates {1, 2}.

### Claim 3

A method of transmitting a bitstream generated by encoding a video, the method comprising:
generating a correction distance range information indicating one of a plurality of correction distance candidate sets;
determining a motion vector of a current block;
determining a current correction distance and a current correction direction to represent the motion vector of the current block from a base motion vector;
generating information about the correction distance for indicating the current correction distance based on a correction distance set;
generating information about the correction direction for indicating the current correction direction; and
outputting the bitstream comprising the correction distance range information, the information about the correction distance, and the information about the correction direction,
wherein:
one correction distance set from among the plurality of correction distance candidate sets comprises a preset number of correction distance candidates,
the correction distance set is one among the plurality of correction distance candidate sets,
the information about the correction distance indicates the correction distance among the preset number of correction distance candidates included in the correction distance set, and
a first correction distance candidate set, among the plurality of correction distance candidate sets, includes correction distance candidates {1, 2}, and a second correction distance candidate set, among the plurality of correction distance candidate sets, does not include the correction distance candidates {1, 2}.
