# US 2021/0092370 A1 · Bit shifting for cross-component adaptive loop filtering 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/0092370 A1
- Document ID: US20210092370A1
- Status: Published application
- Kind: A1
- Application number: 17/028,209
- Filed: 2020-09-22
- Published: 2021-03-25
- Earliest claimed: 2019-09-23
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Nan Hu; Jie Dong; Vadim Seregin; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US20210092370A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/82: involving filtering within a prediction loop
- 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/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/186: the unit being a colour or a chrominance component
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An example method includes decoding a plurality of filter coefficients of a cross-component adaptive loop filter, wherein decoding a particular filter coefficient of the plurality of filter coefficients comprises: decoding, from an encoded video bitstream, a syntax element specifying an exponent value that represents a log base 2 of an absolute value of the particular filter coefficient as two raised to the power of the exponent value; and determining a value of the particular filter coefficient based on the exponent value; reconstructing samples of a block of video data; and cross-component adaptive loop filtering, based on the plurality of filter coefficients, the block of video data.

## Claims

### Claim 1

A method of decoding video data, the method comprising:
decoding a plurality of filter coefficients of a cross-component adaptive loop filter, wherein decoding a particular filter coefficient of the plurality of filter coefficients comprises:
decoding, from an encoded video bitstream, a syntax element specifying an exponent value that represents a log base 2 of an absolute value of the particular filter coefficient as two raised to the power of the exponent value; and
determining a value of the particular filter coefficient based on the exponent value;
reconstructing samples of a block of video data; and
cross-component adaptive loop filtering, based on the plurality of filter coefficients, the block of video data.

### Claim 2 (depends on 1)

The method of claim 1, wherein absolute values of all of the plurality of filter coefficients are constrained to be zero or a power of two.

### Claim 3 (depends on 1)

The method of claim 1, wherein decoding the particular filter coefficient further comprises:
responsive to the exponent value being a value other than zero, decoding, from the encoded video bitstream, a syntax element specifying a sign of the particular filter coefficient,
wherein determining the value of the particular filter coefficient further comprises determining the value of the particular filter coefficient based on the sign.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining the value of the particular filter coefficient comprises determining the value of the particular filter coefficient in accordance with the following equation:
c(i)=sign(i)*2c′(i)+1
where c(i) is the value of the particular filter coefficient, sign(i) is negative one where the sign is negative and positive one where the sign is positive, and c′(i) is the exponent value for the particular filter coefficient.

### Claim 5 (depends on 1)

The method of claim 1, wherein the cross-component adaptive loop filtering comprises bit-shifting, based on values of the plurality of filter coefficients, samples of the block of video data without performing multiplication.

### Claim 6 (depends on 1)

The method of claim 1, wherein decoding the syntax element specifying the exponent value comprises decoding the syntax element specifying the exponent value using a fixed-length code.

### Claim 7

A method of encoding video data, the method comprising:
encoding values of a plurality of filter coefficients of a cross-component adaptive loop filter, wherein encoding a value of a particular filter coefficient of the plurality of filter coefficients comprises:
encoding, in an encoded video bitstream, a syntax element specifying an exponent value that represents a log base 2 of an absolute value of the particular filter coefficient as two raised to the power of the exponent value;
reconstructing samples of a block of video data; and
cross-component adaptive loop filtering, based on the values of the plurality of filter coefficients, the block of video data.

### Claim 8 (depends on 7)

The method of claim 7, wherein absolute values of all of the plurality of filter coefficients are constrained to be zero or a power of two.

### Claim 9 (depends on 7)

The method of claim 7, wherein encoding the particular filter coefficient further comprises:
responsive to the particular filter coefficient having a value other than zero, encoding, in the encoded video bitstream, a syntax element specifying a sign of the particular filter coefficient.

### Claim 10 (depends on 7)

The method of claim 7, wherein cross-component adaptive loop filtering comprises bit-shifting, based on values of the plurality of filter coefficients, samples of the block of video data without performing multiplication.

### Claim 11 (depends on 7)

The method of claim 7, wherein encoding the syntax element specifying the exponent value comprises encoding the syntax element specifying the exponent value using a fixed-length code.

### Claim 12

A device for decoding video data, the device comprising
a memory configured to store at least a portion of an encoded video bitstream; and
one or more processors that are implemented in circuitry and configured to:
decode a plurality of filter coefficients of a cross-component adaptive loop filter, wherein, to decode a particular filter coefficient of the plurality of filter coefficients, the one or more processors are configured to:
decode, from the encoded video bitstream, a syntax element specifying an exponent value that represents a log base 2 of an absolute value of the particular filter coefficient as two raised to the power of the exponent value; and
determine a value of the particular filter coefficient based on the exponent value;
reconstruct samples of a block of video data; and
cross-component adaptive loop filter, based on the plurality of filter coefficients, the block of video data.

### Claim 13 (depends on 12)

The device of claim 12, wherein absolute values of all of the plurality of filter coefficients are constrained to be zero or a power of two.

### Claim 14 (depends on 12)

The device of claim 12, wherein, to decode the particular filter coefficient, the one or more processors are further configured to:
responsive to the exponent value being a value other than zero, decode, from the encoded video bitstream, a syntax element specifying a sign of the particular filter coefficient,
wherein, to determine the value of the particular filter coefficient, the one or more processors are further configured to determine the value of the particular filter coefficient based on the sign.

### Claim 15 (depends on 14)

The device of claim 14, wherein, to determine the value of the particular filter coefficient, the one or more processors are configured to determine the value of the particular filter coefficient in accordance with the following equation:
c(i)=sign(i)*2c′(i)+1
where c(i) is the value of the particular filter coefficient, sign(i) is negative one where the sign is negative and positive one where the sign is positive, and c′(i) is the exponent value for the particular filter coefficient.

### Claim 16 (depends on 12)

The device of claim 12, wherein, to cross-component adaptive loop filter, the one or more processors are configured to bit-shift, based on values of the plurality of filter coefficients, samples of the block of video data without performing multiplication.

### Claim 17

A device for encoding video data, the device comprising
a memory configured to store at least a portion of an encoded video bitstream; and
one or more processors that are implemented in circuitry and configured to:
encode values of a plurality of filter coefficients of a cross-component adaptive loop filter, wherein, to encode a value of a particular filter coefficient of the plurality of filter coefficients, the one or more processors are configured to:
encode, in the encoded video bitstream, a syntax element specifying an exponent value that represents a log base 2 of an absolute value of the particular filter coefficient as two raised to the power of the exponent value;
reconstruct samples of a block of video data; and
cross-component adaptive loop filter, based on the values of the plurality of filter coefficients, the block of video data.

### Claim 18 (depends on 17)

The device of claim 17, wherein absolute values of all of the plurality of filter coefficients are constrained to be zero or a power of two.

### Claim 19 (depends on 17)

The device of claim 17, wherein, to encode the particular filter coefficient further, the one or more processors are further configured to:
responsive to the particular filter coefficient having a value other than zero, encode, from the encoded video bitstream, a syntax element specifying a sign of the particular filter coefficient.

### Claim 20 (depends on 17)

The device of claim 17, wherein, to cross-component adaptive loop filter, the one or more processors are configured to bit-shift, based on values of the plurality of filter coefficients, samples of the block of video data without performing multiplication.
