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, (1102, 1103) by employing a most left sub-block pair (1104, 1105) 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 (1112, 1113) by employing a top most sub-block pair (1114, 1115) 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, (1102, 1103) by employing a most left sub-block pair (1104, 1105) 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 (1112, 1113) by employing a top most sub-block pair (1114, 1115) 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, (1102, 1103) by employing a most left sub-block pair (1104, 1105) 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 (1112, 1113) by employing a top most sub-block pair (1114, 1115) 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.