The invention relates to a method, which can quickly calculate the
boundary strength value of deblocking filtering in H.264 video standards: read the encoding status of sub-blocks m, n on both sides of the filtering side, and conduct the following operations: 1). If the
macro blocks that the m, n sub-blocks belong to has at least one intra-frame encoding mode, pre-determine the
boundary strength value of the 16 pixel points of the whole current filtering side is 4 or 3; 2). If the m, n sub-blocks are in the same
macro block, and the encoding mode of the
macro block is inter-frame 16*16, 16*8 or 8*16, further determine the position and block information of the filtering side, and thereby pre-determine the
boundary strength value of the 16 pixel points of the current filtering side is 0 or 1. After the pre-determining step, conduct correction based on H.264 standards, and finally get the boundary strength value BS. 3). If the m, n sub-blocks are in the same macro block, and the encoding mode of the macro block is inter-frame 8*8, 8*4, 4*8 or 4*4, using 4*4 block as the unit, calculate the boundary strength based on H.264 standards.