The embodiment of the invention provides a deblocking filtering coding method and device based on a
coding block, a decoding method and device,
electronic equipment, a storage medium and a
computer program product, and relates to the technical field of
image processing. The method comprises the following steps: performing deblocking filtering analysis on a
coding block, and determining a block-level filtering strategy; based on the filtering strategy, carrying out deblocking filtering
processing on the
coding block, or skipping to block filtering
processing, and reserving the coding block; and setting identification information corresponding to the filtering identification of the coding block based on the filtering strategy. According to the method, deblocking filtering analysis is carried out on coding blocks, and differentiated filtering strategies are adopted for different coding blocks, so that whether deblocking filtering
processing is carried out on the coding blocks or not is determined. In this way, more flexible block-level switch control can be added to deblocking filtering processing. Meanwhile, filtering identification is carried out on the filtering strategy adopted by the coding block, so that the decoding end can carry out corresponding processing, the calculation complexity of the decoding end is reduced, and the decoding speed is improved.