ref: 12d946df893a5abaf762d776603de4a3f0bd9949
parent: 53c9ebe609faee5e0db5f3e15ebdaa4a04a3eb33
author: Adrian Grange <agrange@google.com>
date: Thu Mar 19 10:41:43 EDT 2015
Restore first ref frame pointer to the correct value The joint_motion_search function alternates prediction between two reference frames. In order to reuse existing code, a pointer to the appropriate reference frame is written into xd->plane[0].pre[0], that the motion estimation code assumes points to the reference frame. If this first reference frame was scaled then the pointer was incorrectly being reset to point to the unscaled reference frame rather than the scaled version. Change-Id: I76f73a8d8f4f15c1f3a5e7e08a35140cdb7886ab