# US 12,003,757 B2 · Video signal processing method and device for processing motion vector difference information for inter prediction in video signal

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

- Number: US 12,003,757 B2
- Document ID: US12003757B2
- Status: Granted
- Kind: B2
- Application number: 17/438,276
- Filed: 2020-03-10
- Published: 2022-05-19
- Granted: 2024-06-04
- Earliest claimed: 2019-03-10
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Mehdi Salehifar; Seunghwan Kim
- Web page: https://patentgrep.com/patent/US12003757B2

## CPC

- H04N 19/52: by predictive encoding
- H04N 19/109: among a plurality of temporal predictive coding modes
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Embodiments of the present specification provide a method and a device for processing motion vector difference (MVD) information for inter prediction in a video signal. A method for decoding MVD information comprises the steps of: acquiring a first flag indicating whether a MVD for predicting the current block is greater than a first value; on the basis of the first flag, acquiring a second flag indicating whether the MVD is greater than a second value; and decoding size information of the MVD on the basis of the second flag, wherein a step for acquiring the size information of the MVD comprises a step for, if the MVD is equal to or smaller than the second value, decoding the size information of the MVD on the basis of a first difference value which corresponds to the difference between the second value and the first value.

## Claims

### Claim 1

A method for decoding motion vector difference (MVD) information for inter prediction in a video signal, the method comprising:
obtaining a first flag indicating whether an MVD for prediction of a current block is greater than a first value;
obtaining a second flag indicating whether the MVD is greater than a second value based on the first flag; and
decoding size information for the MVD based on the second flag,
wherein decoding the size information for the MVD includes:
decoding the size information for the MVD based on a first difference value corresponding to a difference between the second value and the first value based on the MVD being equal to or less than the second value, and
obtaining a third flag indicating whether the MVD is greater than a third value based on the MVD being greater than the second value, and
wherein a second difference value corresponding to a difference between the third value and the second value is greater than the first difference value.

### Claim 2 (depends on 1)

The method of claim 1, wherein decoding the size information for the MVD includes decoding the size information for the MVD using a fixed length code (FLC) based on the first difference value.

### Claim 3 (depends on 1)

The method of claim 1, wherein decoding the size information for the MVD includes decoding the size information for the MVD based on an exponential Golomb code having an order of two or more based on the MVD being greater than the second value.

### Claim 4 (depends on 1)

The method of claim 1, wherein the second difference value is set to be equal to a value obtained by multiplying the first difference value by two.

### Claim 5 (depends on 1)

The method of claim 1, wherein the MVD includes a horizontal component and a vertical component, and the horizontal component of the MVD and the vertical component of the MVD are coded based on different context models.

### Claim 6

A method for encoding motion vector difference (MVD) information for inter prediction in a video signal, the method comprising:
determining an MVD based on a motion vector of a current block and a motion vector of a neighboring block; and
encoding coding information for the MVD,
wherein the coding information for the MVD includes a first flag indicating whether the MVD is greater than a first value, a second flag coded based on the first flag and indicating whether the MVD is greater than a second value, and size information for the MVD,
wherein the size information for the MVD is coded based on a first difference value corresponding to a difference between the second value and the first value based on the MVD being equal to or less than the second value,
wherein encoding the coding information for the MVD includes encoding a third flag indicating whether the MVD is greater than a third value based on the MVD being greater than the second value, and
wherein a second difference value corresponding to a difference between the third value and the second value is greater than the first difference value.

### Claim 7 (depends on 6)

The method of claim 6, wherein encoding the coding information for the MVD includes encoding the size information for the MVD using a fixed length code (FLC) based on the first difference value.

### Claim 8 (depends on 6)

The method of claim 6, wherein encoding the coding information for the MVD includes encoding the size information for the MVD based on an exponential Golomb code having an order of two or more based on the MVD being greater than the second value.

### Claim 9 (depends on 6)

The method of claim 6, wherein the second difference value is set to be equal to a value obtained by multiplying the first difference value by two.

### Claim 10 (depends on 6)

The method of claim 6, wherein the MVD includes a horizontal component and a vertical component, and the horizontal component of the MVD and the vertical component of the MVD are coded based on different context models.

### Claim 11

A non-transitory computer-readable medium storing encoded picture information generated by performing the steps of:
determining a motion vector difference (MVD) based on a motion vector of a current block and a motion vector of a neighboring block; and
encoding coding information for the MVD,
wherein the coding information for the MVD includes a first flag indicating whether the MVD is greater than a first value, a second flag coded based on the first flag and indicating whether the MVD is greater than a second value, and size information for the MVD,
wherein the size information for the MVD is coded based on a first difference value corresponding to a difference between the second value and the first value based on the MVD being equal to or less than the second value,
wherein encoding the coding information for the MVD includes encoding a third flag indicating whether the MVD is greater than a third value based on the MVD being greater than the second value, and
wherein a second difference value corresponding to a difference between the third value and the second value is greater than the first difference value.
