move restore_tqb_pixels function into sao_filter_CTB