主权项 |
1. A method comprising:
receiving a video signal including a plurality of video frames, at least one video frame having at least one target pixel block to be filtered; filtering said target pixel block by using at least one pixel value of said target pixel block and multiple pixel values of one other pixel block adjacent to said target pixel block, said filtering being performed upon consideration of a frame type, said frame type including an intra-coded frame and a predictive-coded frame, wherein said filtering comprises: obtaining an absolute value of a result from calculations using a difference between said at least one pixel value of said target pixel block and at least one of said multiple pixel values of said one other pixel block; obtaining, based on a comparison of said absolute value with a particular value, a compensation value calculated by using said at least one pixel value of said target pixel block and said multiple pixel values of said one other pixel block; and applying said compensation value to compensate for said target pixel block.
|