# US 2024/0205447 A1 · Methods for performing wrap-around motion compensation

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

- Number: US 2024/0205447 A1
- Document ID: US20240205447A1
- Status: Published application
- Kind: A1
- Application number: 18/590,150
- Filed: 2024-02-28
- Published: 2024-06-20
- Earliest claimed: 2019-12-17
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Jie CHEN; Yan YE; Ru-Ling LIAO; Jiancong LUO
- Web page: https://patentgrep.com/patent/US20240205447A1

## CPC

- H04N 19/513: Processing of motion vectors
- 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/597: specially adapted for multi-view video sequence encoding
- 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 method for performing motion compensation includes: receiving a first wrap-around motion compensation flag associated with one or more pictures, and a second wrap-around motion compensation flag associated with a sequence of pictures; and determining whether the first wrap-around motion compensation flag is equal to a first value or a second value based on the second wrap-around motion compensation flag or a luma coding tree block size: when the second wrap-around motion compensation flag is equal to the second value, determining the first wrap-around motion compensation flag equal to the second value, or when the luma coding tree block size in unit of minimum coding block plus 1 is greater than a picture width in unit of minimum coding block minus 1, determining the first wrap-around motion compensation flag is equal to the second value.

## Claims

### Claim 1

A method for decoding a video, comprising:
receiving a first wrap-around motion compensation flag associated with one or more pictures indicating whether a horizontal wrap-around is enabled or disabled for the one or more picture, and a second wrap-around motion compensation flag associated with a sequence of pictures indicating whether a horizontal wrap-around is enabled or disabled for the sequence of pictures; and
determining whether the first wrap-around motion compensation flag is equal to a first value or a second value based on the second wrap-around motion compensation flag or a luma coding tree block size, wherein determining whether the first wrap-around motion compensation flag is equal to the first value or the second value based on the second wrap-around motion compensation flag or the luma coding tree block size further comprises:
when the second wrap-around motion compensation flag is equal to the second value, determining the first wrap-around motion compensation flag equal to the second value, or
when the luma coding tree block size in unit of minimum coding block plus 1 is greater than a picture width in unit of minimum coding block minus 1, determining the first wrap-around motion compensation flag is equal to the second value;
wherein the first wrap-around motion compensation flag being equal to the first value indicates that a horizontal wrap-around motion compensation is enabled and the first wrap-around motion compensation flag being equal to the second value indicates that the horizontal wrap-around motion compensation is disabled, and
the second wrap-around motion compensation flag being equal to the first value indicates that the horizontal wrap-around motion compensation is enabled and the second wrap-around motion compensation flag being equal to the second value indicates that the horizontal wrap-around motion compensation is disabled.

### Claim 2 (depends on 1)

The method according to claim 1, wherein determining whether the first wrap-around motion compensation flag is equal to the first value or the second value based on the second wrap-around motion compensation flag or the luma coding tree block size further comprises:
when the second wrap-around motion compensation flag is equal to the first value and the luma coding tree block size in unit of minimum coding block plus 1 is equal to or less than the picture width in unit of minimum coding block minus 1, determining that the first wrap-around motion compensation flag is equal to the first value.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the first wrap-around motion compensation flag is signaled in a picture parameter set, and second wrap-around motion compensation flag is signaled in a sequence parameter set.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
in response to a determination that the first wrap-around motion compensation flag is equal to the first value, receiving a parameter associated with a wrap-around motion compensation offset being associated with the one or more pictures.

### Claim 5 (depends on 4)

The method according to claim 4, wherein a value of the parameter associated with the wrap-around motion compensation offset is less than or equal to a difference minus 2, and the difference is obtained by the picture width in unit of minimum coding block minus the luma coding tree block size in unit of minimum coding block.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the parameter associated with the wrap-around motion compensation offset is signaled in a picture parameter set.

### Claim 7 (depends on 4)

The method according to claim 4, further comprises:
determining a second parameter associated with a second wrap-around motion compensation offset by adding an offset to the parameter associated with the wrap-around motion compensation offset received from a bitstream; and
performing motion compensation on the one or more pictures according to the second parameter associated with the second wrap-around motion compensation offset.

### Claim 8

A method for encoding a video, comprising:
signaling a first wrap-around motion compensation flag associated with one or more pictures indicating whether a horizontal wrap-around is enabled or disabled for the one or more picture, and a second wrap-around motion compensation flag associated with a sequence of pictures indicating whether a horizontal wrap-around is enabled or disabled for the sequence of pictures; and
determining whether the first wrap-around motion compensation flag is equal to a first value or a second value based on the second wrap-around motion compensation flag or a luma coding tree block size, wherein determining whether the first wrap-around motion compensation flag is equal to the first value or the second value based on the second wrap-around motion compensation flag or the luma coding tree block size further comprises:
when the second wrap-around motion compensation flag is equal to the second value, determining the first wrap-around motion compensation flag equal to the second value, or
when the luma coding tree block size in unit of minimum coding block plus 1 is greater than a picture width in unit of minimum coding block minus 1, determining the first wrap-around motion compensation flag is equal to the second value;
wherein the first wrap-around motion compensation flag equal to the first value indicates a horizontal wrap-around motion compensation is enabled and the first wrap-around motion compensation flag equal to the second value indicates the horizontal wrap-around motion compensation is disabled, and
the second wrap-around motion compensation flag equal to the first value indicates the horizontal wrap-around motion compensation is enabled and the second wrap-around motion compensation flag equal to the second value indicates the horizontal wrap-around motion compensation is disabled.

