Details of filtering operations specially adapted for video compression