Home
last modified time | relevance | path

Searched refs:p2x (Results 1 – 3 of 3) sorted by relevance

/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java37 float p2x = poly[p2 * d + 0]; in rayIntersectPoly() local
39 float div = (dx * (p1y - p2y) + dy * (p2x - p1x)); in rayIntersectPoly()
44 + p2x * (p1y - py) in rayIntersectPoly()
386 float p2x = polygon[i * 2]; in isClockwise() local
388 sum += p1x * p2y - p2x * p1y; in isClockwise()
389 p1x = p2x; in isClockwise()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvlc_decode.cpp371 int p1x = 0, p2x = 0, p3x = 0; in mv_prediction() local
398 p2x = motxdata[indx]; in mv_prediction()
410 p2x = motxdata[indx]; in mv_prediction()
426 *mvx = (MOT)PV_MEDIAN(p1x, p2x, p3x); in mv_prediction()
432 *mvx = (MOT)(p1x + p2x + p3x); in mv_prediction()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode.cpp2540 Int p1x, p2x, p3x; in find_pmvs() local
2689 p2x = p2y = 0; in find_pmvs()
2693 p2x = motdata[yin2*nMBPerRow+xin2][vec2].x; in find_pmvs()
2719 *mvx = (p1x + p2x + p3x); in find_pmvs()
2724 *mvx = ((p1x + p2x + p3x - PV_MAX(p1x, PV_MAX(p2x, p3x)) - PV_MIN(p1x, PV_MIN(p2x, p3x)))); in find_pmvs()