/development/perftests/panorama/feature_stab/src/dbreg/ |
dbstabsmooth.cpp | 112 VP_PAR p1y, p2y, p3y, p4y; local 154 VP_WARP_POINT_2D(0, 0, testMotion, p1x, p1y); 159 if (!is_point_in_rect((double)p1x,(double)p1y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
dbstabsmooth.cpp | 112 VP_PAR p1y, p2y, p3y, p4y; local 154 VP_WARP_POINT_2D(0, 0, testMotion, p1x, p1y); 159 if (!is_point_in_rect((double)p1x,(double)p1y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/ |
EdgeShape.java | 144 final float p1y = -xfq.s * tempx + xfq.c * tempy; local 152 final float dy = p2y - p1y; 166 tempy = v1.y - p1y; 181 final float qy = p1y + t * dy;
|
PolygonShape.java | 443 final float p1y = -xfqs * tempx + xfqc * tempy; local 451 final float dy = p2y - p1y; 464 float tempyn = vertex.y - p1y;
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
ConvexHull.java | 157 float p1y = hull.get(size - 3);
local 160 return (p2x - p1x) * (p3y - p1y) - (p2y - p1y) * (p3x - p1x);
|
EarClippingTriangulator.java | 159 float p1x = vertices[p1], p1y = vertices[p1 + 1];
local 175 if (computeSpannedAreaSign(p3x, p3y, p1x, p1y, vx, vy) >= 0) {
176 if (computeSpannedAreaSign(p1x, p1y, p2x, p2y, vx, vy) >= 0) {
208 float area = 0, p1x, p1y, p2x, p2y;
local 211 p1y = vertices[i + 1];
214 area += p1x * p2y - p2x * p1y;
217 p1y = vertices[offset + count - 1];
220 return area + p1x * p2y - p2x * p1y < 0;
223 static private int computeSpannedAreaSign (float p1x, float p1y, float p2x, float p2y, float p3x, float p3y) {
225 area += p2x * (p1y - p3y); [all...] |
GeometryUtils.java | 213 float area = 0, p1x, p1y, p2x, p2y;
local 216 p1y = polygon[i + 1];
219 area += p1x * p2y - p2x * p1y;
222 p1y = polygon[count - 1];
225 return area + p1x * p2y - p2x * p1y < 0;
|
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/ |
omx_proxy_videodec_utils.c | 239 uint8_t* p1y = (uint8_t*)frameInfo->y_uv[0] + ybuf_offset; local 252 memcpy(p2y+i*width, p1y+i*stride, width);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
CpuSpriteBatch.java | 313 final float p1y = fy; local 335 x1 = cos * p1x - sin * p1y; 336 y1 = sin * p1x + cos * p1y; 348 y1 = p1y; 435 final float p1y = fy; local 457 x1 = cos * p1x - sin * p1y; 458 y1 = sin * p1x + cos * p1y; 470 y1 = p1y;
|
PolygonSpriteBatch.java | 403 final float p1y = fy;
local 425 x1 = cos * p1x - sin * p1y;
426 y1 = sin * p1x + cos * p1y;
438 y1 = p1y;
881 final float p1y = fy;
local 903 x1 = cos * p1x - sin * p1y;
904 y1 = sin * p1x + cos * p1y;
916 y1 = p1y;
1012 final float p1y = fy; local [all...] |
SpriteBatch.java | 258 final float p1y = fy;
local 280 x1 = cos * p1x - sin * p1y;
281 y1 = sin * p1x + cos * p1y;
293 y1 = p1y;
670 final float p1y = fy;
local 692 x1 = cos * p1x - sin * p1y;
693 y1 = sin * p1x + cos * p1y;
705 y1 = p1y;
790 final float p1y = fy;
local 812 x1 = cos * p1x - sin * p1y;
[all...] |
SpriteCache.java | 518 final float p1y = fy;
local 540 x1 = cos * p1x - sin * p1y;
541 y1 = sin * p1x + cos * p1y;
553 y1 = p1y;
723 final float p1y = fy;
local 745 x1 = cos * p1x - sin * p1y;
746 y1 = sin * p1x + cos * p1y;
758 y1 = p1y;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_decode.cpp | 372 int p1y = 0, p2y = 0, p3y = 0; local 381 p1y = motydata[indx]; 389 p1y = motydata[indx]; 427 *mvy = (MOT)PV_MEDIAN(p1y, p2y, p3y); 433 *mvy = (MOT)(p1y + p2y + p3y); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureTrailDrawingPoints.java | 193 int p1y = yCoords[startIndex]; local 205 final Path path = roundedLine.makePath(p1x, p1y, body1, p2x, p2y, body2); 222 p1y = p2y;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
PolygonRegionTest.java | 204 final float p1y = fy1;
local 223 x1 = cos * p1x - sin * p1y;
224 y1 = sin * p1x + cos * p1y;
236 y1 = p1y;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/broadphase/ |
DynamicTreeFlatNodes.java | 207 float p1x = p1.x, p2x = p2.x, p1y = p1.y, p2y = p2.y; local 215 r.y = p2y - p1y; 240 tempy = (p2y - p1y) * maxFraction + p1y; 242 segAABB.lowerBound.y = p1y < tempy ? p1y : tempy; 244 segAABB.upperBound.y = p1y > tempy ? p1y : tempy; 269 tempy = p1y - cy; 278 subInput.p1.y = p1y; [all...] |
DynamicTree.java | 200 float p1x = p1.x, p2x = p2.x, p1y = p1.y, p2y = p2.y; local 208 r.y = p2y - p1y; 233 tempy = (p2y - p1y) * maxFraction + p1y; 235 segAABB.lowerBound.y = p1y < tempy ? p1y : tempy; 237 segAABB.upperBound.y = p1y > tempy ? p1y : tempy; 262 tempy = p1y - cy; 270 subInput.p1.y = p1y; [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
vlc_encode.cpp | 2541 Int p1y, p2y, p3y; local [all...] |
/external/skia/src/core/ |
SkPath.cpp | 2557 double p1y = SkScalarToDouble(p1.fY); local [all...] |