/external/mesa3d/src/mesa/swrast/ |
H A D | s_aaline.c | 46 GLfloat x0, y0; /* start */ member in struct:LineInfo 81 * Input: (x0, y0) and (x1,y1) are the endpoints of the line. 91 compute_plane(GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, argument 97 const GLfloat py = y1 - y0; 105 const GLfloat d = -(a * x0 + b * y0 + c * z0); 113 const GLfloat py = y1 - y0; 118 const GLfloat d = -(a * x0 + b * y0 + c * z0); 346 const GLfloat y0 = line->y0 + t0 * line->dy; local 348 const GLfloat y1 = line->y0 [all...] |
H A D | s_aalinetemp.h | 116 line.y0 = v0->attrib[VARYING_SLOT_POS][1]; 120 line.dy = line.y1 - line.y0; 137 compute_plane(line.x0, line.y0, line.x1, line.y1, 142 compute_plane(line.x0, line.y0, line.x1, line.y1, 144 compute_plane(line.x0, line.y0, line.x1, line.y1, 146 compute_plane(line.x0, line.y0, line.x1, line.y1, 148 compute_plane(line.x0, line.y0, line.x1, line.y1, 162 compute_plane(line.x0, line.y0, line.x1, line.y1, invW0, invW1, line.wPlane); 174 compute_plane(line.x0, line.y0, line.x1, line.y1, a0, a1,
|
H A D | s_zoom.c | 44 * \param y0, y1 returned Y bounds of zoomed region [y0, y1) 50 GLint *x0, GLint *x1, GLint *y0, GLint *y1) 94 *y0 = r0; 135 GLint x0, x1, y0, y1; local 139 &x0, &x1, &y0, &y1)) { 313 if (y1 - y0 > 1) { 316 for (zoomed.y = y0; zoomed.y < y1; zoomed.y++) { 319 if (y1 - y0 > 1) { 365 GLint x0, x1, y0, y local 48 compute_zoomed_bounds(struct gl_context *ctx, GLint imageX, GLint imageY, GLint spanX, GLint spanY, GLint width, GLint *x0, GLint *x1, GLint *y0, GLint *y1) argument 410 GLint x0, x1, y0, y1, y; local [all...] |
/external/pdfium/third_party/lcms/src/ |
H A D | cmsintrp.c | 190 cmsUInt16Number y1, y0; local 208 y0 = LutTable[cell0]; 212 Output[0] = LinearInterp(rest, y0, y1); 227 cmsFloat32Number y1, y0; local 248 y0 = LutTable[cell0] ; 251 Output[0] = y0 + (y1 - y0) * rest; 293 cmsFloat32Number y1, y0; local 320 y0 = LutTable[cell0 + OutChan] ; 323 Output[OutChan] = y0 339 int x0, y0, local 394 int x0, y0; local 451 int x0, y0, z0, local 525 int x0, y0, z0; local 598 int x0, y0, z0, local 700 int x0, y0, z0; local 837 int x0, y0, z0; local 1047 cmsFloat32Number y0 = Tmp1[i]; local 1135 cmsFloat32Number y0 = Tmp1[i]; local 1222 cmsFloat32Number y0 = Tmp1[i]; local 1308 cmsFloat32Number y0 = Tmp1[i]; local 1393 cmsFloat32Number y0 = Tmp1[i]; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
H A D | AdaptiveStepsizeIntegrator.java | 174 * @param y0 state vector at t0 181 final double t0, final double[] y0, 185 super.sanityChecks(equations, t0, y0, t, y); 211 * @param y0 state vector at t0 212 * @param yDot0 first time derivative of y0 221 final double t0, final double[] y0, final double[] yDot0, 236 ratio = y0[j] / scale[j]; 249 for (int j = 0; j < y0.length; ++j) { 250 y1[j] = y0[j] + h * yDot0[j]; 319 double t0, double[] y0, 180 sanityChecks(final FirstOrderDifferentialEquations equations, final double t0, final double[] y0, final double t, final double[] y) argument 219 initializeStep(final FirstOrderDifferentialEquations equations, final boolean forward, final int order, final double[] scale, final double t0, final double[] y0, final double[] yDot0, final double[] y1, final double[] yDot1) argument 318 integrate(FirstOrderDifferentialEquations equations, double t0, double[] y0, double t, double[] y) argument [all...] |
/external/skia/src/core/ |
H A D | SkAnalyticEdge.cpp | 16 bool SkAnalyticEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1, SkFixed slope) { argument 25 if (y0 > y1) { 27 SkTSwap(y0, y1); 31 SkASSERT(y0 <= y1); 34 SkFDot6 dy = SkFixedToFDot6(y1 - y0); 47 fY = y0; 48 fUpperY = y0;
|
H A D | SkBitmapProcState_sample.h | 140 unsigned y0 = XY >> 14; local 141 row0 = (const SRCTYPE*)(srcAddr + (y0 >> 4) * rb); 143 subY = y0 & 0xF; 182 unsigned y0 = data >> 14; local 184 unsigned subY = y0 & 0xF; 185 y0 >>= 4; 193 const SRCTYPE* SK_RESTRICT row0 = (const SRCTYPE*)(srcAddr + y0 * rb);
|
H A D | SkScan_Antihair.cpp | 304 static void do_anti_hairline(SkFDot6 x0, SkFDot6 y0, SkFDot6 x1, SkFDot6 y1, 309 if (any_bad_ints(x0, y0, x1, y1)) { 316 SkASSERT(canConvertFDot6ToFixed(y0)); 320 if (SkAbs32(x1 - x0) > SkIntToFDot6(511) || SkAbs32(y1 - y0) > SkIntToFDot6(511)) { 328 int hy = (y0 >> 1) + (y1 >> 1); 329 do_anti_hairline(x0, y0, hx, hy, clip, blitter); 344 if (SkAbs32(x1 - x0) > SkAbs32(y1 - y0)) { // mostly horizontal 347 SkTSwap<SkFDot6>(y0, y1); 352 fstart = SkFDot6ToFixed(y0); 353 if (y0 [all...] |
/external/skqp/src/core/ |
H A D | SkAnalyticEdge.cpp | 16 bool SkAnalyticEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1, SkFixed slope) { argument 25 if (y0 > y1) { 27 SkTSwap(y0, y1); 31 SkASSERT(y0 <= y1); 34 SkFDot6 dy = SkFixedToFDot6(y1 - y0); 47 fY = y0; 48 fUpperY = y0;
|
H A D | SkBitmapProcState_sample.h | 140 unsigned y0 = XY >> 14; local 141 row0 = (const SRCTYPE*)(srcAddr + (y0 >> 4) * rb); 143 subY = y0 & 0xF; 182 unsigned y0 = data >> 14; local 184 unsigned subY = y0 & 0xF; 185 y0 >>= 4; 193 const SRCTYPE* SK_RESTRICT row0 = (const SRCTYPE*)(srcAddr + y0 * rb);
|
H A D | SkScan_Antihair.cpp | 304 static void do_anti_hairline(SkFDot6 x0, SkFDot6 y0, SkFDot6 x1, SkFDot6 y1, 309 if (any_bad_ints(x0, y0, x1, y1)) { 316 SkASSERT(canConvertFDot6ToFixed(y0)); 320 if (SkAbs32(x1 - x0) > SkIntToFDot6(511) || SkAbs32(y1 - y0) > SkIntToFDot6(511)) { 328 int hy = (y0 >> 1) + (y1 >> 1); 329 do_anti_hairline(x0, y0, hx, hy, clip, blitter); 344 if (SkAbs32(x1 - x0) > SkAbs32(y1 - y0)) { // mostly horizontal 347 SkTSwap<SkFDot6>(y0, y1); 352 fstart = SkFDot6ToFixed(y0); 353 if (y0 [all...] |
/external/deqp/framework/common/ |
H A D | tcuBilinearImageCompare.cpp | 89 deUint32 y0 = v>>NUM_SUBPIXEL_BITS; local 91 deUint32 y1 = y0+1; //de::min(y0+1, (deUint32)(access.getHeight()-1)); 97 deUint32 fy1 = v-(y0<<NUM_SUBPIXEL_BITS); 99 deUint32 p00 = readRGBA8Raw(access, x0, y0); 100 deUint32 p10 = readRGBA8Raw(access, x1, y0); 123 const deUint32 y0 = (deUint32)de::max(y-1, 0); 130 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) || 131 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) || 132 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshol [all...] |
/external/syslinux/com32/lib/sys/vesa/ |
H A D | drawtxt.c | 212 unsigned int y0 = row; local 214 unsigned int y1 = y0 + rows; 217 if (y0 < upd_y0) 218 upd_y0 = y0; 228 void __vesacon_erase(int x0, int y0, int x1, int y1, attr_t attr) argument 232 [(y0 + 1) * (__vesacon_text_cols + 2) + (x0 + 1)]; 239 for (y = y0; y <= y1; y++) { 244 vesacon_touch(y0, x0, y1 - y0 + 1, ncols);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_draw_quad.c | 102 float x0, float y0, float x1, float y1, float z) 125 v[1] = y0; 130 v[9] = y0; 100 util_draw_texquad(struct pipe_context *pipe, struct cso_context *cso, uint vbuf_slot, float x0, float y0, float x1, float y1, float z) argument
|
/external/skia/experimental/go-skia/ |
H A D | skia.go | 174 func (p *Path) QuadTo(x0, y0, x1, y1 float32) { 175 C.sk_path_quad_to(p.ptr, C.float(x0), C.float(y0), C.float(x1), C.float(y1)) 178 func (p *Path) ConicTo(x0, y0, x1, y1, w float32) { 179 C.sk_path_conic_to(p.ptr, C.float(x0), C.float(y0), C.float(x1), C.float(y1), C.float(w)) 182 func (p *Path) CubicTo(x0, y0, x1, y1, x2, y2 float32) { 183 C.sk_path_cubic_to(p.ptr, C.float(x0), C.float(y0), C.float(x1), C.float(y1), C.float(x2), C.float(y2))
|
/external/skqp/experimental/go-skia/ |
H A D | skia.go | 174 func (p *Path) QuadTo(x0, y0, x1, y1 float32) { 175 C.sk_path_quad_to(p.ptr, C.float(x0), C.float(y0), C.float(x1), C.float(y1)) 178 func (p *Path) ConicTo(x0, y0, x1, y1, w float32) { 179 C.sk_path_conic_to(p.ptr, C.float(x0), C.float(y0), C.float(x1), C.float(y1), C.float(w)) 182 func (p *Path) CubicTo(x0, y0, x1, y1, x2, y2 float32) { 183 C.sk_path_cubic_to(p.ptr, C.float(x0), C.float(y0), C.float(x1), C.float(y1), C.float(x2), C.float(y2))
|
/external/kernel-headers/original/uapi/linux/dvb/ |
H A D | osd.h | 35 OSD_Open, // (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0)) 50 OSD_SetColor, // (color,R{x0},G{y0},B{x1},opacity{y1}) 66 OSD_SetPixel, // (x0,y0,color) 69 OSD_GetPixel, // (x0,y0) 71 OSD_SetRow, // (x0,y0,x1,data) 74 OSD_SetBlock, // (x0,y0,x1,y1,increment{color},data) 75 // fills pixels x0,y0 through x1,y1 with the content of data[] 79 OSD_FillRow, // (x0,y0,x1,color) 82 OSD_FillBlock, // (x0,y0,x1,y1,color) 83 // fills pixels x0,y0 throug 104 int y0; member in struct:osd_cmd_s [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_draw.h | 92 float x0, float y0, float x1, float y1, float z,
|
/external/swiftshader/src/Main/ |
H A D | FrameBufferGDI.cpp | 84 int sourceTop = sourceRect ? sourceRect->y0 : 0; 86 int sourceHeight = sourceRect ? sourceRect->y1 - sourceRect->y0 : height; 88 int destTop = destRect ? destRect->y0 : 0; 90 int destHeight = destRect ? destRect->y1 - destRect->y0 : bounds.bottom - bounds.top;
|
/external/tremolo/Tremolo/ |
H A D | floor1.c | 205 int render_point(int x0,int x1,int y0,int y1,int x){ argument 206 y0&=0x7fff; /* mask off flag */ 210 int dy=y1-y0; 216 if(dy<0)return(y0-off); 217 return(y0+off); 225 static void render_line(int n,int x0,int x1,int y0,int y1,ogg_int32_t *d){ argument 235 if (n <= 0 || y0 < 0 || y0 > 255 || y1 < 0 || y1 > 255) { 238 dy=y1-y0; 243 floor=&FLOOR_fromdB_LOOKUP[y0]; [all...] |
/external/opencv/cvaux/src/ |
H A D | decomppoly.cpp | 67 int y0, 81 vec0_y = y0_end - y0; 83 vec1_y = y1_end - y0; 85 vec2_y = y2_end - y0; 338 int x0, y0, x0_end, y0_end; 346 y0 = contour[ vtxIdx ].y; 350 vec0_y = y0_end - y0; 354 //y0 = contour[ edges[ mainEdgeIdx * 2 ] ].y; 358 y0 = contour[ vtxIdx ].y; 362 vec0_y = y0_end - y0; [all...] |
/external/libxcam/modules/ocl/ |
H A D | cl_utils.cpp | 200 uint32_t y0 = (uint32_t) image_coord_y; 201 uint32_t y1 = (y0 < stitch_info.height - 1) ? (y0 + 1) : y0; 203 float rate00 = (x0 + 1 - image_coord_x) * (y0 + 1 - image_coord_y); 204 float rate01 = (x0 + 1 - image_coord_x) * (image_coord_y - y0); 205 float rate10 = (image_coord_x - x0) * (y0 + 1 - image_coord_y); 206 float rate11 = (image_coord_x - x0) * (image_coord_y - y0); 208 y00 = stitch_mem[y0 * stitch_info.strides[0] + x0]; 210 y10 = stitch_mem[y0 * stitch_inf [all...] |
/external/libldac/src/ |
H A D | sigana_fixp_ldac.c | 193 INT32 y0, y1, y2; local 211 y0 = y1; 215 acc2 = (INT64)(y0-y2) * (INT64)(y0-y2); 224 y0 = y1; 228 acc2 = (INT64)(y0-y2) * (INT64)(y0-y2);
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_transfer.c | 49 if (src->y1 - src->y0 != dst->y1 - dst->y0) 341 PUSH_DATA (push, (dst->y1 - dst->y0) << 16 | dst->y0); 346 PUSH_DATAf(push, src->y0); 349 PUSH_DATA (push, (dst->y0 << 16) | dst->x0); 352 PUSH_DATAf(push, src->y0); 355 PUSH_DATA (push, (dst->y0 << 16) | dst->x1); 465 PUSH_DATA (push, ( dst->y0 << 16) | dst->x0); 466 PUSH_DATA (push, ((dst->y1 - dst->y0) << 1 [all...] |
/external/skia/bench/ |
H A D | DashBench.cpp | 161 SkScalar y0 = SkIntToScalar(10); local 162 path->moveTo(x0, y0); 163 path->quadTo(x0, y0 + 400 * SK_Scalar1, 164 x0 + 600 * SK_Scalar1, y0 + 400 * SK_Scalar1); 169 SkScalar y0 = SkIntToScalar(10); local 170 path->moveTo(x0, y0); 171 path->cubicTo(x0, y0 + 400 * SK_Scalar1, 172 x0 + 600 * SK_Scalar1, y0 + 400 * SK_Scalar1, 173 x0 + 600 * SK_Scalar1, y0);
|