compute deblocking edgeFlags in thread_tasks