/external/skia/src/core/ |
D | SkEdge.cpp | 37 SkFDot6 x0, y0, x1, y1; in setLine() local 43 y0 = int(p0.fY * scale); in setLine() 49 y0 = p0.fY >> shift; in setLine() 57 if (y0 > y1) { in setLine() 59 SkTSwap(y0, y1); in setLine() 63 int top = SkFDot6Round(y0); in setLine() 75 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() 77 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, (32 - y0) & 63)); // + SK_Fixed1/2 in setLine() 92 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument 98 y0 >>= 10; in updateLine() [all …]
|
D | SkScan_Antihair.cpp | 222 static void do_anti_hairline(SkFDot6 x0, SkFDot6 y0, SkFDot6 x1, SkFDot6 y1, in do_anti_hairline() argument 228 if (SkAbs32(x1 - x0) > SkIntToFDot6(511) || SkAbs32(y1 - y0) > SkIntToFDot6(511)) in do_anti_hairline() 237 int hy = (y0 >> 1) + (y1 >> 1); in do_anti_hairline() 238 do_anti_hairline(x0, y0, hx, hy, clip, blitter); in do_anti_hairline() 248 if (SkAbs32(x1 - x0) > SkAbs32(y1 - y0)) // mostly horizontal in do_anti_hairline() 252 SkTSwap<SkFDot6>(y0, y1); in do_anti_hairline() 257 fstart = SkFDot6ToFixed(y0); in do_anti_hairline() 258 if (y0 == y1) { // completely horizontal, take fast case in do_anti_hairline() 262 slope = fastfixdiv(y1 - y0, x1 - x0); in do_anti_hairline() 320 if (y0 > y1) // we want to go top-to-bottom in do_anti_hairline() [all …]
|
D | SkCordic.cpp | 31 static void SkCircularRotation(int32_t* x0, int32_t* y0, int32_t* z0) in SkCircularRotation() argument 35 int32_t y = *y0; in SkCircularRotation() 53 *y0 = y; in SkCircularRotation() 85 static int32_t SkCircularVector(int32_t* y0, int32_t* x0, int32_t vecMode) in SkCircularVector() argument 88 int32_t y = *y0; in SkCircularVector() 155 static void SkHyperbolic(int32_t* x0, int32_t* y0, int32_t* z0, int mode) in SkHyperbolic() argument 159 int32_t y = *y0; in SkHyperbolic() 183 *y0 = y; in SkHyperbolic()
|
D | SkBitmapProcState_sample.h | 135 unsigned y0 = XY >> 14; in MAKENAME() local 136 row0 = (const SRCTYPE*)(srcAddr + (y0 >> 4) * rb); in MAKENAME() 138 subY = y0 & 0xF; in MAKENAME() 177 unsigned y0 = data >> 14; in MAKENAME() local 179 unsigned subY = y0 & 0xF; in MAKENAME() 180 y0 >>= 4; in MAKENAME() 188 const SRCTYPE* SK_RESTRICT row0 = (const SRCTYPE*)(srcAddr + y0 * rb); in MAKENAME()
|
D | SkScan_Hairline.cpp | 48 SkFDot6 y0 = SkScalarToFDot6(pt0.fY); in HairLine() local 83 SkFDot6 dy = y1 - y0; in HairLine() 90 SkTSwap<SkFDot6>(y0, y1); in HairLine() 98 SkFixed startY = SkFDot6ToFixed(y0) + (slope * ((32 - x0) & 63) >> 6); in HairLine() 104 if (y0 > y1) // we want to go top-to-bottom in HairLine() 107 SkTSwap<SkFDot6>(y0, y1); in HairLine() 109 int iy0 = SkFDot6Round(y0); in HairLine() 115 SkFixed startX = SkFDot6ToFixed(x0) + (slope * ((32 - y0) & 63) >> 6); in HairLine()
|
D | SkBitmapProcState_shaderproc.h | 28 int y0 = TILEY_PROCF(fy, maxY); in SCALE_FILTER_NAME() local 33 row0 = (const SRCTYPE*)(srcAddr + y0 * rb); in SCALE_FILTER_NAME()
|
D | SkRegion_path.cpp | 339 void set(int x, int y0, int y1) { in set() 340 SkASSERT(y0 != y1); in set() 343 fY0 = (SkRegion::RunType)(y0); in set() 364 int y0 = base->fY0; in find_link() local 371 if ((e->fFlags & Edge::kY1Link) == 0 && y0 == e->fY1) { in find_link()
|
/external/opencore/codecs_v2/audio/aac/dec/src/ |
D | tns_ar_filter.cpp | 318 Int32 y0; in tns_ar_filter() local 379 y0 = *p_spec >> shift_down_amount; in tns_ar_filter() 387 y0 -= fxp_mul32_Q31(temp, *(p_lpc++)) << shift_up; in tns_ar_filter() 394 *(p_spec--) = y0; in tns_ar_filter() 402 y0 = *p_spec >> shift_down_amount; in tns_ar_filter() 410 y0 -= fxp_mul32_Q31(temp, *(p_lpc++)) << shift_up; in tns_ar_filter() 417 *(p_spec--) = y0; in tns_ar_filter() 430 y0 = 0; in tns_ar_filter() 435 y0 -= fxp_mul32_Q31(*p_state--, *(p_lpc++)); in tns_ar_filter() 442 *(p_spec) = (*p_spec >> shift_down_amount) + (y0 << shift_up); in tns_ar_filter() [all …]
|
/external/skia/src/utils/ |
D | SkCullPoints.cpp | 35 bool SkCullPoints::sect_test(int x0, int y0, int x1, int y1) const in sect_test() argument 41 y0 < r.fTop && y1 < r.fTop || in sect_test() 42 y0 > r.fBottom && y1 > r.fBottom) in sect_test() 46 if (r.contains(x0, y0) || r.contains(x1, y1)) in sect_test() 53 vec.set(x1 - x0, y1 - y0); in sect_test() 54 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test() 56 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) in sect_test() 106 int y0 = fPrevPt.fY; in lineTo() local 111 if (this->sect_test(x0, y0, x, y)) in lineTo() 113 line[0].set(x0, y0); in lineTo() [all …]
|
/external/dropbear/libtommath/ |
D | bn_mp_karatsuba_mul.c | 49 mp_int x0, x1, y0, y1, t1, x0y0, x1y1; in mp_karatsuba_mul() local 66 if (mp_init_size (&y0, B) != MP_OKAY) in mp_karatsuba_mul() 80 x0.used = y0.used = B; in mp_karatsuba_mul() 95 tmpy = y0.dp; in mp_karatsuba_mul() 116 mp_clamp (&y0); in mp_karatsuba_mul() 120 if (mp_mul (&x0, &y0, &x0y0) != MP_OKAY) in mp_karatsuba_mul() 128 if (s_mp_add (&y1, &y0, &x0) != MP_OKAY) in mp_karatsuba_mul() 157 Y0:mp_clear (&y0); in mp_karatsuba_mul()
|
/external/webkit/WebCore/platform/graphics/cairo/ |
D | PathCairo.cpp | 168 double x0, y0; in addArcTo() local 169 cairo_get_current_point(cr, &x0, &y0); in addArcTo() 170 FloatPoint p0(x0, y0); in addArcTo() 258 double x0, x1, y0, y1; in boundingRect() local 260 cairo_path_extents(cr, &x0, &y0, &x1, &y1); in boundingRect() 262 cairo_stroke_extents(cr, &x0, &y0, &x1, &y1); in boundingRect() 264 return FloatRect(x0, y0, x1 - x0, y1 - y0); in boundingRect() 275 double x0, x1, y0, y1; in strokeBoundingRect() local 276 cairo_stroke_extents(cr, &x0, &y0, &x1, &y1); in strokeBoundingRect() 277 return FloatRect(x0, y0, x1 - x0, y1 - y0); in strokeBoundingRect()
|
/external/webkit/WebKit/android/plugins/ |
D | ANPPathInterface.cpp | 66 static void anp_quadTo(ANPPath* path, float x0, float y0, float x1, float y1) { in anp_quadTo() argument 67 path->quadTo(SkFloatToScalar(x0), SkFloatToScalar(y0), in anp_quadTo() 71 static void anp_cubicTo(ANPPath* path, float x0, float y0, in anp_cubicTo() argument 73 path->cubicTo(SkFloatToScalar(x0), SkFloatToScalar(y0), in anp_cubicTo()
|
/external/tremor/Tremor/ |
D | floor1.c | 182 static int render_point(int x0,int x1,int y0,int y1,int x){ in render_point() argument 183 y0&=0x7fff; /* mask off flag */ in render_point() 187 int dy=y1-y0; in render_point() 193 if(dy<0)return(y0-off); in render_point() 194 return(y0+off); in render_point() 198 static void render_line(int n,int x0,int x1,int y0,int y1,ogg_int32_t *d){ in render_line() argument 199 int dy=y1-y0; in render_line() 205 int y=y0; in render_line()
|
/external/speex/libspeex/ |
D | ltp_arm4.h | 101 spx_word32_t y0, y1, y2, y3; in pitch_xcorr() local 102 y0=*y++; in pitch_xcorr() 173 : "+r" (y0), "+r" (y1), "+r" (y2), "+r" (y3), in pitch_xcorr()
|
D | filters.c | 502 spx_sig_t y0, y1, y2, y3; in qmf_synth() local 505 y0 = y1 = y2 = y3 = 0; in qmf_synth() 520 y0 = MAC16_16(MAC16_16(y0, a0, x11), NEG16(a0), x21); in qmf_synth() 525 y0 = ADD32(y0,MULT16_16(a0, x11-x21)); in qmf_synth() 537 y0 = MAC16_16(MAC16_16(y0, a0, x10), NEG16(a0), x20); in qmf_synth() 542 y0 = ADD32(y0,MULT16_16(a0, x10-x20)); in qmf_synth() 549 y[2*i] = EXTRACT16(SATURATE32(PSHR32(y0,15),32767)); in qmf_synth() 555 y[2*i] = 2.f*y0; in qmf_synth()
|
/external/skia/experimental/ |
D | SkSetPoly3To3_D.cpp | 24 SkScalar y0 = pts0[i].fY - ave0.fY; in computeOuterProduct() local 29 tmp[2] += SkDScalar_setMul(y0, x1); in computeOuterProduct() 30 tmp[3] += SkDScalar_setMul(y0, y1); in computeOuterProduct()
|
D | SkSetPoly3To3.cpp | 9 SkScalar y0 = pts0[i].fY - ave0.fY; in computeOuterProduct() local 14 op[2] += SkScalarMul(y0, x1); in computeOuterProduct() 15 op[3] += SkScalarMul(y0, y1); in computeOuterProduct()
|
D | SkSetPoly3To3_A.cpp | 37 SkScalar y0 = pts0[i].fY - ave0.fY; in computeOuterProduct() local 42 op[2] += SkScalarMul(y0, x1); in computeOuterProduct() 43 op[3] += SkScalarMul(y0, y1); in computeOuterProduct()
|
/external/fdlibm/ |
D | readme | 191 printf("y0(1e300) = %1.20e\n",y0(1e300)); 197 y0: TLOSS error 210 printf("IEEE: ieee_y0(1e300) = %1.20e\n",y0(1e300)); 212 printf("XOPEN ieee_y0(1e300) = %1.20e\n",y0(1e300)); 214 printf("POSIX ieee_y0(1e300) = %1.20e\n",y0(1e300)); 216 printf("SVID ieee_y0(1e300) = %1.20e\n",y0(1e300)); 225 y0: TLOSS error
|
/external/tesseract/liblept/ |
D | textops.c | 245 l_int32 y0, in pixSetTextblock() argument 286 y = y0; in pixSetTextblock() 303 if (h < y0 - bmf->baselinetab[93] + htext) in pixSetTextblock() 345 l_int32 y0, in pixSetTextline() argument 378 pixSetMaskedGeneral(pixs, pix, val, x, y0 - baseline); in pixSetTextline()
|
/external/webkit/WebCore/html/ |
D | HTMLAreaElement.cpp | 136 int y0 = m_coords[1].calcMinValue(height); in getRegion() local 139 path.addRect(FloatRect(x0, y0, x1 - x0, y1 - y0)); in getRegion()
|
/external/qemu/android/skin/ |
D | trackball.c | 281 double y0 = origin[1] + axis1[1]*tx + axis2[1]*ty; in trackball_init() local 288 double y = y0 + axis1[1]*h + axis2[1]*v; in trackball_init() 315 double y0 = yy - radius2; in trackball_init() local 316 double r0 = sqrt( x0*x0 + y0*y0 ); in trackball_init() 321 double ry = y0/radius; in trackball_init()
|
/external/skia/bench/ |
D | TextBench.cpp | 75 const SkScalar y0 = SkIntToScalar(-10); in onDraw() local 79 SkScalar y = y0 + rand.nextUScalar1() * dim.fY; in onDraw()
|
/external/webkit/WebCore/html/canvas/ |
D | CanvasRenderingContext2D.h | 132 void arcTo(float x0, float y0, float x1, float y1, float radius, ExceptionCode&); 176 …PassRefPtr<CanvasGradient> createLinearGradient(float x0, float y0, float x1, float y1, ExceptionC… 177 …PassRefPtr<CanvasGradient> createRadialGradient(float x0, float y0, float r0, float x1, float y1, …
|
/external/tesseract/wordrec/ |
D | outlines.cpp | 121 float y0 = line_pt_0->pos.y; in near_point() local 131 slope = (y0 - y1) / (x0 - x1); in near_point()
|