# US 2021/0084318 A1 · System and method for video coding

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

- Number: US 2021/0084318 A1
- Document ID: US20210084318A1
- Status: Published application
- Kind: A1
- Application number: 17/025,629
- Filed: 2020-09-18
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: Panasonic Intellectual Property Corporation of America
- Applicants: Panasonic Intellectual Property Corporation of America
- Inventors: Che-Wei KUO; Chong Soon LIM; Han Boon TEO; Jing Ya LI; Hai Wei SUN; Chu Tong WANG; Tadamasa TOMA; Takahiro NISHI; Kiyofumi ABE; Yusuke KATO
- Web page: https://patentgrep.com/patent/US20210084318A1

## CPC

- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- 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/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- 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/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A decoder includes circuitry which, in operation, parses a first flag indicating whether a CCALF (cross component adaptive loop filtering) process is enabled for a first block located adjacent to a left side of a current block; parses a second flag indicating whether the CCALF process is enabled for a second block located adjacent to an upper side of the current block; determines a first index associated with a color component of the current block; and derives a second index indicating a context model, using the first flag, the second flag, and the first index. The circuitry, in operation, performs entropy decoding of a third flag indicating whether the CCALF process is enabled for the current block, using the context model indicated by the second index; and performs the CCALF process on the current block in response to the third flag indicating the CCALF process is enabled for the current block.

## Claims

### Claim 1

A decoder, comprising:
circuitry;
memory coupled to the circuitry;
wherein the circuitry, in operation:
parses a first flag indicating whether a CCALF (cross component adaptive loop filtering) process is enabled for a first block, the first block located adjacent to a left side of a current block;
parses a second flag indicating whether the CCALF process is enabled for a second block, the second block located adjacent to an upper side of the current block;
determines a first index associated with a color component of the current block;
derives a second index indicating a context model, using the first flag, the second flag, and the first index;
performs entropy decoding of a third flag indicating whether the CCALF process is enabled for the current block, using the context model indicated by the second index, and
performs the CCALF process on the current block in response to the third flag indicating the CCALF process is enabled for the current block.

### Claim 2 (depends on 1)

The decoder of claim 1, wherein,
the circuitry sets a value of the first index to 0 in response to the color component being a Cb component.

### Claim 3 (depends on 1)

The decoder of claim 1, wherein,
the circuitry derives the second index using a same equation as used in ALF (adaptive loop filtering).

### Claim 4

A decoding apparatus, comprising:
a decoder, which, in operation, decodes an encoded bitstream to output quantized coefficients;
an inverse quantizer, which, in operation, inverse quantizes the quantized coefficients to output transform coefficients;
an inverse transformer, which, in operation, inverse transforms the transform coefficients to output a prediction error;
an intra predictor, which, in operation, predicts blocks included in a first image, using a reference blocks included in the first image;
an inter predictor, which, in operation, predicts blocks included in the first image, using reference blocks included in a second image different from the first image;
a loop filter, which, in operation, filters blocks included in the first image; and
an output, which, in operation, outputs a picture including the first image,
wherein the loop filter preforms:
parsing a first flag indicating whether a CCALF (cross component adaptive loop filtering) process is enabled for a first block, the first block located adjacent to a left side of a current block;
parsing a second flag indicating whether the CCALF process is enabled for a second block, the second block located adjacent to an upper side of the current block;
determining a first index associated with a color component of the current block;
deriving a second index indicating a context model, using the first flag, the second flag, and the first index;
performing entropy decoding of a third flag indicating whether the CCALF process is enabled for the current block, using the context model indicated by the second index, and
performing the CCALF process on the current block in response to the third flag indicating the CCALF process is enabled for the current block.

### Claim 5 (depends on 4)

The decoding apparatus of claim 4, wherein,
the loop filter sets a value of the first index to 0 in response to the color component being a Cb component.

### Claim 6 (depends on 4)

The decoding apparatus of claim 4, wherein,
the loop filter derives the second index using a same equation as used in ALF (adaptive loop filtering).

### Claim 7

A decoding method, comprising:
parsing a first flag indicating whether a CCALF (cross component adaptive loop filtering) process is enabled for a first block, the first block located adjacent to a left side of a current block;
parsing a second flag indicating whether the CCALF process is enabled for a second block, the second block located adjacent to an upper side of the current block;
determining a first index associated with a color component of the current block;
deriving a second index indicating a context model, using the first flag, the second flag, and the first index;
performing entropy decoding of a third flag indicating whether the CCALF process is enabled for the current block, using the context model indicated by the second index, and
performing the CCALF process on the current block in response to the third flag indicating the CCALF process is enabled for the current block.

### Claim 8 (depends on 7)

The decoding method of claim 7, comprising:
setting a value of the first index to 0 in response to the color component being a Cb component.

### Claim 9 (depends on 7)

The decoding method of claim 7, comprising:
deriving the second index using a same equation as used in ALF (adaptive loop filtering).
