Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java36 float p1y = poly[p1 * d + 1]; in rayIntersectPoly() local
39 float div = (dx * (p1y - p2y) + dy * (p2x - p1x)); in rayIntersectPoly()
41 float t = (dx * (p1y - py) + dy * (px - p1x)) / div; in rayIntersectPoly()
44 + p2x * (p1y - py) in rayIntersectPoly()
45 + px * (p2y - p1y)) in rayIntersectPoly()
383 float p1y = polygon[(len - 1) * 2 + 1]; in isClockwise() local
388 sum += p1x * p2y - p2x * p1y; in isClockwise()
390 p1y = p2y; in isClockwise()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvlc_decode.cpp372 int p1y = 0, p2y = 0, p3y = 0; in mv_prediction() local
381 p1y = motydata[indx]; in mv_prediction()
389 p1y = motydata[indx]; in mv_prediction()
427 *mvy = (MOT)PV_MEDIAN(p1y, p2y, p3y); in mv_prediction()
433 *mvy = (MOT)(p1y + p2y + p3y); in mv_prediction()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode.cpp2541 Int p1y, p2y, p3y; in find_pmvs() local
2676 p1x = p1y = 0; in find_pmvs()
2682 p1y = motdata[yin1*nMBPerRow+xin1][vec1].y; in find_pmvs()
2720 *mvy = (p1y + p2y + p3y); in find_pmvs()
2725 *mvy = ((p1y + p2y + p3y - PV_MAX(p1y, PV_MAX(p2y, p3y)) - PV_MIN(p1y, PV_MIN(p2y, p3y)))); in find_pmvs()