/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
fd4_gmem.c | 606 uint32_t x2 = gmem->minx + gmem->width - 1; local 630 OUT_RING(ring, A4XX_GRAS_SC_SCREEN_SCISSOR_BR_X(x2) | 765 uint32_t x2 = tile->xoff + tile->bin_w - 1; local 792 OUT_RING(ring, CP_SET_BIN_2_X2(x2) | CP_SET_BIN_2_Y2(y2)); 804 OUT_RING(ring, A4XX_GRAS_SC_SCREEN_SCISSOR_BR_X(x2) |
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_tiling.c | 43 * - 4k tiles made of a 2x2 grid of 1k subtiles (so usually 32x32 pixels). On 164 * 2x2 in a 4k tile). 226 uint32_t x2 = box->x + box->width; local 236 for (uint32_t x = x1; x < x2; x = align(x + 1, stile_w)) { 238 partial_box.width = MIN2(x2 - x,
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_blit.c | 395 int x1, y1, x2, y2; local 417 x2 = cx + cw + irb->draw_x; 426 x1, y1, x2 - x1, y2 - y1); 482 assert(x1 < x2); 498 OUT_BATCH((y2 << 16) | x2); 568 OUT_BATCH((100 << 16) | 100); /* clip x2, y2 */
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
intel_tiled_memcpy.c | 217 * Each row from y0 to y1 is copied in three parts: [x0,x1), [x1,x2), [x2,x3). 228 typedef void (*tile_copy_fn)(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, 247 linear_to_xtiled(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, 273 for (xo = x1; xo < x2; xo += xtile_span) { 277 mem_copy_align16(dst + ((xo + yo) ^ swizzle), src + x2, x3 - x2); 289 linear_to_ytiled(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, 333 for (x = x1; x < x2; x += ytile_span) { 339 mem_copy_align16(dst + ((xo + yo) ^ swizzle), src + x2, x3 - x2) 686 uint32_t x1, x2; local 777 uint32_t x1, x2; local [all...] |
/external/pdfium/fxbarcode/qrcode/ |
BC_QRCoderMatrixUtil.cpp | 156 int32_t x2 = matrix->GetWidth() - i - 1; local 158 matrix->Set(x2, y2, bit); 160 int32_t x2 = 8; local 162 matrix->Set(x2, y2, bit);
|
/external/skia/src/core/ |
SkEdge.cpp | 182 SkFDot6 x0, y0, x1, y1, x2, y2; local 190 x2 = SkScalarRoundToFDot6(pts[2].fX, shift); 198 x2 = int(pts[2].fX * scale); 206 SkTSwap(x0, x2); 221 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2; 260 SkFixed A = SkFDot6ToFixedDiv2(x0 - x1 - x1 + x2); // 1/2 the real value 274 fQLastX = SkFDot6ToFixed(x2); 351 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local 359 x2 = SkScalarRoundToFDot6(pts[2].fX, shift); 369 x2 = int(pts[2].fX * scale) [all...] |
/external/skqp/src/core/ |
SkEdge.cpp | 182 SkFDot6 x0, y0, x1, y1, x2, y2; local 190 x2 = SkScalarRoundToFDot6(pts[2].fX, shift); 198 x2 = int(pts[2].fX * scale); 206 SkTSwap(x0, x2); 221 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2; 260 SkFixed A = SkFDot6ToFixedDiv2(x0 - x1 - x1 + x2); // 1/2 the real value 274 fQLastX = SkFDot6ToFixed(x2); 351 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local 359 x2 = SkScalarRoundToFDot6(pts[2].fX, shift); 369 x2 = int(pts[2].fX * scale) [all...] |
/external/speex/libspeex/ |
math_approx.h | 190 spx_word16_t x2; local 194 x2 = MULT16_16_P13(x,x); 195 return ADD32(K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2)))))); 198 x2 = MULT16_16_P13(x,x); 199 return SUB32(-K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2)))))); 210 spx_word16_t x2; local [all...] |
scal.c | 235 float x1,x2; local 239 x2 = uni_rand(&st->seed); 240 } while (x1*x1+x2*x2 > 1.); 243 frame[2*i] = gain*x2;
|
/external/tensorflow/tensorflow/core/kernels/ |
crop_and_resize_op_gpu.cu.cc | 54 const float x2 = boxes_ptr[b * 4 + 3]; local 65 (crop_width > 1) ? (x2 - x1) * (image_width - 1) / (crop_width - 1) : 0; 77 : 0.5 * (x1 + x2) * (image_width - 1); 136 const float x2 = boxes_ptr[b * 4 + 3]; local 147 (crop_width > 1) ? (x2 - x1) * (image_width - 1) / (crop_width - 1) : 0; 158 : 0.5 * (x1 + x2) * (image_width - 1); 220 const float x2 = boxes_ptr[b * 4 + 3]; local 237 const float width_scale = (crop_width > 1) ? (x2 - x1) * width_ratio : 0; 248 : 0.5 * (x1 + x2) * (image_width - 1);
|
/external/tensorflow/tensorflow/core/lib/random/ |
random_distributions.h | 275 void BoxMullerDouble(uint32 x0, uint32 x1, uint32 x2, uint32 x3, double* d0, 485 const uint32 x2 = (*gen)(); local 488 BoxMullerDouble(x0, x1, x2, x3, &d[0], &d[1]); 530 void BoxMullerDouble(uint32 x0, uint32 x1, uint32 x2, uint32 x3, double* d0, 541 const double v1 = 2 * M_PI * Uint64ToDouble(x2, x3);
|
/external/tremolo/Tremolo/ |
mdct.c | 200 DATA_TYPE *x2 = x + (points>>1) - 4; local 206 s2 = x2[1] - x2[0]; x1[1] = x2[1] + x2[0]; 207 s3 = x2[3] - x2[2]; x1[3] = x2[3] + x2[2]; 208 XPROD31( s1, s0, T[0], T[1], &x2[0], &x2[2] ) [all...] |
/external/webp/src/enc/ |
webp_enc.c | 354 const float x2 = x * x; local 357 dithering = 1.0f + (0.5f - 1.0f) * x2 * x2;
|
/frameworks/av/media/libaudioprocessing/ |
AudioResamplerFirGen.h | 251 inline double Poly3(double A, double B, double C, double x, double x2) { 252 return Poly2(A, B, x) + C * x2; 259 inline double Poly4(double A, double B, double C, double D, double x, double x2) { 260 return Poly2(A, B, x) + Poly2(C, D, x) * x2; // same as poly2(poly2, poly2, x2); 269 double x2 = x * x; local 270 return Poly4(A, B, C, D, x, x2) + Poly3(E, F, G, x, x2) * (x2 * x2); 280 double x2 = x * x; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
block_idct.cpp | 516 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local 541 x2 = blk[14]; 567 x1 = W6 * (x3 + x2) + 4; 568 x2 = (x1 - (W2 + W6) * x2) >> 3; 578 x3 = x0 + x2; 579 x0 -= x2; 580 x2 = (181 * (x4 + x5) + 128) >> 8; 588 res2 = (x3 + x2) >> 14; 606 res = (x3 - x2) >> 14 627 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local 837 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local [all...] |
/frameworks/base/core/java/android/view/animation/ |
PathInterpolator.java | 140 float x2 = a.getFloat(R.styleable.PathInterpolator_controlX2, 0); local 142 initCubic(x1, y1, x2, y2); 154 private void initCubic(float x1, float y1, float x2, float y2) { 157 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
|
/frameworks/base/libs/hwui/ |
Patch.cpp | 152 float x2 = 0.0f; local 161 x2 = x1 + floorf(segment * stretchX + 0.5f); 163 x2 = x1 + segment * rescaleX; 166 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1)); 171 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); 174 x1 = x2; 181 x2 = width; 182 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); 186 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, float u1 [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic3DLUT.cpp | 62 uint32_t x2 = xend; local 81 int32_t len = x2 - x1; 93 while (x1 < x2) {
|
rsCpuIntrinsicBlur.cpp | 167 int x1, int x2) { 171 int t = (x2 - x1); 181 while(x2 > x1) { 200 const uchar *ptrIn, int iStride, const float* gPtr, int ct, int x1, int x2) { 202 int len = x2 - x1; 205 while((x2 > x1) && (((uintptr_t)ptrIn) & 0x3)) { 223 if (gArchUseSIMD && (x2 > x1)) { 224 int t = (x2 - x1) >> 2; 305 uint32_t x2 = xend; local 311 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius) 376 uint32_t x2 = xend; local [all...] |
rsCpuIntrinsicConvolve3x3.cpp | 89 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 93 convert_float4(py0[x2]) * coeff[2] + 96 convert_float4(py1[x2]) * coeff[5] + 99 convert_float4(py2[x2]) * coeff[8]; 111 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 115 convert_float2(py0[x2]) * coeff[2] + 118 convert_float2(py1[x2]) * coeff[5] + 121 convert_float2(py2[x2]) * coeff[8]; 132 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 136 ((float)py0[x2]) * coeff[2] 151 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 162 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 173 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 199 uint32_t x2 = xend; local 246 uint32_t x2 = xend; local 291 uint32_t x2 = xend; local 336 uint32_t x2 = xend; local 381 uint32_t x2 = xend; local 425 uint32_t x2 = xend; local [all...] |
rsCpuIntrinsicConvolve5x5.cpp | 89 uint32_t x2 = x; local 95 convert_float4(py0[x2]) * coeff[2] + 101 convert_float4(py1[x2]) * coeff[7] + 107 convert_float4(py2[x2]) * coeff[12] + 113 convert_float4(py3[x2]) * coeff[17] + 119 convert_float4(py4[x2]) * coeff[22] + 132 uint32_t x2 = x; local 138 convert_float2(py0[x2]) * coeff[2] + 144 convert_float2(py1[x2]) * coeff[7] + 150 convert_float2(py2[x2]) * coeff[12] 175 uint32_t x2 = x; local 218 uint32_t x2 = x; local 260 uint32_t x2 = x; local 302 uint32_t x2 = x; local 368 uint32_t x2 = xend; local 428 uint32_t x2 = xend; local 477 uint32_t x2 = xend; local 526 uint32_t x2 = xend; local 575 uint32_t x2 = xend; local 624 uint32_t x2 = xend; local [all...] |
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/ |
PathInterpolatorCompat.java | 113 float x2 = TypedArrayUtils.getNamedFloat(a, parser, "controlX2", local 117 initCubic(x1, y1, x2, y2); 129 private void initCubic(float x1, float y1, float x2, float y2) { 132 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
PreviewOverlay.java | 185 float x2 = 0.5f * previewW; local 201 canvas.drawCircle(x2, y2, mLens * 0.25f * previewW, mPaint2); 204 canvas.drawText(text, x2, y2 - mLens * 0.25f * previewW - 7f, mPaint); 235 float x1, x2, y1, y2; local 255 x2 = previewW; 257 canvas.drawLine(x1, y1, x2, y2, mPaint); 262 x1 = x2 = previewW / 2 + focalLengthW * (float) Math.tan(i); 265 canvas.drawLine(x1, y1, x2, y2, mPaint);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterGrad.java | 124 int[] x2 = mParameters.getXPos2(); local 137 coord[0] = x2[i]; 140 x2[i] = (int) coord[0]; 147 mScript.set_xPos2(x2);
|
SplineMath.java | 51 double x2 = next[0]; local 57 double delta = (x2 - x1); 92 double x2 = next[0]; local 98 double delta = (x2 - x1);
|