Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DShadowTessellator.cpp205 double p2x = polygon[i].x; in isClockwise() local
207 sum += p1x * p2y - p2x * p1y; in isClockwise()
208 p1x = p2x; in isClockwise()
DPathTessellator.h117 float p2x, float p2y,
DPathTessellator.cpp976 float p2x, float p2y, float c2x, float c2y, in recursiveCubicBezierVertices() argument
979 float dx = p2x - p1x; in recursiveCubicBezierVertices()
981 float d1 = fabs((c1x - p2x) * dy - (c1y - p2y) * dx); in recursiveCubicBezierVertices()
982 float d2 = fabs((c2x - p2x) * dy - (c2y - p2y) * dx); in recursiveCubicBezierVertices()
989 pushToVector(outputVertices, p2x, p2y); in recursiveCubicBezierVertices()
993 float p2c2x = (p2x + c2x) * 0.5f; in recursiveCubicBezierVertices()
1014 p2x, p2y, p2c2x, p2c2y, in recursiveCubicBezierVertices()
/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()