/external/opencv/cvaux/src/ |
H A D | cvscanlines.cpp | 183 int x1, y1, x2, y2, dx, dy; local 192 y1 = scanlines[curr++]; 197 dy = abs( y1 - y2 ) + 1; 213 int x1, y1, x2, y2; local 227 y1 = (int) (scanlines_1[curr] * alpha + scanlines_2[curr] * (1.0 - alpha)); 229 scanlines_a[curr++] = y1; 240 dy = abs( y1 - y2 ) + 1; 1904 icvGetCrossEpilineFrame( CvSize imgSize, float *epiline, int *x1, int *y1, int *x2, int *y2 ) argument 1981 *y1 = (int) point[0][1]; 1988 *y1 [all...] |
/external/openssl/crypto/bn/ |
H A D | bn_gf2m.c | 390 BN_ULONG x1, x0, y1, y0, zz[4]; local 412 y1 = ((j+1) == b->top) ? 0 : b->d[j+1]; 417 bn_GF2m_mul_2x2(zz, x1, x0, y1, y0);
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
H A D | 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 105 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 120 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 135 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 147 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 158 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 173 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/pdfium/core/src/fxcodec/jbig2/ |
H A D | JBig2_Image.cpp | 198 FX_INT32 x0, x1, y0, y1, xx, yy;
local 211 y1 = pDst->m_nHeight - y;
213 y1 = m_nHeight;
215 if (y0 >= y1) {
242 for (yy = y0; yy < y1; ++yy) {
254 for (yy = y0; yy < y1; ++yy) {
266 for (yy = y0; yy < y1; ++yy) {
278 for (yy = y0; yy < y1; ++yy) {
290 for (yy = y0; yy < y1; ++yy) {
305 for(yy = y0; yy < y1; [all...] |
/external/pdfium/core/src/fxge/agg/agg23/ |
H A D | agg_basics.h | 64 T y1; member in struct:agg::rect_base 69 x1(x1_), y1(y1_), x2(x2_), y2(y2_) {} 78 if(y1 > y2) { 79 t = y1; 80 y1 = y2; 96 if(y1 < r.y1) { 97 y1 = r.y1; 99 return x1 <= x2 && y1 < [all...] |
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_device.cpp | 144 FX_FLOAT x1, x2, y1, y2;
local 146 pObject2Device->Transform(pPoints[0].m_PointX, pPoints[0].m_PointY, x1, y1);
150 y1 = pPoints[0].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)) {
307 path.SetPoint(0, x1, y1, FXPT_MOVETO);
|
H A D | fx_ge_ps.cpp | 117 FX_FLOAT y1 = pPathData->GetPointY(i + 1);
local 120 pObject2Device->Transform(x1, y1);
123 buf << FX_BSTRC(" ") << x1 << FX_BSTRC(" ") << y1 << FX_BSTRC(" ") << x2 << FX_BSTRC(" ") << y2;
|
/external/pdfium/fpdfsdk/src/ |
H A D | fpdf_flatten.cpp | 310 FX_FLOAT y1 = matrix.b * rcStream.left + matrix.d * rcStream.bottom + matrix.f;
local 319 FX_FLOAT bottom = FX_MIN(FX_MIN(y1, y2), FX_MIN(y3, y4));
|
/external/pixman/pixman/ |
H A D | pixman-glyph.c | 327 extents->x1 = extents->y1 = INT32_MAX; 333 int x1, y1, x2, y2; local 336 y1 = glyphs[i].y - glyph->origin_y; 342 if (y1 < extents->y1) 343 extents->y1 = y1; 387 dest->y1 = MAX (box1->y1, box2->y1); [all...] |
H A D | pixman-matrix.c | 592 int x1, y1, x2, y2; local 595 v[0].vector[1] = F (b->y1); 599 v[1].vector[1] = F (b->y1); 616 y1 = pixman_fixed_to_int (v[i].vector[1]); 623 b->y1 = y1; 630 if (y1 < b->y1) b->y1 = y1; 1019 int x1, y1, x2, y2; local [all...] |
/external/skia/experimental/Intersection/ |
H A D | SkAntiEdge.cpp | 22 float y1 = SkFixedToFloat(fFirstY); local 25 float numer = (x2 - x1) * (y1 - y0) - (x1 - x0) * (y2 - y1); 26 float denom = (x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1);
|
/external/skia/experimental/StrokePathRenderer/ |
H A D | GrStrokePathRenderer.cpp | 30 SkScalar y1 = p1.y(), y2 = p2.y(), y3 = p3.y(), y4 = p4.y(); local 32 SkScalar d = SkScalarMul(x1 - x2, y3 - y4) - SkScalarMul(y1 - y2, x3 - x4); 39 SkScalar pre = SkScalarMul(x1, y2) - SkScalarMul(y1, x2), 43 SkScalarDiv(SkScalarMul(pre, y3 - y4) - SkScalarMul(y1 - y2, post), d)); 48 res.y() < GrMin(y1, y2) || res.y() > GrMax(y1, y2) ||
|
/external/speex/libspeex/ |
H A D | filters.c | 409 spx_word16_t y1, ny1i, ny2i; local 425 y1 = ADD16(y[i], EXTRACT16(PSHR32(mem1[0],LPC_SHIFT))); 426 ny1i = NEG16(y1); 427 y[i] = PSHR32(ADD32(SHL32(EXTEND32(y1),LPC_SHIFT+1),mem2[0]),LPC_SHIFT); 441 void qmf_decomp(const spx_word16_t *xx, const spx_word16_t *aa, spx_word16_t *y1, spx_word16_t *y2, int N, int M, spx_word16_t *mem, char *stack) argument 471 y1[k] = EXTRACT16(SATURATE(PSHR32(y1k,15),32767)); 502 spx_sig_t y0, y1, y2, y3; local 505 y0 = y1 = y2 = y3 = 0; 521 y1 = MAC16_16(MAC16_16(y1, a [all...] |
/external/aac/libAACenc/src/ |
H A D | metadata_compressor.cpp | 135 FIXP_DBL y1; member in struct:WEIGHTING_STATES 675 FIXP_DBL x1, x2, y, y1, y2; local 691 y1 = drcComp->filter[c].y1; 705 /* y = b0 * (x - x2) - a1 * y1 - a2 * y2; */ 706 y = fMult(b0,x-x2) - fMult(a1,y1) - fMult(a2,y2); 710 y2 = y1; 711 y1 = y; 724 drcComp->filter[c].y1 = y1; [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
H A D | Blit11.cpp | 111 float *x1, float *y1, float *x2, float *y2, 115 *y1 = ((destSize.height - destArea.y - destArea.height) / float(destSize.height)) * 2.0f - 1.0f; 130 float x1, y1, x2, y2, u1, v1, u2, v2; local 131 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, &u2, &v2); 135 d3d11::SetPositionTexCoordVertex(&vertices[0], x1, y1, u1, v2); 137 d3d11::SetPositionTexCoordVertex(&vertices[2], x2, y1, u2, v2); 152 float x1, y1, x2, y2, u1, v1, u2, v2; local 153 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, &u2, &v2); 161 d3d11::SetPositionLayerTexCoord3DVertex(&vertices[i * 6 + 0], x1, y1, i, u1, v2, readDepth); 163 d3d11::SetPositionLayerTexCoord3DVertex(&vertices[i * 6 + 2], x2, y1, 109 GenerateVertexCoords(const gl::Box &sourceArea, const gl::Extents &sourceSize, const gl::Box &destArea, const gl::Extents &destSize, float *x1, float *y1, float *x2, float *y2, float *u1, float *v1, float *u2, float *v2) argument [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
H A D | cf2hints.c | 70 CF2_Fixed y1, 77 return ( x1 >> 16 ) * ( ( y2 - y1 ) >> 16 ) - 78 ( y1 >> 16 ) * ( ( x2 - x1 ) >> 16 ); 1365 * On input, (x1, y1) and (x2, y2) give line segment. 1376 CF2_Fixed y1, 1383 CF2_Fixed dy = y2 - y1; 1401 cf2_getWindingMomentum( x1, y1, x2, y2 ); 1615 CF2_Fixed y1, 1630 y1, 1643 cf2_getWindingMomentum( x1, y1, x 69 cf2_getWindingMomentum( CF2_Fixed x1, CF2_Fixed y1, CF2_Fixed x2, CF2_Fixed y2 ) argument 1374 cf2_glyphpath_computeOffset( CF2_GlyphPath glyphpath, CF2_Fixed x1, CF2_Fixed y1, CF2_Fixed x2, CF2_Fixed y2, CF2_Fixed* x, CF2_Fixed* y ) argument 1613 cf2_glyphpath_curveTo( CF2_GlyphPath glyphpath, CF2_Fixed x1, CF2_Fixed y1, CF2_Fixed x2, CF2_Fixed y2, CF2_Fixed x3, CF2_Fixed y3 ) argument [all...] |
H A D | cf2intrp.c | 713 CF2_Fixed y1 = cf2_stack_getReal( opStack, index + 1 ) + curY; local 715 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; 720 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x3, y3 ); 1267 CF2_Fixed y1 = cf2_stack_getReal( opStack, index + 1 ) + curY; local 1269 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; 1274 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x3, y3 ); 1295 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1307 y1 = cf2_stack_getReal( opStack, index + 0 ) + curY; 1309 y2 = cf2_stack_getReal( opStack, index + 2 ) + y1; 1313 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x 1334 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1376 CF2_Fixed x1, x2, x3, y1, y2, y3; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
H A D | blockd.h | 55 ENTROPY_CONTEXT y1[4]; member in struct:__anon13042
|
H A D | postproc.c | 123 extern void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch); 944 int x1, y1; local 962 y1 = y0 + 4 + (mv->row >> 3); 964 constrain_line (x0+8, &x1, y0+4, &y1, width, height); 965 vp8_blit_line (x0+8, x1, y0+4, y1, y_buffer, y_stride); 970 y1 = y0 +12 + (mv->row >> 3); 972 constrain_line (x0+8, &x1, y0+12, &y1, width, height); 973 vp8_blit_line (x0+8, x1, y0+12, y1, y_buffer, y_stride); 983 y1 = y0 + 8 + (mv->row >> 3); 985 constrain_line (x0+4, &x1, y0+8, &y1, widt [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample_soa.c | 692 LLVMValueRef x0, y0, z0, x1, y1, z1; local 725 &y0, &y1, &t_fpart); 727 lp_build_name(y1, "tex.y1.wrapped"); 747 y0 = y1 = t_fpart = NULL; 778 /* get x0/x1 texels at y1 */ 781 x0, y1, z0, 786 x1, y1, z0, 804 /* get x0/x1/y0/y1 texels at z1 */ 817 x0, y1, z [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
H A D | r300_render.c | 1175 unsigned x1, unsigned y1, 1184 unsigned height = y2 - y1; 1239 OUT_CS_32F(y1 + height * 0.5f); 1273 /* XXX Offset both surfaces by x0,y1. */ 1292 /* XXX: y1 < 0 ==> Y flip */ 1296 info->dst.y1 - info->dst.y0); 1174 r300_blitter_draw_rectangle(struct blitter_context *blitter, unsigned x1, unsigned y1, unsigned x2, unsigned y2, float depth, enum blitter_attrib_type type, const union pipe_color_union *attrib) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
H A D | r600_state_common.c | 1313 unsigned x1, unsigned y1, unsigned x2, unsigned y2, float depth, 1323 util_blitter_draw_rectangle(blitter, x1, y1, x2, y2, depth, type, attrib); 1347 vb[1] = y1; 1357 vb[17] = y1; 1312 r600_draw_rectangle(struct blitter_context *blitter, unsigned x1, unsigned y1, unsigned x2, unsigned y2, float depth, enum blitter_attrib_type type, const union pipe_color_union *attrib) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | arc.c | 89 /* Given: Points (x0, y0) and (x1, y1) 94 find_unit_circles(double x0, double y0, double x1, double y1, argument 100 double dy = y0 - y1; 102 double ym = (y0 + y1)/2; 129 * endpoints (x0, y0) and (x1, y1) 135 double x0, double y0, double x1, double y1, 143 /* Transform (x0, y0) and (x1, y1) into unit space */ 147 x1p = (x1*COS + y1*SIN)/rh; 148 y1p = (-x1*SIN + y1*COS)/rv; 176 /* Transform (x0, y0) and (x1, y1) int 134 find_ellipses(double rh, double rv, double rot, double x0, double y0, double x1, double y1, double *cx0, double *cy0, double *cx1, double *cy1) argument 322 double x1, y1, x2, y2; local 346 arc_init(struct arc *arc, VGPathSegment type, VGfloat x1, VGfloat y1, VGfloat x2, VGfloat y2, VGfloat rh, VGfloat rv, VGfloat rot) argument [all...] |
H A D | bezier.c | 46 left->y1 = bez->y1; 49 left->y2 = bez->y1 + t * (bez->y2 - bez->y1); 64 left->y4 = bez->y1 = left->y3 + t * (bez->y2 - left->y3); 82 first_half->y2 = (bez->y1 + bez->y2) * 0.5; 84 first_half->y1 = bez->y1; 88 first_half->y4 = second_half->y1 = 95 polygon_vertex_append(poly, bez->x1, bez->y1); 166 bezier_init(struct bezier *bez, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) argument [all...] |
H A D | matrix.h | 418 static INLINE VGfloat line_length(VGfloat x1, VGfloat y1, argument 422 VGfloat y = y2 - y1;
|