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

/frameworks/base/libs/hwui/
H A DPathTessellator.h140 float p2x, float p2y,
H A DPathTessellator.cpp1050 float p2x, float p2y, float c2x, float c2y,
1053 float dx = p2x - p1x;
1055 float d1 = fabs((c1x - p2x) * dy - (c1y - p2y) * dx);
1056 float d2 = fabs((c2x - p2x) * dy - (c2y - p2y) * dx);
1062 outputVertices.push_back(Vertex{p2x, p2y});
1066 float p2c2x = (p2x + c2x) * 0.5f;
1087 p2x, p2y, p2c2x, p2c2y,
1048 recursiveCubicBezierVertices( float p1x, float p1y, float c1x, float c1y, float p2x, float p2y, float c2x, float c2y, const PathApproximationInfo& approximationInfo, std::vector<Vertex>& outputVertices, int depth) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DSpotShadow.java29 float p2x = poly[p2 * 2 + 0];
31 float div = (dx * (p1y - p2y) + dy * p2x - dy * p1x);
35 float t2 = (p1x * (py - p2y) + p2x * (p1y - py) + px * (p2y - p1y)) / div;
384 float p2x = polygon[i * 2 + 0];
386 sum += p1x * p2y - p2x * p1y;
387 p1x = p2x;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp371 int p1x = 0, p2x = 0, p3x = 0; local
398 p2x = motxdata[indx];
410 p2x = motxdata[indx];
426 *mvx = (MOT)PV_MEDIAN(p1x, p2x, p3x);
432 *mvx = (MOT)(p1x + p2x + p3x);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.cpp2540 Int p1x, p2x, p3x; local
2689 p2x = p2y = 0;
2693 p2x = motdata[yin2*nMBPerRow+xin2][vec2].x;
2695 //p2x = motxdata[xin2*2+(vec2&0x1) + (yin2*2+(vec2>>1))*xB];
2719 *mvx = (p1x + p2x + p3x);
2724 *mvx = ((p1x + p2x + p3x - PV_MAX(p1x, PV_MAX(p2x, p3x)) - PV_MIN(p1x, PV_MIN(p2x, p3x))));

Completed in 218 milliseconds