A method and apparatus for performing a chroma adaptive
loop filter (ALF) and / or a cross-component adaptive
loop filter (CCALF) using a luma residual input are disclosed, in particular, a method and apparatus for performing a chroma adaptive
loop filter (ALF) and / or a cross-component adaptive loop filter (CCALF) using a luma residual input. According to this method, reconstruction data relating to the current block, including a luma block and one or more chroma blocks, is received. A chroma ALF, a CCALF, or both is determined, wherein the chroma ALF, the CCALF, or both includes at least one first filter tap associated with a luma residual sample, at least one second filter tap associated with a chroma residual sample, or both. One or more filtered chroma samples are derived by applying the chroma ALF, the CCALF, or both to the luma block, the one or more chroma blocks, or both. The one or more filtered chroma samples are provided.