Patent ID: 11895339
Assignee: TENCENT AMERICA LLC
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for video decoding, comprising:
decoding coded information of a chroma coding block (CB) from a coded video bitstream, the coded information including (i) an indication that a cross-component filter is applied to the chroma CB, (ii) an indication of a chroma subsampling format and a chroma sample type that indicates a relative position of a chroma sample with respect to at least one luma sample in a corresponding luma CB, and (iii) a number of filter coefficients of the cross-component filter;
determining a filter shape of the cross-component filter applied to the chroma CB;
generating a first intermediate CB by applying a loop filter to the chroma CB;
generating a second intermediate CB by applying, to a corresponding luma CB, the cross-component filter applied to the chroma CB and having the determined filter shape; and
determining a filtered chroma CB based on the first intermediate CB and the second intermediate CB by adding the loop filtered chroma CB to the cross-component filtered luma CB, wherein
the filter coefficients of the cross-component filter are decoded from the coded video bitstream using fixed-length coding, where a range of the filter coefficients of the cross-component filter is less than or equal to K bits, K being a positive integer, and
the determining the filter shape includes determining the filter shape of the cross-component filter based on the number of the filter coefficients and based on at least one of (i) the chroma subsampling format or (ii) the chroma sample type.