### Claim 9 (depends on 8)

The method according to claim 8, wherein determining whether the first wrap-around motion compensation flag is equal to the first value or the second value based on the second wrap-around motion compensation flag or the luma coding tree block size further comprises:
when the second wrap-around motion compensation flag is equal to the first value and the luma coding tree block size in unit of minimum coding block plus 1 is equal to or less than the picture width in unit of minimum coding block minus 1, determining the first wrap-around motion compensation flag is equal to the first value.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the first wrap-around motion compensation flag is signaled in a picture parameter set, and second wrap-around motion compensation flag is signaled in a sequence parameter set.

### Claim 11 (depends on 8)

The method according to claim 8, further comprising:
in response to a determination that the first wrap-around motion compensation flag is equal to the first value, signaling a parameter associated with a wrap-around motion compensation offset being associated with the one or more pictures.

### Claim 12 (depends on 11)

The method according to claim 11, wherein a value of the parameter associated with the wrap-around motion compensation offset is less than or equal to a difference minus 2, and the difference is obtained by the picture width in unit of minimum coding block minus the luma coding tree block size in unit of minimum coding block.

### Claim 13 (depends on 11)

The method according to claim 11, wherein the parameter associated with the wrap-around motion compensation offset is signaled in a picture parameter set.

### Claim 14 (depends on 11)

The method according to claim 11, further comprises:
determining a second parameter associated with a second wrap-around motion compensation offset by adding an offset to the parameter associated with the wrap-around motion compensation offset received from a bitstream; and
performing motion compensation on the one or more pictures according to the second parameter associated with the second wrap-around motion compensation offset.

### Claim 15

A non-transitory computer readable storage medium for storing a bitstream generated by an encoder, the encoder configured to perform operations comprising:
signaling a first wrap-around motion compensation flag associated with one or more pictures indicating whether a horizontal wrap-around is enabled or disabled for the one or more picture, and a second wrap-around motion compensation flag associated with a sequence of pictures indicating whether a horizontal wrap-around is enabled or disabled for the sequence of pictures; and
determining whether the first wrap-around motion compensation flag is equal to a first value or a second value based on the second wrap-around motion compensation flag or a luma coding tree block size, wherein determining whether the first wrap-around motion compensation flag is equal to the first value or the second value based on the second wrap-around motion compensation flag or the luma coding tree block size further comprises:
when the second wrap-around motion compensation flag is equal to the second value, determining the first wrap-around motion compensation flag is equal to the second value, or
when the luma coding tree block size in unit of minimum coding block plus 1 is greater than a picture width in unit of minimum coding block minus 1, determining the first wrap-around motion compensation flag is equal to the second value;
wherein the first wrap-around motion compensation flag equal being to the first value indicates that a horizontal wrap-around motion compensation is enabled and the first wrap-around motion compensation flag being equal to the second value indicates that the horizontal wrap-around motion compensation is disabled, and
the second wrap-around motion compensation flag being equal to the first value indicates that the horizontal wrap-around motion compensation is enabled and the second wrap-around motion compensation flag being equal to the second value indicates that the horizontal wrap-around motion compensation is disabled.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein the operations further comprise:
when the second wrap-around motion compensation flag is equal to the first value and the luma coding tree block size in unit of minimum coding block plus 1 is equal to or less than the picture width in unit of minimum coding block minus 1, determining the first wrap-around motion compensation flag is equal to the first value.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein the first wrap-around motion compensation flag is signaled in a picture parameter set, and second wrap-around motion compensation flag is signaled in a sequence parameter set.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein the operations further comprise:
in response to a determination that the first wrap-around motion compensation flag is equal to the first value, signaling a parameter associated with a wrap-around motion compensation offset being associated with the one or more pictures.

### Claim 19 (depends on 18)

The non-transitory computer readable storage medium according to claim 18, wherein a value of the parameter associated with the wrap-around motion compensation offset is less than or equal to a difference minus 2, and the difference is obtained by the picture width in unit of minimum coding block minus the luma coding tree block size in unit of minimum coding block.

### Claim 20 (depends on 18)

The non-transitory computer readable storage medium according to claim 18, wherein the parameter associated with the wrap-around motion compensation offset is signaled in a picture parameter set.
