Merge "Add 128 pixel variance and SAD functions" into nextgenv2