Searched defs:y2 (Results 151 - 175 of 297) sorted by relevance

1234567891011>>

/external/clang/test/Analysis/
H A Ddead-stores.c244 int y2 = 4; local
266 ++y2;
300 (void)y2;
/external/clang/test/SemaCXX/
H A Denum-scoped.cpp158 enum class F y2 = a; // expected-error {{reference to enumeration must use 'enum' not 'enum class'}} member in namespace:E1::E2::Redeclare5::N2764
/external/deqp/modules/egl/
H A DteglPreservingSwapTests.cpp105 void render (int width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType);
204 void GLES2Program::render (int width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) argument
211 x1, y2, 0.0f, 1.0f,
212 x2, y2, 0.0f, 1.0f,
214 x2, y2, 0.0f, 1.0f,
263 const int y2i = (int)((py/2.0f) * y2 + oy);
281 void render (tcu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType);
296 void ReferenceProgram::render (tcu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) argument
310 const int y2i = (int)((py/2.0) * y2 + oy);
/external/deqp/modules/gles3/functional/
H A Des3fPixelBufferObjectTests.cpp461 float y2 = 2.0f * m_random.getFloat() - 1.0f; local
468 renderTriangle(tcu::Vec3(x1, y1, z1), tcu::Vec3(x2, y2, z2), tcu::Vec3(x3, y3, z3));
/external/libopus/src/
H A Danalysis.c119 float x2, y2; local
127 y2 = y*y;
128 if(x2<y2){
129 float den = (y2 + cB*x2) * (y2 + cC*x2);
131 return -x*y*(y2 + cA*x2) / den + (y<0 ? -cE : cE);
135 float den = (x2 + cB*y2) * (x2 + cC*y2);
137 return x*y*(x2 + cA*y2) / den + (y<0 ? -cE : cE) - (x*y<0 ? -cE : cE);
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_video.c289 int y, y2, x = mb->x * 16; local
295 y2 = y;
297 y2 = y + (luma ? 16 : 8);
313 x, y2, mb->PMV[0][0], dec->past, FALSE);
319 x, y2, mb->PMV[1][1], dec->future, FALSE);
372 x, y2, mb->PMV[1][0], dec->past, FALSE);
380 x, y2, mb->PMV[1][1], dec->future, FALSE);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dimage.c530 VGfloat x2, y2; local
543 y2 = 0;
558 x1, y1, x2, y2, x3, y3, x4, y4);
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Di830_state.c542 int x1, y1, x2, y2; local
553 y2 = y1 + h - 1;
554 DBG("%s %d..%d,%d..%d (inverted)\n", __FUNCTION__, x1, x2, y1, y2);
562 y2 = y + h - 1;
563 DBG("%s %d..%d,%d..%d (not inverted)\n", __FUNCTION__, x1, x2, y1, y2);
569 y2 = CLAMP(y2, 0, ctx->DrawBuffer->Height - 1);
571 DBG("%s %d..%d,%d..%d (clamped)\n", __FUNCTION__, x1, x2, y1, y2);
575 i830->state.Buffer[I830_DESTREG_SR2] = (y2 << 16) | (x2 & 0xffff);
/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwmesa.c567 GLint y2 = FLIP(y[i]); local
568 Color = GetPixel(pwc->hDC, x[i], y2);
670 GLint y2 = FLIP(y[i]); local
671 lpdw = ((LPDWORD)(pwfb->pbPixels + pwfb->ScanWidth * y2)) + x[i];
776 GLint y2 = FLIP(y[i]); local
777 lpb = ((LPBYTE)(pwfb->pbPixels + pwfb->ScanWidth * y2)) + (3 * x[i]);
881 GLint y2 = FLIP(y[i]); local
882 lpw = ((LPWORD)(pwfb->pbPixels + pwfb->ScanWidth * y2)) + x[i];
/external/mesa3d/src/mesa/program/
H A Dprog_noise.c259 float x1, y1, x2, y2; local
282 y2 = y0 - 1.0f + 2.0f * G2;
305 t2 = 0.5f - x2 * x2 - y2 * y2;
310 n2 = t2 * t2 * grad2(perm[ii + 1 + perm[jj + 1]], x2, y2);
346 float x1, y1, z1, x2, y2, z2, x3, y3, z3; local
419 y2 = y0 - j2 + 2.0f * G3;
449 t2 = 0.6f - x2 * x2 - y2 * y2 - z2 * z2;
456 y2, z
529 float x1, y1, z1, w1, x2, y2, z2, w2, x3, y3, z3, w3, x4, y4, z4, w4; local
[all...]
/external/mesa3d/src/mesa/vbo/
H A Dvbo_noop.c358 _mesa_noop_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) argument
/external/opencv/cv/src/
H A Dcvgeometry.cpp115 double x2, double dx2, double y2, double dy2, double *t2 )
122 *t2 = ((x2 - x1) * dy1 - (y2 - y1) * dx1) / d;
114 icvIntersectLines( double x1, double dx1, double y1, double dy1, double x2, double dx2, double y2, double dy2, double *t2 ) argument
H A Dcvtemplmatch.cpp208 int x1 = MAX( 0, x0 ), y1 = MAX( 0, y0 ), x2, y2; local
214 y2 = MIN( img->rows, y0 + isz.height );
221 src = cvGetSubRect( img, &sstub, cvRect(x1,y1,x2-x1,y2-y1) );
226 if( x2 - x1 < isz.width || y2 - y1 < isz.height )
228 cvRect( x1 - x0, y1 - y0, x2 - x1, y2 - y1 ));
234 planes[i] = cvInitMatHeader( &temp, y2 - y1, x2 - x1, depth, _buf );
H A Dcvundistort.cpp63 float y = (v - v0)*ify, y2 = y*y; local
67 float x = (u - u0)*ifx, x2 = x*x, r2 = x2 + y2, _2xy = 2*x*y;
70 float _y = fy*(y*kr + p1*(r2 + 2*y2) + p2*_2xy) + y0;
242 float y = (v - v0)*ify, y2 = y*y; local
246 float x = (u - u0)*ifx, x2 = x*x, r2 = x2 + y2, _2xy = 2*x*y;
249 double _y = fy*(y*kr + p1*(r2 + 2*y2) + p2*_2xy) + y0;
356 double x2 = x*x, y2 = y*y; local
357 double r2 = x2 + y2, _2xy = 2*x*y;
360 double v = fy*(y*kr + p1*(r2 + 2*y2) + p2*_2xy) + v0;
/external/opencv/cvaux/src/
H A Dcvscanlines.cpp183 int x1, y1, x2, y2, dx, dy; local
194 y2 = scanlines[curr++];
197 dy = abs( y1 - y2 ) + 1;
213 int x1, y1, x2, y2; local
235 y2 = (int) (scanlines_1[curr] * alpha + scanlines_2[curr] * (1.0 - alpha));
237 scanlines_a[curr++] = y2;
240 dy = abs( y1 - y2 ) + 1;
1904 icvGetCrossEpilineFrame( CvSize imgSize, float *epiline, int *x1, int *y1, int *x2, int *y2 )
1983 *y2 = (int) point[1][1];
1990 *y2
[all...]
/external/pdfium/core/src/fxge/agg/agg23/
H A Dagg_basics.h66 T y2; member in struct:agg::rect_base
69 x1(x1_), y1(y1_), x2(x2_), y2(y2_) {}
78 if(y1 > y2) {
80 y1 = y2;
81 y2 = t;
90 if(y2 > r.y2) {
91 y2 = r.y2;
99 return x1 <= x2 && y1 <= y2;
[all...]
H A Dfx_agg_driver.cpp56 FX_FLOAT x2 = pPoints[i + 1].m_PointX, y2 = pPoints[i + 1].m_PointY; local
60 pObject2Device->Transform(x2, y2);
63 agg::curve4 curve(x0, y0, x, y, x2, y2, x3, y3);
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_device.cpp144 FX_FLOAT x1, x2, y1, y2; local
147 pObject2Device->Transform(pPoints[1].m_PointX, pPoints[1].m_PointY, x2, y2);
152 y2 = pPoints[1].m_PointY;
154 DrawCosmeticLine(x1, y1, x2, y2, fill_color, fill_mode, alpha_flag, pIccTransform, blend_type);
295 FX_BOOL CFX_RenderDevice::DrawCosmeticLine(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2, FX_DWORD color, argument
301 if (m_pDeviceDriver->DrawCosmeticLine(x1, y1, x2, y2, color, alpha_flag, pIccTransform, blend_type)) {
308 path.SetPoint(1, x2, y2, FXPT_LINETO);
H A Dfx_ge_ps.cpp118 FX_FLOAT y2 = pPathData->GetPointY(i + 2); local
121 pObject2Device->Transform(x2, y2);
123 buf << FX_BSTRC(" ") << x1 << FX_BSTRC(" ") << y1 << FX_BSTRC(" ") << x2 << FX_BSTRC(" ") << y2;
/external/pdfium/fpdfsdk/src/
H A Dfpdf_flatten.cpp312 FX_FLOAT y2 = matrix.b * rcStream.left + matrix.d * rcStream.top + matrix.f; local
319 FX_FLOAT bottom = FX_MIN(FX_MIN(y1, y2), FX_MIN(y3, y4));
/external/pixman/pixman/
H A Dpixman-glyph.c328 extents->x2 = extents->y2 = INT32_MIN;
333 int x1, y1, x2, y2; local
338 y2 = glyphs[i].y - glyph->origin_y + glyph->image->bits.height;
346 if (y2 > extents->y2)
347 extents->y2 = y2;
389 dest->y2 = MIN (box1->y2, box2->y2);
[all...]
H A Dpixman-matrix.c592 int x1, y1, x2, y2; local
603 v[2].vector[1] = F (b->y2);
607 v[3].vector[1] = F (b->y2);
618 y2 = pixman_fixed_to_int (pixman_fixed_ceil (v[i].vector[1]));
625 b->y2 = y2;
632 if (y2 > b->y2) b->y2 = y2;
1019 int x1, y1, x2, y2; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
H A DSDL_DirectFB_video.c1005 int x2, y2; local
1011 y2 = rects[i].y + rects[i].h - 1;
1024 if (y2 > region.y2)
1025 region.y2 = y2;
1032 region.y2 = y2;
/external/qemu/distrib/sdl-1.2.15/src/video/gem/
H A DSDL_gemvideo.c719 short x2,y2,w2,h2; local
740 if (!wind_calc(WC_BORDER, GEM_win_type, 0,0,width,height, &x2,&y2,&w2,&h2)) {
748 y2 = (GEM_desk_h-h2)>>1;
752 if (y2<0) {
753 y2 = 0;
756 y2 += GEM_desk_y;
765 GEM_handle=wind_create(GEM_win_type, x2,y2,w2,h2);
781 wind_open(GEM_handle,x2,y2,w2,h2);
784 wind_get (GEM_handle, WF_WORKXYWH, &x2,&y2,&w2,&h2);
785 if (wind_calc(WC_BORDER, GEM_win_type, x2,y2,widt
[all...]
/external/skia/experimental/Intersection/
H A DSkAntiEdge.cpp24 float y2 = SkFixedToFloat(fLastY); local
25 float numer = (x2 - x1) * (y1 - y0) - (x1 - x0) * (y2 - y1);
26 float denom = (x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1);

Completed in 460 milliseconds

1234567891011>>