Nonlocal Adaptive In-Loop Filter via Content-Dependent Soft-Thresholding for HEVC