/external/libvncserver/examples/ |
example.c | 98 static void drawline(unsigned char* buffer,int rowstride,int bpp,int x1,int y1,int x2,int y2) 101 i=x1-x2; j=y1-y2; 110 if(y1>y2) { i=y2; y2=y1; y1=i; i=x2; x2=x1; x1=i; } 113 buffer[j*rowstride+(x1+(j-y1)*(x2-x1)/(y2-y1))*bpp+i]=0xff; 115 if(x1>x2) { i=y2; y2=y1; y1=i; i=x2; x2=x1; x1=i; } 116 for(i=x1;i<=x2;i++) 118 buffer[(y1+(i-x1)*(y2-y1)/(x2-x1))*rowstride+i*bpp+j]=0xff 130 int i,j,x1,x2,y1,y2; local 201 int x1=cd->oldx,y1=cd->oldy,x2,y2; local [all...] |
/external/libvorbis/lib/ |
mdct.c | 222 DATA_TYPE *x2 = x + (points>>1) - 8; local 228 r0 = x1[6] - x2[6]; 229 r1 = x1[7] - x2[7]; 230 x1[6] += x2[6]; 231 x1[7] += x2[7]; 232 x2[6] = MULT_NORM(r1 * T[1] + r0 * T[0]); 233 x2[7] = MULT_NORM(r1 * T[0] - r0 * T[1]); 235 r0 = x1[4] - x2[4]; 236 r1 = x1[5] - x2[5]; 237 x1[4] += x2[4] 270 DATA_TYPE *x2 = x + (points>>1) - 8; local [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
itrans4_dspr2.c | 319 int x0, x1, x2, x3; local 323 x2 = input[2]; 326 if (!(x0 | x1 | x2 | x3)) { 334 s3 = sinpi_4_9 * x2; 335 s4 = sinpi_1_9 * x2; 338 s7 = x0 - x2 + x3; 342 x2 = sinpi_3_9 * s7; 347 s2 = x2;
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state_dynamic.c | 271 unsigned x2 = i915->scissor.maxx - 1; local 277 sc[2] = (y2 << 16) | (x2 & 0xffff);
|
/external/opencv/cv/src/ |
cvlinefit.cpp | 48 double x = 0, y = 0, x2 = 0, y2 = 0, xy = 0, w = 0; local 62 x2 += points[i].x * points[i].x; 74 x2 += weights[i] * points[i].x * points[i].x; 83 x2 /= w; 87 dx2 = x2 - x * x; 107 float x2 = 0, y2 = 0, z2 = 0, xy = 0, yz = 0, xz = 0; local 126 x2 += x * x * w; 146 x2 += x * x; 159 x2 /= w0; 170 dx2 = x2 - x0 * x0 [all...] |
/external/opencv3/modules/imgproc/src/ |
linefit.cpp | 50 double x = 0, y = 0, x2 = 0, y2 = 0, xy = 0, w = 0; local 62 x2 += points[i].x * points[i].x; 74 x2 += weights[i] * points[i].x * points[i].x; 83 x2 /= w; 87 dx2 = x2 - x * x; 104 float x2 = 0, y2 = 0, z2 = 0, xy = 0, yz = 0, xz = 0; local 123 x2 += x * x * w; 143 x2 += x * x; 156 x2 /= w0; 167 dx2 = x2 - x0 * x0 [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
cf2font.c | 84 * | (x2,y2) \ 97 * (x2, y2) = (1000, 275) 127 FT_Int x2 = darkenParams[2]; local 170 else if ( scaledStem < cf2_intToFixed( x2 ) ) 172 FT_Int xdelta = x2 - x1; 189 FT_Int xdelta = x3 - x2; 192 FT_DivFix( cf2_intToFixed( x2 ), ppem );
|
/external/pdfium/xfa/src/fwl/src/theme/ |
scrollbartp.cpp | 242 FX_FLOAT x2 = bVert ? fRight - 1 : pRect->left;
local 245 DrawAxialShading(pGraphics, x1, y1, x2, y2, m_pThemeData->clrTrackBKStart,
|
/external/skia/src/animator/ |
SkPathParts.h | 73 SkScalar x2; member in class:SkQuadTo 91 SkScalar x2; member in class:SkCubicTo
|
/external/skia/src/core/ |
SkBitmapProcState_sample.h | 99 SRCTYPE x2 = srcAddr[UNPACK_PRIMARY_SHORT(xx1)]; local 104 *colors++ = RETURNDST(x2);
|
/external/srtp/tables/ |
aes_tables.c | 94 uint32_t x1, x2, x3; local 103 x2 = gf2_8_shift(x1); 104 x3 = x2 ^ x1; 106 tmp.v8[0] = x2; 113 tmp.v8[1] = x2; 120 tmp.v8[2] = x2; 127 tmp.v8[3] = x2;
|
/external/v8/test/mjsunit/ |
smi-ops-inlined.js | 237 var x2 = 0x40000002; variable 239 assertEquals(0x40000000, x1 << (x2 - x3), "0x10000000<<1(1)"); 244 x2 = 4 246 assertEquals(0x40000000, x1 << (x2 - x3), "0x10000000<<2(2)");
|
smi-ops.js | 244 var x2 = 0x40000002; variable 246 assertEquals(0x40000000, x1 << (x2 - x3), "0x10000000<<1(1)"); 251 x2 = 4 253 assertEquals(0x40000000, x1 << (x2 - x3), "0x10000000<<2(2)");
|
/external/webrtc/webrtc/modules/audio_processing/aec/ |
aec_resampler.c | 151 float x2 = 0; local 190 x2 += n * n; 201 denom = x2 - xAvg * x;
|
/frameworks/av/media/libeffects/testlibs/ |
AudioBiquadFilter.cpp | 153 audio_sample_t x2 = mDelays[0][1]; local 166 acc = mac_coef_sample(b2, x2, acc); 172 x2 = x1; 177 mDelays[0][1] = x2; 211 audio_sample_t x2 = mDelays[ch][1]; local 219 acc = mac_coef_sample(b2, x2, acc); 225 x2 = x1; 232 mDelays[ch][1] = x2;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
p_med_ol.c | 174 Word16 x1, x2, x3, x4, x5; local 178 x2 = x[-1]; 183 if (x2 < x1) 186 x1 = x2; 187 x2 = tmp; 205 if (x3 < x2) 207 tmp = x2; 208 x2 = x3; 211 if (x4 < x2) 213 tmp = x2; [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
idct_vca.cpp | 99 int32 x0, x1, x2, x4, x5; local 123 x2 = (181 * (x4 + x5) + 128) >> 8; 130 res2 = (x0 + x2) >> 14; 147 res = (x0 - x2) >> 14; 187 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local 200 x2 = blk[10]; 210 x6 = (W6 * x2 + 4) >> 3; 211 x2 = (W2 * x2 + 4) >> 3; 212 x8 = x0 - x2; 259 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local 296 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local 373 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local 450 int32 x0, x1, x2, x4, x5, temp; local 507 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local 580 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
RotateFilter.java | 144 Point x2 = new Point(0.5f * (-cosTheta - sinTheta + 1f), local 148 Quad quad = new Quad(x0, x1, x2, x3);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicYuvToRGB.cpp | 128 uint32_t x2 = xend; local 158 if((x1 & 1) && (x2 > x1)) { 166 if((x2 > x1) && gArchUseSIMD) { 167 int32_t len = x2 - x1; 169 rsdIntrinsicYuv2_K(info->outPtr[0], Y, u, v, x1, x2); 178 rsdIntrinsicYuv_K(info->outPtr[0], Y, v, x1, x2); 182 rsdIntrinsicYuvR_K(info->outPtr[0], Y, u, x1, x2); 190 if(x2 > x1) { 191 // ALOGE("y %i %i %i", info->current.y, x1, x2); 192 while(x1 < x2) { [all...] |
/hardware/ti/omap4-aah/security/tf_daemon/ |
lib_manifest2.c | 119 uint8_t x2 = pName2[i]; local 123 if ((x1 & ~0x20) != (x2 & ~0x20))
|
/hardware/ti/omap4xxx/security/tf_daemon/ |
lib_manifest2.c | 119 uint8_t x2 = pName2[i]; local 123 if ((x1 & ~0x20) != (x2 & ~0x20))
|
/prebuilts/misc/windows/sdl2/test/ |
testdraw2.c | 79 int x1, y1, x2, y2; local 119 x2 = (rand() % (viewport.w*2)) - viewport.w; 122 SDL_RenderDrawLine(renderer, x1, y1, x2, y2);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
IncludeOverlay.java | 84 int x2 = bottomRight.x; local 87 gc.fillRectangle(x1, y1, x2 - x1, y2 - y1);
|
SelectionHandles.java | 92 int x2 = x1 + w; local 98 x2 -= insets.right; 103 int mx = (x1 + x2) / 2; 116 mHandles.add(new SelectionHandle(x2, my, Position.RIGHT_MIDDLE)); 118 mHandles.add(new SelectionHandle(x2, y1, Position.TOP_RIGHT)); 121 mHandles.add(new SelectionHandle(x2, y2, Position.BOTTOM_RIGHT));
|
/system/bt/stack/smp/ |
p_256_ecc_pp.c | 96 DWORD *x2; local 106 x2=q->x; y2=q->y; z2=q->z; 125 multiprecision_mersenns_mult_mod(t1, x2, t1, keyLength); // t1=t1*x2
|