# US 2022/0279162 A1 · Video signal processing method and device

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

- Number: US 2022/0279162 A1
- Document ID: US20220279162A1
- Status: Published application
- Kind: A1
- Application number: 17/629,385
- Filed: 2020-07-24
- Published: 2022-09-01
- Earliest claimed: 2019-07-25
- Assignees: Wilus Institute of Standards and Technology Inc.; Humax Co., Ltd.
- Applicants: Wilus Institute of Standards and Technology Inc.; Humax Co., Ltd.
- Inventors: Geonjung KO; Dongcheol KIM; Juhyung SON; Jaehong JUNG; Jinsam KWAK
- Web page: https://patentgrep.com/patent/US20220279162A1

## CPC

- 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/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/33: in the spatial domain
- H04N 19/593: involving spatial prediction techniques
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for processing a video signal, of the present disclosure, comprising the steps of: parsing, from a bitstream, upper level merge with MVD (MMVD) activation information (sps_mmvd_enabled_flag) indicating whether the upper level MMVD including a current block is usable; parsing, from the bitstream, MMVD merge information (mmvd_merge_flag) indicating whether the MMVD is used in the current block, if the upper level MMVD activation information indicates the activation of the MMVD; parsing MMVD distance-related information (mmvd_distance_idx) and MMVD direction-related information (mmvd_direction_idx), if the MMVD merge information indicates that the MMVD is used in the current block; and obtaining MMVD information (mMvdLX) based on the MMVD distance-related information and the MMVD direction-related information, wherein the MMVD information is greater than or equal to −2{circumflex over ( )}17 and is less than or equal to 2{circumflex over ( )}17−1.

## Claims

### Claim at position 1

1-8. (canceled)

### Claim 9

A method for decoding a video signal, the method comprising:
obtaining chroma component format information from a higher-level bitstream;
obtaining width-related information (SubWidthC) and height-related information (SubHeightC) based on the chroma component format information;
obtaining x-axis scale information based on the width-related information or information on a color component of a current block;
obtaining y-axis scale information based on the height-related information or information on the color component of the current block;
determining a location of a left block based on the y-axis scale information;
determining a location of an upper block based on the x-axis scale information;
determining a weighting value based on the left block and the upper block;
obtaining first samples by predicting the current block in a merge mode;
obtaining second samples by predicting the current block in an intra mode; and
obtaining a combination prediction sample for the current block based on the weighting value, the first samples, and the second samples.

### Claim 10 (depends on 9)

The method of claim 9, wherein the determining of the weighting value comprises:
if the left block is available, and a prediction mode of the left block is intra prediction, setting code information (isIntraCodedNeighbourA) of the left block to TRUE;
if the left block is not available, or the prediction mode of the left block is not intra prediction, setting the code information of the left block to FALSE;
if the upper block is available, and a prediction mode of the upper block is intra prediction, setting code information (isIntraCodedNeighbourB) of the upper block to TRUE; and
if the upper block is not available, or the prediction mode of the upper block is not intra prediction, setting the code information of the upper block to FALSE.

### Claim 11 (depends on 10)

The method of claim 10, wherein the determining the weighting value comprises:
if both the code information of the left block and the code information of the upper block are TRUE, determining the weighting value to be 3;
if both the code information of the left block and the code information of the upper block are FALSE, determining the weighting value to be 1; and
if only one of the code information of the left block and the code information of the upper block is TRUE, determining the weighting value to be 2.

### Claim 12 (depends on 9)

The method of claim 9, wherein the obtaining the combination prediction sample comprises predicting the current block based on predSamplesComb[x][y]=(w*predSamplesIntra[x][y]+(4−w)*predSamplesInter[x][y]+2)>>2, where predSamplesComb refers to the combination prediction sample, w refers to the weighting value, predSamplesIntra refers to the second samples, predSamplesInter refers to the first samples, [x] refers to an x-axis coordinate of a sample included in the current block, and [y] refers to a y-axis coordinate of the sample included in the current block.

### Claim 13 (depends on 9)

The method of claim 9, wherein the obtaining the x-axis scale information comprises:
if the color component of the current block is 0, or the width-related information is 1, determining the x-axis scale information to be 0; and
if the color component of the current block is not 0, and the width-related information is not 1, determining the x-axis scale information to be 1, and
the obtaining the y-axis scale information comprises:
if the color component of the current block is 0, or the height-related information is 1, determining the y-axis scale information to be 0; and
if the color component of the current block is not 0, and the height-related information is not 1, determining the y-axis scale information to be 1.

### Claim 14 (depends on 9)

The method of claim 9, wherein:
the location of the left block is (xCb−1, yCb−1+(cbHeight<<scallFactHeight)), where xCb is an x-axis coordinate of a top-left sample of a current luma block, yCb is a y-axis coordinate of the top-left sample of the current luma block, cbHeight is a value of a height of the current block, and scallFactHeight is the y-axis scale information; and
the location of the upper block is (xCb−1+(cbWidth<<scallFactWidth), yCb−1), where xCb is the x-axis coordinate of the top-left sample of the current luma block, yCb is the y-axis coordinate of the top-left sample of the current luma block, cbWidth is a value of a width of the current block, and scallFactWidth is the x-axis scale information.

