Searched refs:xShift (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorTools.cpp742 M4VIFI_UInt32 x, y, xShift; local
796 /* Compute the xShift (random value) */
798 xShift = (x + p_FiftiesData->shiftRandomValue ) % (pPlaneIn[0].u_height - 1);
800 xShift = (x + (pPlaneIn[0].u_height - p_FiftiesData->shiftRandomValue) ) % (pPlaneIn[0].u_height - 1);
804 p_inYtmp = pInYbegin + (xShift * pPlaneIn[0].u_stride); /* Apply the xShift */
809 if (xShift > (pPlaneIn[0].u_height - 4))
/frameworks/av/libvideoeditor/vss/src/
H A DM4xVSS_internal.c4018 M4VIFI_UInt32 x, y, xShift; local
4081 /* Compute the xShift (random value) */
4083 xShift = (x + p_FiftiesData->shiftRandomValue ) % (pPlaneIn[0].u_height - 1);
4085 xShift = (x + (pPlaneIn[0].u_height - p_FiftiesData->shiftRandomValue) ) \
4090 p_inYtmp = pInYbegin + (xShift * pPlaneIn[0].u_stride); /* Apply the xShift */
4095 if (xShift > (pPlaneIn[0].u_height - 4))

Completed in 400 milliseconds