Binary search for HEVC-P.