A method for video decoding in a decoder, the method comprising: decoding prediction information for a current block in a current picture that is a part of a coded video sequence, the prediction information indicating that a chroma coding block included in the current block is coded in an intra block copy mode and has a plurality of sub-blocks; determining (i) a boundary strength, BS, value of a horizontal block boundary between two adjacent intra block copy, IBC, coded chroma blocks , CBs, by employing a most left sub-block pair adjacent to a horizontal block boundary , wherein the sub-block is inside the chroma CB that is above the horizontal block boundary and the sub-block is inside the chroma CB that is below the horizontal block boundary , or (ii) a BS value of a vertical block boundary between two adjacent IBC coded chroma CBs by employing a top most sub-block pair adjacent to a vertical block boundary , wherein the sub-block is inside the chroma CB that is to the left of the vertical block boundary and the sub-block is inside the chroma CB that is to the right of the vertical block boundary , determining whether a first deblocking filter is to be applied to the plurality of sub-blocks of the chroma coding block based on the determined BS value; applying the first deblocking filter to samples adjacent to a boundary of a combined sub-block including a subset of the plurality of sub-blocks when the first deblocking filter is determined to be applied; and reconstructing the current block based on the samples to which the first deblocking filter is applied. decoding prediction information for a current block in a current picture that is a part of a coded video sequence, the prediction information indicating that a chroma coding block included in the current block is coded in an intra block copy mode and has a plurality of sub-blocks; determining (i) a boundary strength, BS, value of a horizontal block boundary between two adjacent intra block copy, IBC, coded chroma blocks , CBs, by employing a most left sub-block pair adjacent to a horizontal block boundary , wherein the sub-block is inside the chroma CB that is above the horizontal block boundary and the sub-block is inside the chroma CB that is below the horizontal block boundary , or (ii) a BS value of a vertical block boundary between two adjacent IBC coded chroma CBs by employing a top most sub-block pair adjacent to a vertical block boundary , wherein the sub-block is inside the chroma CB that is to the left of the vertical block boundary and the sub-block is inside the chroma CB that is to the right of the vertical block boundary , (i) a boundary strength, BS, value of a horizontal block boundary between two adjacent intra block copy, IBC, coded chroma blocks , CBs, by employing a most left sub-block pair adjacent to a horizontal block boundary , wherein the sub-block is inside the chroma CB that is above the horizontal block boundary and the sub-block is inside the chroma CB that is below the horizontal block boundary , or (ii) a BS value of a vertical block boundary between two adjacent IBC coded chroma CBs by employing a top most sub-block pair adjacent to a vertical block boundary , wherein the sub-block is inside the chroma CB that is to the left of the vertical block boundary and the sub-block is inside the chroma CB that is to the right of the vertical block boundary , determining whether a first deblocking filter is to be applied to the plurality of sub-blocks of the chroma coding block based on the determined BS value; applying the first deblocking filter to samples adjacent to a boundary of a combined sub-block including a subset of the plurality of sub-blocks when the first deblocking filter is determined to be applied; and reconstructing the current block based on the samples to which the first deblocking filter is applied. <EOS>