# US 2023/0058283 A1 · Video encoding and decoding based on resampling chroma signals

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

- Number: US 2023/0058283 A1
- Document ID: US20230058283A1
- Status: Published application
- Kind: A1
- Application number: 17/797,255
- Filed: 2021-02-17
- Published: 2023-02-23
- Earliest claimed: 2020-02-17
- Assignees: Hyundai Motor Company; Kia Corporation; Ewha University-Industry Collaboration Foundation
- Applicants: Hyundai Motor Company; Kia Corporation; Ewha University - Industry Collaboration Foundation
- Inventors: Je Won Kang; Seung Wook Park; Wha Pyeong Lim
- Web page: https://patentgrep.com/patent/US20230058283A1

## 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/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/426: using memory downsizing methods
- H04N 19/436: using parallelised computational arrangements
- 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

Disclosed is a video encoding/decoding method for performing inter-prediction on a current picture by resampling and referring to luma signals and chroma signals of a reference picture to improve encoding efficiency in video encoding and decoding for a frame having luma signals and chroma signals in various sample formats in one video sequence.

## Claims

### Claim 1

A video decoding method for a current block in a current picture including chroma signals having a resolution and a chroma format separate from luma signals, performed by a video decoding device, the video decoding method comprising:
obtaining size information and a chroma format of the current picture and generating a resolution for the chroma signals of the current picture from the size information and the chroma format;
obtaining decoded residual signals and inter-prediction information regarding the current block, wherein the inter-prediction information includes a reference picture index and a motion vector;
obtaining a resolution and a chroma format for chroma signals of a reference picture designated by the reference picture index;
when the resolution or the chroma format for the chroma signals of the current picture is different from the resolution or the chroma format for the chroma signals of the reference picture, resampling the chroma signals of the reference picture to match the resolution and the chroma format for the chroma signals of the reference picture and the resolution and the chroma format for the chroma signals of the current picture;
generating predicted signals for the current block based on the inter-prediction information; and
generating a reconstructed block by adding the predicted signals to the residual signals.

### Claim 2 (depends on 1)

The video decoding method of claim 1, wherein the size information includes a maximum width and a maximum height of the luma signals, a width and a height of luma signals of the current picture, a maximum width and a maximum height of the chroma signals, a width and a height of the chroma signals of the current picture, a flag indicating a change in the chroma format, a flag indicating a change in the resolution, and a scaling factor of the luma signals.

### Claim 3 (depends on 2)

The video decoding method of claim 2, wherein, when the maximum width and the maximum height of the chroma signals are not transmitted, the maximum width and the maximum height of the chroma signals are generated from the maximum width and the maximum height of the luma signals using a preset scale value.

### Claim 4 (depends on 2)

The video decoding method of claim 2, wherein, when the width and the height of the chroma signals of the current picture are not transmitted, the width and the height of the chroma signals of the current picture are generated from the width and the height of the luma signals of the current picture using a preset scale value.

### Claim 5 (depends on 2)

The video decoding method of claim 2, wherein the flag indicating a change in the chroma format is selectively decoded for the current picture for which the flag indicating a change in the resolution is true.

### Claim 6 (depends on 2)

The video decoding method of claim 2, wherein the flag indicating a change in the resolution is separately obtained for the luma signals and the chroma signals or is obtained as one flag commonly applied to the luma signals and the chroma signals.

### Claim 7 (depends on 2)

The video decoding method of claim 2, wherein, when the flag indicating a change in the resolution is false, the width and the height of the chroma signals of the current picture are respectively set to the maximum width and the maximum height of the chroma signals.

### Claim 8 (depends on 2)

The video decoding method of claim 2, wherein the generating of the resolution comprises generating the resolution of the chroma signals of the current picture from the width and the height of the chroma signals of the current picture, the chroma format, and the scaling factor of the luma signals.

### Claim 9 (depends on 1)

The video decoding method of claim 1, wherein, when the video decoding device supports a dual tree structure, separate resampling for the chroma signals of the reference picture is supported.

### Claim 10 (depends on 1)

The video decoding method of claim 1, wherein, when the reference picture is an I frame and a split structure of the I frame is a dual tree structure, separate resampling for chroma signals of the I frame is supported for all pictures referring to the I frame.

### Claim 11 (depends on 1)

The video decoding method of claim 1, wherein, when separate resampling for the chroma signals of the reference picture is supported, use of a method of adaptively transforming a color space is limited for a reference picture in a preset chroma format.

### Claim 12 (depends on 1)

The video decoding method of claim 1, wherein the generating of the predicted signals comprises adjusting a motion vector for the chroma signals of the reference picture in consideration of resampling when separate resampling for the chroma signals of the reference picture is applied.

### Claim 13

A video encoding method for a current block in a current picture including chroma signals having a resolution and a chroma format separate from luma signals, performed by a video encoding device, the video encoding method comprising:
obtaining size information and a chroma format of the current picture and generating a resolution for the chroma signals of the current picture from the size information and the chroma format;
obtaining inter-prediction information regarding the current block, wherein the inter-prediction information includes a reference picture index and a motion vector;
obtaining a resolution and a chroma format for chroma signals of a reference picture designated by the reference picture index;
when the resolution or the chroma format of the chroma signals of the current picture is different from the resolution or the chroma format of the chroma signals of the reference picture, resampling the chroma signals of the reference picture to match the resolution and the chroma format of the chroma signals of the reference picture and the resolution or the chroma format of the chroma signals of the current picture;
generating predicted signals for the current block based on the inter-prediction information; and
generating residual signals by subtracting the predicted signals from the current block.

### Claim 14 (depends on 13)

The video encoding method of claim 13, wherein the size information includes a maximum width and a maximum height of the luma signals, a current width and a current height of luma signals of the current picture, a maximum width and a maximum height of the chroma signals, a current width and a current height of the chroma signals of the current picture, a flag indicating a change in the chroma format, a flag indicating a change in the resolution, and a scaling factor of the luma signals.

### Claim 15 (depends on 14)

The video encoding method of claim 14, wherein the flag indicating a change in the chroma format is selectively encoded for the current picture for which the flag indicating a change in the resolution is true.

### Claim 16 (depends on 14)

The video encoding method of claim 14, wherein, when the flag indicating a change in the resolution is false, the width and the height of the chroma signals of the current picture are respectively set to the maximum width and the maximum height of the chroma signals.

### Claim 17 (depends on 14)

The video encoding method of claim 14, wherein the generating of the resolution comprises generating the resolution of the chroma signals of the current picture from the width and the height of the chroma signals of the current picture, the chroma format, and the scaling factor of the luma signals.

### Claim 18 (depends on 13)

The video encoding method of claim 13, wherein the generating of the predicted signals comprises adjusting a motion vector for the chroma signals of the reference picture in consideration of resampling when separate resampling for the chroma signals of the reference picture is applied.