### Claim at position 8

15-22. (canceled)

### Claim 23

A device for decoding a video signal, the device comprising a processor and a memory, wherein, based on instructions stored in the memory, the processor is configured to:
obtain chroma component format information from a higher-level bitstream;
obtain width-related information (SubWidthC) and height-related information (SubHeightC) based on the chroma component format information;
obtain x-axis scale information based on the width-related information or information on a color component of a current block;
obtain y-axis scale information based on the height-related information or information on the color component of the current block;
determine a location of a left block based on the y-axis scale information;
determine a location of an upper block based on the x-axis scale information;
determine a weighting value based on the left block and the upper block;
obtain first samples by predicting the current block in a merge mode;
obtain second samples by predicting the current block in an intra mode; and
obtain a combination prediction sample for the current block based on the weighting value, the first samples, and the second samples.

### Claim 24 (depends on 23)

The device of claim 23, wherein, based on the instructions stored in the memory, the processor is configured to: if the left block is available, and a prediction mode of the left block is intra prediction, set code information (isIntraCodedNeighbourA) of the left block to TRUE;
if the left block is not available, or the prediction mode of the left block is not intra prediction, set the code information of the left block to FALSE;
if the upper block is available, and a prediction mode of the upper block is intra prediction, set code information (isIntraCodedNeighbourB) of the upper block to TRUE; and
if the upper block is not available, or the prediction mode of the upper block is not intra prediction, set the code information of the upper block to FALSE.

### Claim 25 (depends on 24)

The device of claim 24, wherein, based on the instructions stored in the memory, the processor is configured to: if both the code information of the left block and the code information of the upper block are TRUE, determine the weighting value to be 3;
if both the code information of the left block and the code information of the upper block are FALSE, determine the weighting value to be 1; and
if only one of the code information of the left block and the code information of the upper block is TRUE, determine the weighting value to be 2.

### Claim 26 (depends on 23)

The device of claim 23, wherein, based on the instructions stored in the memory, the processor is configured to predict the current block based on predSamplesComb[x][y]=(w*predSamplesIntra[x][y]+(4−w)*predSamplesInter[x][y]+2)>>2, where predSamplesComb refers to the combination prediction sample, w refers to the weighting value, predSamplesIntra refers to the second samples, predSamplesInter refers to the first samples, [x] refers to an x-axis coordinate of a sample included in the current block, and [y] refers to a y-axis coordinate of the sample included in the current block.

### Claim 27 (depends on 23)

The device of claim 23, wherein, based on the instructions stored in the memory, the processor is configured to: if the color component of the current block is 0, or the width-related information is 1, determine the x-axis scale information to be 0;
if the color component of the current block is not 0, and the width-related information is not 1, determine the x-axis scale information to be 1;
if the color component of the current block is 0, or the height-related information is 1, determine the y-axis scale information to be 0; and
if the color component of the current block is not 0, and the height-related information is not 1, determine the y-axis scale information to be 1.

### Claim 28 (depends on 23)

The device of claim 23, wherein:
the location of the left block is (xCb−1, yCb−1+(cbHeight<<scallFactHeight)), where xCb is an x-axis coordinate of a top-left sample of a current luma block, yCb is a y-axis coordinate of the top-left sample of the current luma block, cbHeight is a value of a height of the current block, and scallFactHeight is the y-axis scale information; and
the location of the upper block is (xCb−1+(cbWidth<<scallFactWidth), yCb−1), where xCb is the x-axis coordinate of the top-left sample of the current luma block, yCb is the y-axis coordinate of the top-left sample of the current luma block, cbWidth is a value of a width of the current block, and scallFactWidth is the x-axis scale information.

### Claim at position 15

29-30. (canceled)

### Claim 31

A method for generating a bitstream including a video signal, the method comprising:
generating higher-level chroma component format information;
obtaining width-related information (SubWidthC) and height-related information (SubHeightC) based on the chroma component format information;
obtaining x-axis scale information based on the width-related information or information on a color component of a current block;
obtaining y-axis scale information based on the height-related information or information on the color component of the current block;
determining a location of a left block based on the y-axis scale information;
determining a location of an upper block based on the x-axis scale information;
determining a weighting value based on the left block and the upper block;
obtaining first samples by predicting the current block in a merge mode;
obtaining second samples by predicting the current block in an intra mode; and
obtaining a combination prediction sample for the current block based on the weighting value, the first samples, and the second samples.

### Claim 32

(canceled)

### Claim 33

A non-transitory computer-readable medium storing a bitstream, the bitstream being decoded by a decoding method,
wherein the decoding method comprises:
obtaining chroma component format information from a higher-level bitstream;
obtaining width-related information (SubWidthC) and height-related information (SubHeightC) based on the chroma component format information;
obtaining x-axis scale information based on the width-related information or information on a color component of a current block;
obtaining y-axis scale information based on the height-related information or information on the color component of the current block;
determining a location of a left block based on the y-axis scale information;
determining a location of an upper block based on the x-axis scale information;
determining a weighting value based on the left block and the upper block;
obtaining first samples by predicting the current block in a merge mode;
obtaining second samples by predicting the current block in an intra mode; and
obtaining a combination prediction sample for the current block based on the weighting value, the first samples, and the second samples.
