/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad_stipple.c | 33 const int y1 = y0 + 1; local 35 const uint stipple1 = softpipe->poly_stipple.stipple[y1 % 32];
|
/external/opencv3/modules/core/src/opencl/ |
split_merge.cl | 65 for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, dst_index += dst_step) 93 for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step)
|
/external/pdfium/xfa/src/fxgraphics/src/ |
fx_path_generator.h | 36 void AddLine(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2);
45 void AddRectangle(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2);
|
/external/skia/src/animator/ |
SkPathParts.cpp | 117 SK_MEMBER(y1, Float), 125 SkQuadTo::SkQuadTo() : x1(0), y1(0), x2(0), y2(0) { 129 fPath->fPath.quadTo(x1, y1, x2, y2); 146 fPath->fPath.rQuadTo(x1, y1, x2, y2); 158 SK_MEMBER(y1, Float), 167 SkCubicTo::SkCubicTo() : x1(0), y1(0), x2(0), y2(0), x3(0), y3(0) { 171 fPath->fPath.cubicTo(x1, y1, x2, y2, x3, y3); 188 fPath->fPath.rCubicTo(x1, y1, x2, y2, x3, y3);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
LinearGradient_Delegate.java | 60 float x0, float y0, float x1, float y1, 62 LinearGradient_Delegate newDelegate = new LinearGradient_Delegate(x0, y0, x1, y1, 69 float x0, float y0, float x1, float y1, 72 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, 84 * @param y1 The y-coordinate for the end of the gradient line 91 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, 94 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); 111 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], 117 mDy = y1 - y0;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
grain.rs | 47 uint32_t y1 = (y-1) & gHMask; 50 uint p00 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y1); 51 uint p01 = 114 * rsGetElementAt_uchar(gBlendSource, x, y1); 52 uint p02 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y1);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
grain.rs | 47 uint32_t y1 = (y-1) & gHMask; 50 uint p00 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y1); 51 uint p01 = 114 * rsGetElementAt_uchar(gBlendSource, x, y1); 52 uint p02 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y1);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
grain.rs | 47 uint32_t y1 = (y-1) & gHMask; 50 uint p00 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y1); 51 uint p01 = 114 * rsGetElementAt_uchar(gBlendSource, x, y1); 52 uint p02 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y1);
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
PreviewOverlay.java | 176 float y1 = (0.04f) * previewH; local 178 canvas.drawCircle(x1, y1, 20, mPaint2); 180 canvas.drawCircle(x1, y1, 18, mPaint2); 235 float x1, x2, y1, y2; local 256 y1 = y2 = previewH / 2 + focalLengthH * (float) Math.tan(i); 257 canvas.drawLine(x1, y1, x2, y2, mPaint); 263 y1 = 0; 265 canvas.drawLine(x1, y1, x2, y2, mPaint);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_utils.h | 89 static inline float getSquaredDistanceFloat(const float x1, const float y1, const float x2, 91 return GeometryUtils::SQUARE_FLOAT(x1 - x2) + GeometryUtils::SQUARE_FLOAT(y1 - y2); 95 const float x1, const float y1, const float x2, const float y2, const bool extend) { 97 const float ray1y = y - y1; 99 const float ray2y = y2 - y1; 106 return getSquaredDistanceFloat(x, y, x1, y1); 114 projectionY = y1; 120 projectionY = y1 + projectionLengthSqr * ray2y;
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/sh/ |
dsp.s | 10 movs.w @r5+r8, y1 21 movs.l y1, @r4
|
/developers/build/prebuilts/gradle/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/ |
TextureRenderer.java | 147 float x0, y0, x1, y1; local 152 y1 = 1.0f; 157 y1 = relativeAspectRatio; 159 float[] coords = new float[] { x0, y0, x1, y0, x0, y1, x1, y1 };
|
/developers/samples/android/media/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/ |
TextureRenderer.java | 147 float x0, y0, x1, y1; local 152 y1 = 1.0f; 157 y1 = relativeAspectRatio; 159 float[] coords = new float[] { x0, y0, x1, y0, x0, y1, x1, y1 };
|
/development/samples/HelloEffects/src/com/example/android/mediafx/ |
TextureRenderer.java | 147 float x0, y0, x1, y1; local 152 y1 = 1.0f; 157 y1 = relativeAspectRatio; 159 float[] coords = new float[] { x0, y0, x1, y0, x0, y1, x1, y1 };
|
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/ |
TextureRenderer.java | 147 float x0, y0, x1, y1; local 152 y1 = 1.0f; 157 y1 = relativeAspectRatio; 159 float[] coords = new float[] { x0, y0, x1, y0, x0, y1, x1, y1 };
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Polygon.java | 205 float y1 = vertices[i + 1];
208 if (((y1 <= y && y < y2) || (y2 <= y && y < y1)) && x < ((x2 - x1) / (y2 - y1) * (y - y1) + x1)) intersects++;
|
/external/libpng/contrib/tools/ |
genpng.c | 18 * shape ::= color width shape x1 y1 x2 y2 42 * shape ::= color width shape x1 y1 x2 y2 51 * y1 ::= <number> 179 double x1, y1, x2, y2; member in struct:arg 347 square_check(double x, double y, double x1, double y1, double x2, double y2) 348 /* Is x,y inside the square (x1,y1)..(x2,y2)? */ 353 * x<x1 | x<y1 | x<x2 | x<y2 359 * So 'inside' is (x<x1) != (x<x2) && (y<y1) != (y<y2); 361 return ((x<x1) ^ (x<x2)) & ((y<y1) ^ (y<y2)); 367 return square_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
g_pitch.cpp | 117 y1 = pointer to filtered adaptive codebook buffer (Word16) 166 Word16 y1[], // i : Filtered adaptive codebook. 177 // divide "y1[]" by 4 to avoid overflow 184 scaled_y1[i] = shr (y1[i], 2); 187 // Compute scalar product <y1[],y1[]> 194 s = L_mac (s, y1[i], y1[i]); 213 // Compute scalar product <xn[],y1[]> 220 s = L_mac(s, xn[i], y1[i]) [all...] |
/external/opencv3/samples/python2/ |
find_obj.py | 92 for (x1, y1), (x2, y2), inlier in zip(p1, p2, status): 95 cv2.circle(vis, (x1, y1), 2, col, -1) 101 cv2.line(vis, (x1-r, y1-r), (x1+r, y1+r), col, thickness) 102 cv2.line(vis, (x1-r, y1+r), (x1+r, y1-r), col, thickness) 106 for (x1, y1), (x2, y2), inlier in zip(p1, p2, status): 108 cv2.line(vis, (x1, y1), (x2, y2), green) 120 (x1, y1), (x2, y2) = p1[i], p2[i] 122 cv2.line(cur_vis, (x1, y1), (x2, y2), col [all...] |
/external/skia/experimental/docs/ |
interpolatorFunctions.js | 27 var x1 = curve[0], y1 = curve[1], x2 = curve[2], y2 = curve[3]; 31 var ay = interp_cubic_coords(y1, y2, y3, y4, t1); 33 var ey = interp_cubic_coords(y1, y2, y3, y4, (t1*2+t2)/3); 35 var fy = interp_cubic_coords(y1, y2, y3, y4, (t1+t2*2)/3); 37 var dy = interp_cubic_coords(y1, y2, y3, y4, t2);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
motion_comp.cpp | 1126 ULong x1, x2, x1m, x2m, y1, y2, y1m, y2m; \/* new way *\/ local [all...] |
/device/google/dragon/audio/hal/dsp/ |
crossover2.c | 37 float32x4_t y1 = {lp->y1L, hp->y1L, lp->y1R, hp->y1R}; local 54 "vmul.f32 q2, %q[b1], %q[y1] \n" 59 "vmls.f32 q1, %q[a1], %q[y1] \n" 63 "vmov.f32 %q[y2], %q[y1] \n" 64 "vmov.f32 %q[y1], q1 \n" 82 [y1]"+w"(y1), 103 lp->y1L = y1[0]; lp->y1R = y1[2]; 110 hp->y1L = y1[1]; hp->y1R = y1[3] 123 __m128 y1 = {lp->y1L, hp->y1L, lp->y1R, hp->y1R}; local 321 float32x4_t y1 = {lp->y1L, hp->y1L, lp->y1R, hp->y1R}; local 401 __m128 y1 = {lp->y1L, hp->y1L, lp->y1R, hp->y1R}; local [all...] |
/external/opencv3/modules/videostab/src/ |
outlier_rejection.cpp | 107 float x1, y1; local 132 y1 = points0_[cell[i]].y + dy; 133 if (sqr(x1 - points1_[cell[i]].x) + sqr(y1 - points1_[cell[i]].y) < 156 y1 = points0_[cell[i]].y + dyBest; 157 if (sqr(x1 - points1_[cell[i]].x) + sqr(y1 - points1_[cell[i]].y) < 183 y1 = points0_[cell[i]].y + dyBest; 184 if (sqr(x1 - points1_[cell[i]].x) + sqr(y1 - points1_[cell[i]].y) <
|
/external/pdfium/third_party/libopenjpeg20/ |
tcd.h | 93 OPJ_INT32 x0, y0, x1, y1; /* dimension of the code-blocks : left upper corner (x0, y0) right low corner (x1,y1) */ member in struct:opj_tcd_cblk_enc 106 OPJ_INT32 x0, y0, x1, y1; /* position of the code-blocks : left upper corner (x0, y0) right low corner (x1,y1) */ member in struct:opj_tcd_cblk_dec 121 OPJ_INT32 x0, y0, x1, y1; /* dimension of the precinct : left upper corner (x0, y0) right low corner (x1,y1) */ member in struct:opj_tcd_precinct 137 OPJ_INT32 x0, y0, x1, y1; /* dimension of the subband : left upper corner (x0, y0) right low corner (x1,y1) */ member in struct:opj_tcd_band 149 OPJ_INT32 x0, y0, x1, y1; /* dimension of the resolution level : left upper corner (x0, y0) right low corner (x1,y1) */ member in struct:opj_tcd_resolution 160 OPJ_INT32 x0, y0, x1, y1; \/* dimension of component : left upper corner (x0, y0) right low corner (x1,y1) *\/ member in struct:opj_tcd_tilecomp 177 OPJ_INT32 x0, y0, x1, y1; \/* dimension of the tile : left upper corner (x0, y0) right low corner (x1,y1) *\/ member in struct:opj_tcd_tile [all...] |
/external/libvncserver/test/ |
encodingstest.c | 226 y1=(rand()%(server->height-1)),y2=(rand()%(server->height-1)); local 228 if(y1>y2) { i=y1; y1=y2; y2=i; } 232 for(j=y1;j<y2;j++) 233 server->frameBuffer[i*4+c+j*server->paddedWidthInBytes]=255*(i-x1+j-y1)/(x2-x1+y2-y1); 235 rfbMarkRectAsModified(server,x1,y1,x2,y2); 238 rfbLog("Sent update (%d,%d)-(%d,%d)\n",x1,y1,x2,y2);
|