Patent ID: 11909978
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 10:
11. A non-transitory computer-readable medium storing programming codes which, when executed by a computer device, cause the computer device to perform deblocking steps, in an image encoding or an image decoding process, for deblocking a block edge between a first coding block and a second coding block of an image, of:
using values of no more than IA samples of the first coding block as first filter input values for calculating first filter output values or second filter output values, wherein the no more than IA samples are in a line perpendicular to the block edge and the no more than IA samples are adjacent to the block edge, and 0≤IA≤SA, and wherein the first coding block has a block size of SA samples perpendicular to the block edge by N samples parallel to the block edge;
using values of no more than Is samples of the second coding block as second filter input values, for calculating the first filter output values or the second filter output values, wherein the no more than Is samples are in a line perpendicular to the block edge and the no more than Is samples are adjacent to the block edge, and 0≤IB≤SB; wherein the second coding block has a block size of SB samples perpendicular to the block edge by N samples parallel to the block edge;
modifying values of no more than MA samples of the first coding block as the first filter output values, wherein the no more than MA samples are in a line perpendicular to the block edge and the no more than MA samples are adjacent to the block edge, and 0≤MA<SA; and
modifying values of no more than MB samples of the second coding block as the second filter output values, wherein the no more than MB samples are in a line perpendicular to the block edge and the no more than MB samples are adjacent to the block edge, and 0≤MB<SB,
wherein SA≠SB and IA≠IB and MA≠MB,, wherein when SA=8, the programming codes which, when executed by the computer device, cause the computer device to set IA to SA/2, and MA to SA/2 or SA/2−1.