/external/libvncserver/test/ |
encodingstest.c | 225 int x1=(rand()%(server->width-1)),x2=(rand()%(server->width-1)), local 227 if(x1>x2) { i=x1; x1=x2; x2=i; } 229 x2++; y2++; 231 for(i=x1;i<x2;i++) 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);
|
/external/libvpx/libvpx/vpx_dsp/ |
fwd_txfm.c | 102 tran_high_t x0, x1, x2, x3; // canbe16 local 132 x2 = s1 - s2; 136 t2 = x2 * cospi_24_64 + x3 * cospi_8_64; 137 t3 = -x2 * cospi_8_64 + x3 * cospi_24_64; 152 x2 = s7 - t3; 157 t1 = x1 * cospi_12_64 + x2 * cospi_20_64; 158 t2 = x2 * cospi_12_64 + x1 * -cospi_20_64; 253 tran_high_t x0, x1, x2, x3; // canbe16 local 268 x2 = s1 - s2; 272 t2 = x3 * cospi_8_64 + x2 * cospi_24_64 [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
itrans8_dspr2.c | 593 int x0, x1, x2, x3, x4, x5, x6, x7; local 597 x2 = input[5]; 604 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7)) { 613 s2 = cospi_10_64 * x2 + cospi_22_64 * x3; 614 s3 = cospi_22_64 * x2 - cospi_10_64 * x3; 622 x2 = ROUND_POWER_OF_TWO((s2 + s6), DCT_CONST_BITS); 632 s2 = x2; 641 x2 = s0 - s2; 649 s2 = cospi_16_64 * (x2 + x3); 650 s3 = cospi_16_64 * (x2 - x3) [all...] |
/external/lzma/Asm/x86/ |
7zAsm.asm | 48 x2 equ EDX
define 85 r2 equ x2
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_tracker.h | 142 uint16_t x1, y1, x2, y2; member in struct:xa_box
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_blit.c | 268 int x1, y1, x2, y2; local 290 x2 = cx + cw + irb->draw_x; 299 x1, y1, x2 - x1, y2 - y1); 361 assert(x1 < x2); 377 OUT_BATCH((y2 << 16) | x2); 456 OUT_BATCH((100 << 16) | 100); /* clip x2, y2 */ 535 uint32_t x1, y1, x2, y2; local 558 x2 = image_x + width; 567 x1, y1, x2 - x1, y2 - y1); 596 OUT_BATCH((y2 << 16) | x2); [all...] |
/external/opencv3/modules/calib3d/src/ |
triangulate.cpp | 244 double x1, y1, x2, y2; local 254 x2 = points2->data.db[p*2]; 267 cvSetReal2D(T2i,0,2,x2); 376 x2 = tmp31_2->data.db[0]; 382 points2->data.db[p*2] = x2;
|
/external/opencv3/modules/core/include/opencv2/core/cuda/ |
filters.hpp | 98 const int x2 = x1 + 1; local 102 out = out + src_reg * ((x2 - x) * (y2 - y)); 104 src_reg = src(y1, x2); 108 out = out + src_reg * ((x2 - x) * (y - y1)); 110 src_reg = src(y2, x2);
|
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/ |
interpolation.hpp | 115 const int x2 = x1 + 1; local 119 out = out + src_reg * static_cast<work_elem_type>((x2 - x) * (y2 - y)); 121 src_reg = src(y1, x2); 125 out = out + src_reg * static_cast<work_elem_type>((x2 - x) * (y - y1)); 127 src_reg = src(y2, x2);
|
/external/opencv3/modules/imgproc/src/ |
featureselect.cpp | 200 int x2 = x_cell + 1; local 206 x2 = std::min(grid_width - 1, x2); 210 for( int xx = x1; xx <= x2; xx++ ) 344 int x2 = x_cell + 1; local 350 x2 = std::min(grid_width-1, x2); 354 for( int xx = x1; xx <= x2; xx++ )
|
/external/opencv3/modules/imgproc/test/ |
test_canny.cpp | 198 int y1 = 0, y2 = 0, x1 = 0, x2 = 0; local 210 y1 = y2 = y; x1 = x + 1; x2 = x - 1; 214 y1 = y + 1; y2 = y - 1; x1 = x + 1; x2 = x - 1; 218 y1 = y - 1; y2 = y + 1; x1 = x + 1; x2 = x - 1; 223 x1 = x2 = x; y1 = y + 1; y2 = y - 1; 229 if( (unsigned)y2 < (unsigned)height && (unsigned)x2 < (unsigned)width ) 230 c = (float)fabs(mag.at<float>(y2, x2));
|
/external/pdfium/core/src/fxge/ge/ |
fx_ge_device.cpp | 138 FX_FLOAT x1, x2, y1, y2; local 142 pObject2Device->Transform(pPoints[1].m_PointX, pPoints[1].m_PointY, x2, 147 x2 = pPoints[1].m_PointX; 150 DrawCosmeticLine(x1, y1, x2, y2, fill_color, fill_mode, alpha_flag, 322 FX_FLOAT x2, 333 if (m_pDeviceDriver->DrawCosmeticLine(x1, y1, x2, y2, color, alpha_flag, 341 path.SetPoint(1, x2, y2, FXPT_LINETO);
|
/external/pdfium/third_party/freetype/src/cff/ |
cffdrivr.c | 669 FT_Int x2 = darken_params[2]; local 677 if ( x1 < 0 || x2 < 0 || x3 < 0 || x4 < 0 || 679 x1 > x2 || x2 > x3 || x3 > x4 || 685 driver->darken_params[2] = x2;
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRCoderMatrixUtil.cpp | 145 int32_t x2 = matrix->GetWidth() - i - 1;
local 147 matrix->Set(x2, y2, bit);
149 int32_t x2 = 8;
local 151 matrix->Set(x2, y2, bit);
|
/external/skia/experimental/SkV8Example/ |
Path2DBuilder.cpp | 236 double x2 = args[2]->NumberValue(); local 244 SkDoubleToScalar(x2),
|
/external/skia/src/core/ |
SkEdge.cpp | 178 SkFDot6 x0, y0, x1, y1, x2, y2; local 186 x2 = SkScalarRoundToFDot6(pts[2].fX, shift); 194 x2 = int(pts[2].fX * scale); 202 SkTSwap(x0, x2); 217 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2; 253 SkFixed A = SkFDot6ToFixedDiv2(x0 - x1 - x1 + x2); // 1/2 the real value 267 fQLastX = SkFDot6ToFixed(x2); 336 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local 344 x2 = SkScalarRoundToFDot6(pts[2].fX, shift); 354 x2 = int(pts[2].fX * scale) [all...] |
/external/skia/src/effects/ |
GrCircleBlurFragmentProcessor.cpp | 141 float x2 = (x-kernelOff) * (x-kernelOff); local 144 kernel[y*kernelWH+(kernelWH-x-1)] = kernel[y*kernelWH+x] = expf(-(x2 + y2) * b);
|
/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/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/v8/test/unittests/compiler/ |
typer-unittest.cc | 136 for (int x2 = rmin; x2 < rmin + width; x2++) { 137 double result_value = opfun(x1, x2); 157 double x2 = RandomInt(r2->AsRange()); local 158 double result_value = opfun(x1, x2); 174 double x2 = RandomInt(r2->AsRange()); local 175 bool result_value = opfun(x1, x2); 193 int32_t x2 = static_cast<int32_t>(RandomInt(r2->AsRange())); local 194 double result_value = opfun(x1, x2); [all...] |
/external/webp/src/enc/ |
webpenc.c | 346 const float x2 = x * x; local 349 dithering = 1.0f + (0.5f - 1.0f) * x2 * x2;
|
/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/av/services/audioflinger/ |
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/base/core/java/android/view/animation/ |
PathInterpolator.java | 136 float x2 = a.getFloat(R.styleable.PathInterpolator_controlX2, 0); local 138 initCubic(x1, y1, x2, y2); 150 private void initCubic(float x1, float y1, float x2, float y2) { 153 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
|