Merge "Add high-precision sub-pixel search as a speed feature" into nextgenv2