/external/libxcam/cl_kernel/ |
D | kernel_bi_filter.cl | 15 #define CALC_SUM(y1,y2,y3,dark1,dark2,dark3) \ 16 cur_y = (float8)(y1, y2, y3); \ 40 float8 y1, y2, dark1, dark2; 48 …y2 = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x, pos_y -… 51 CALC_SUM (y1.s1234, y1.s567, y2.s0, dark1.s1234, dark1.s567, dark2.s0); 52 CALC_SUM (y1.s2345, y1.s67, y2.s01, dark1.s2345, dark1.s67, dark2.s01); 53 CALC_SUM (y1.s3456, y1.s7, y2.s012, dark1.s3456, dark1.s7, dark2.s012); 54 CALC_SUM (y1.s4567, y2.s01, y2.s23, dark1.s4567, dark2.s01, dark2.s23); 55 CALC_SUM (y1.s567, y2.s0123, y2.s4, dark1.s567, dark2.s0123, dark2.s4); 56 CALC_SUM (y1.s67, y2.s0123, y2.s45, dark1.s67, dark2.s0123, dark2.s45); [all …]
|
/external/libvncserver/libvncserver/ |
D | draw.c | 3 void rfbFillRect(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2,rfbPixel col) in rfbFillRect() argument 11 for(j=y1;j<y2;j++) in rfbFillRect() 14 rfbMarkRectAsModified(s,x1,y1,x2,y2); in rfbFillRect() 31 void rfbDrawLine(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2,rfbPixel col) in rfbDrawLine() argument 40 #define SWAPPOINTS { i=x1; x1=x2; x2=i; i=y1; y1=y2; y2=i; } in rfbDrawLine() 41 if(abs(x1-x2)<abs(y1-y2)) { in rfbDrawLine() 42 if(y1>y2) in rfbDrawLine() 44 for(i=y1;i<=y2;i++) in rfbDrawLine() 45 SETPIXEL(x1+(i-y1)*(x2-x1)/(y2-y1),i); in rfbDrawLine() 48 rfbMarkRectAsModified(s,x1,y1,x2+1,y2+1); in rfbDrawLine() [all …]
|
D | selbox.c | 12 int x1,y1,x2,y2,textH,pageH; member 57 int y1 = m->y1+line*m->textH, y2 = y1+m->textH; in selPaintLine() local 58 if(y2>m->y2) in selPaintLine() 59 y2=m->y2; in selPaintLine() 60 rfbFillRect(m->screen,m->x1,y1,m->x2,y2,invert?m->colour:m->backColour); in selPaintLine() 62 rfbDrawStringWithClip(m->screen,m->font,m->x1+m->xhot,y2-1+m->yhot, in selPaintLine() 64 m->x1,y1,m->x2,y2, in selPaintLine() 103 m->x1,m->y1+lineEnd*m->textH,m->x2,m->y2, in selSelect() 189 if(x>=m->x1 && x<m->x2 && y>=m->y1 && y<m->y2) in selPtrAddEvent() 205 int x1,int y1,int x2,int y2, in rfbSelectBox() argument [all …]
|
D | font.c | 50 int x1,int y1,int x2,int y2, in rfbDrawCharWithClip() argument 75 if(y2<y+height) height-=y+height-y2; in rfbDrawCharWithClip() 106 int x1,int y1,int x2,int y2, in rfbDrawStringWithClip() argument 110 x+=rfbDrawCharWithClip(rfbScreen,font,x,y,*string,x1,y1,x2,y2, in rfbDrawStringWithClip() 131 void rfbFontBBox(rfbFontDataPtr font,unsigned char c,int* x1,int* y1,int* x2,int* y2) in rfbFontBBox() argument 136 *y2=*y1+font->metaData[c*5+2]+1; in rfbFontBBox() 144 int *x1, int *y1, int *x2, int *y2) in rfbWholeFontBBox() argument 149 (*x1)=(*y1)=INT_MAX; (*x2)=(*y2)=1-(INT_MAX); in rfbWholeFontBBox() 157 if(-m[i*5+4]>(*y2)) in rfbWholeFontBBox() 158 (*y2)=-m[i*5+4]; in rfbWholeFontBBox() [all …]
|
/external/adhd/cras/src/dsp/ |
D | eq.c | 51 float y2 = q->y2; in eq_process1() local 61 - a1*y1 - a2*y2; in eq_process1() 65 y2 = y1; in eq_process1() 71 q->y2 = y2; in eq_process1() 86 float y2 = q->y2; in eq_process() local 96 - a1*y1 - a2*y2; in eq_process() 100 y2 = y1; in eq_process() 106 q->y2 = y2; in eq_process() 113 float y2 = q->y2; in eq_process() local 121 float z2 = r->y2; in eq_process() [all …]
|
D | eq2.c | 61 float y2L = qL->y2; in eq2_process_one() 71 float y2R = qR->y2; in eq2_process_one() 106 qL->y2 = y2L; in eq2_process_one() 110 qR->y2 = y2R; in eq2_process_one() 126 float32x2_t y2 = {qL->y2, qR->y2}; in eq2_process_two_neon() local 134 float32x2_t z2 = {rL->y2, rR->y2}; in eq2_process_two_neon() 173 [y2]"+w"(y2), in eq2_process_two_neon() 194 qL->y2 = y2[0]; in eq2_process_two_neon() 196 rL->y2 = z2[0]; in eq2_process_two_neon() 200 qR->y2 = y2[1]; in eq2_process_two_neon() [all …]
|
/external/libvncserver/examples/ |
D | zippy.c | 13 void blank_framebuffer(char* frame_buffer, int x1, int y1, int x2, int y2); 15 void draw_primary_colors (char* frame_buffer, int x1, int y1, int x2, int y2); 16 void draw_primary_colours_generic(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2); 17 void draw_primary_colours_generic_fast(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2); 49 void blank_framebuffer(char* frame_buffer, int x1, int y1, int x2, int y2) in blank_framebuffer() argument 55 void draw_primary_colors (char* frame_buffer, int x1, int y1, int x2, int y2) in draw_primary_colors() argument 58 for (i=y1; i < y2; i++){ in draw_primary_colors() 61 if (i < y2 ) { in draw_primary_colors() 66 if (i < y2/3*2) { in draw_primary_colors() 71 if (i < y2/3) { in draw_primary_colors() [all …]
|
D | example.c | 98 static void drawline(unsigned char* buffer,int rowstride,int bpp,int x1,int y1,int x2,int y2) in drawline() argument 101 i=x1-x2; j=y1-y2; in drawline() 110 if(y1>y2) { i=y2; y2=y1; y1=i; i=x2; x2=x1; x1=i; } in drawline() 111 for(j=y1;j<=y2;j++) in drawline() 113 buffer[j*rowstride+(x1+(j-y1)*(x2-x1)/(y2-y1))*bpp+i]=0xff; in drawline() 115 if(x1>x2) { i=y2; y2=y1; y1=i; i=x2; x2=x1; x1=i; } in drawline() 118 buffer[(y1+(i-x1)*(y2-y1)/(x2-x1))*rowstride+i*bpp+j]=0xff; in drawline() 130 int i,j,x1,x2,y1,y2; in doptr() local 144 y2=y+buttonMask; if(y2>maxy) y2=maxy; in doptr() 147 for(j=y1;j<y2;j++) in doptr() [all …]
|
/external/pdfium/third_party/agg23/ |
D | agg_basics.h | 69 T y2; member 72 x1(x1_), y1(y1_), x2(x2_), y2(y2_) {} in rect_base() 81 if(y1 > y2) { in normalize() 83 y1 = y2; in normalize() 84 y2 = t; in normalize() 93 if(y2 > r.y2) { in clip() 94 y2 = r.y2; in clip() 102 return x1 <= x2 && y1 <= y2; in clip() 106 return x1 <= x2 && y1 <= y2; in is_valid() 116 if(r.y2 > r2.y2) { in intersect_rectangles() [all …]
|
D | agg_curves.h | 26 float x2, float y2, in curve4_points() 33 cp[3] = y2; in curve4_points() 40 float x2, float y2, in init() 47 cp[3] = y2; in init() 69 float x2, float y2, in curve4_div() argument 74 init(x1, y1, x2, y2, x3, y3, x4, y4); in curve4_div() 87 float x2, float y2, 125 float x2, float y2, 129 float x2, float y2, 143 float x2, float y2, in curve4() argument [all …]
|
D | agg_curves.cpp | 30 float x2, float y2, in init() argument 37 bezier(x1, y1, x2, y2, x3, y3, x4, y4); in init() 41 float x2, float y2, in recursive_bezier() argument 50 float y12 = (y1 + y2) / 2; in recursive_bezier() 52 float y23 = (y2 + y3) / 2; in recursive_bezier() 63 float d2 = fabs(((x2 - x4) * dy) - ((y2 - y4) * dx)); in recursive_bezier() 68 if (fabs(x1 + x3 - x2 - x2) + fabs(y1 + y3 - y2 - y2) + in recursive_bezier() 69 fabs(x2 + x4 - x3 - x3) + fabs(y2 + y4 - y3 - y3) <= in recursive_bezier() 101 float x2, float y2, in bezier() argument 106 recursive_bezier(x1, y1, x2, y2, x3, y3, x4, y4, 0); in bezier()
|
D | agg_math.h | 26 float x2, float y2, in calc_point_location() argument 29 return ((x - x2) * (y2 - y1)) - ((y - y2) * (x2 - x1)); in calc_point_location() 31 AGG_INLINE float calc_distance(float x1, float y1, float x2, float y2) in calc_distance() argument 34 float dy = y2 - y1; in calc_distance() 38 float x2, float y2, in calc_line_point_distance() argument 42 float dy = y2 - y1; in calc_line_point_distance() 47 return ((x - x2) * dy / d) - ((y - y2) * dx / d); in calc_line_point_distance()
|
/external/libldac/src/ |
D | sigana_ldac.c | 37 SCALAR y0, y1, y2; in calc_mdct_pseudo_spectrum_ldac() local 41 y2 = p_spec[1]; in calc_mdct_pseudo_spectrum_ldac() 42 tmp = y1 * y1 + y2 * y2; in calc_mdct_pseudo_spectrum_ldac() 49 y1 = y2; in calc_mdct_pseudo_spectrum_ldac() 50 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac() 51 tmp = y1 * y1 + (y0-y2) * (y0-y2); in calc_mdct_pseudo_spectrum_ldac() 58 y1 = y2; in calc_mdct_pseudo_spectrum_ldac() 59 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac() 60 tmp = y1 * y1 + (y0-y2) * (y0-y2); in calc_mdct_pseudo_spectrum_ldac() 65 tmp = y1 * y1 + y2 * y2; in calc_mdct_pseudo_spectrum_ldac()
|
D | sigana_fixp_ldac.c | 193 INT32 y0, y1, y2; in calc_mdct_pseudo_spectrum_ldac() local 200 y2 = p_spec[1]; in calc_mdct_pseudo_spectrum_ldac() 202 acc2 = (INT64)y2 * (INT64)y2; in calc_mdct_pseudo_spectrum_ldac() 212 y1 = y2; in calc_mdct_pseudo_spectrum_ldac() 213 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac() 215 acc2 = (INT64)(y0-y2) * (INT64)(y0-y2); in calc_mdct_pseudo_spectrum_ldac() 225 y1 = y2; in calc_mdct_pseudo_spectrum_ldac() 226 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac() 228 acc2 = (INT64)(y0-y2) * (INT64)(y0-y2); in calc_mdct_pseudo_spectrum_ldac() 237 acc2 = (INT64)y2 * (INT64)y2; in calc_mdct_pseudo_spectrum_ldac()
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | integral_image.h | 111 const int y2) const { in GetRegionSum() argument 113 x2 >= x1 && y2 >= y1 && x2 < GetWidth() && y2 < GetHeight(), in GetRegionSum() 115 x1, x2, GetWidth(), y1, y2, GetHeight()); in GetRegionSum() 117 const uint32_t everything = (*this)[y2][x2]; in GetRegionSum() 122 const uint32_t left = (*this)[y2][x1 - 1]; in GetRegionSum() 128 everything, left, top, top_left, sum, x1, y1, x2, y2); in GetRegionSum() 132 const uint32_t top = (*this)[y2][x1 - 1]; in GetRegionSum() 156 const int x2, const int y2) const { in GetCode() argument 157 SCHECK(x1 < x2 && y1 < y2, "Bounds out of order!! TL:%d,%d BR:%d,%d", in GetCode() 158 x1, y1, x2, y2); in GetCode() [all …]
|
/external/eigen/Eigen/src/Core/arch/SSE/ |
D | MathFunctions.h | 83 Packet4f y, y1, y2; variable 86 y2 = pmadd(p4f_cephes_log_p6, x, p4f_cephes_log_p7); 89 y2 = pmadd(y2, x, p4f_cephes_log_p8); 91 y = pmadd(y, x3, y2); 98 y2 = pmul(e, p4f_cephes_log_q2); 100 x = padd(x, y2); 342 Packet4f y2 = p4f_sincof_p0; variable 343 y2 = pmadd(y2, z, p4f_sincof_p1); 344 y2 = pmadd(y2, z, p4f_sincof_p2); 345 y2 = pmul(y2, z); [all …]
|
/external/python/cpython3/Tools/demo/ |
D | hanoi.py | 48 x2, y2 = x1+pegwidth, y1+pegheight 50 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 53 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 56 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 66 x1, y1 = (pegdist-maxpiecewidth)//2, y2-pieceheight-2 67 x2, y2 = x1+maxpiecewidth, y1+pieceheight 70 p = c.create_rectangle(x1, y1, x2, y2, fill='red') 74 y1, y2 = y1 - pieceheight-2, y2-pieceheight-2 98 x1, y1, x2, y2 = c.bbox(p) 99 if y2 < ay1: break [all …]
|
D | ss1.py | 52 def multicellvalue(self, x1, y1, x2, y2): argument 55 if y1 > y2: 56 y1, y2 = y2, y1 58 for y in range(y1, y2+1): 77 def clearcells(self, x1, y1, x2, y2): argument 78 for xy in self.selectcells(x1, y1, x2, y2): 81 def clearrows(self, y1, y2): argument 82 self.clearcells(0, y1, sys.maxsize, y2) 87 def selectcells(self, x1, y1, x2, y2): argument 90 if y1 > y2: [all …]
|
/external/python/cpython2/Demo/tkinter/guido/ |
D | hanoi.py | 47 x2, y2 = x1+pegwidth, y1+pegheight 49 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 52 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 55 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 65 x1, y1 = (pegdist-maxpiecewidth)//2, y2-pieceheight-2 66 x2, y2 = x1+maxpiecewidth, y1+pieceheight 69 p = c.create_rectangle(x1, y1, x2, y2, fill='red') 73 y1, y2 = y1 - pieceheight-2, y2-pieceheight-2 97 x1, y1, x2, y2 = c.bbox(p) 98 if y2 < ay1: break [all …]
|
D | ss1.py | 49 def multicellvalue(self, x1, y1, x2, y2): argument 52 if y1 > y2: 53 y1, y2 = y2, y1 55 for y in range(y1, y2+1): 74 def clearcells(self, x1, y1, x2, y2): argument 75 for xy in self.selectcells(x1, y1, x2, y2): 78 def clearrows(self, y1, y2): argument 79 self.clearcells(0, y1, sys.maxint, y2) 84 def selectcells(self, x1, y1, x2, y2): argument 87 if y1 > y2: [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | bfi.ll | 81 %y2 = and i32 %y, 4294967040 ; 0xFFFFFF00 83 %or = or i32 %y2, 16 85 %sel = select i1 %cmp, i32 %or, i32 %y2 93 %y2 = and i32 %y, 4294967040 ; 0xFFFFFF00 95 %or = or i32 %y2, 48 97 %sel = select i1 %cmp, i32 %or, i32 %y2 104 %y2 = and i32 %y, 4294967040 ; 0xFFFFFF00 106 %or = or i32 %y2, 48 108 %sel = select i1 %cmp, i32 %y2, i32 %or 115 %y2 = and i32 %y, 4294967040 ; 0xFFFFFF00 [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | atrous_conv2d_test.py | 80 y2 = nn_ops.conv2d( 82 self.assertAllClose(y1.eval(), y2.eval(), rtol=1e-3, atol=1e-3) 129 y2 = array_ops.space_to_batch(x, paddings=pad, block_size=rate) 130 y2 = nn_ops.conv2d(y2, f, strides=[1, 1, 1, 1], padding=padding) 131 y2 = nn_ops.conv2d(y2, f, strides=[1, 1, 1, 1], padding=padding) 132 y2 = nn_ops.conv2d(y2, f, strides=[1, 1, 1, 1], padding=padding) 133 y2 = array_ops.batch_to_space(y2, crops=pad, block_size=rate) 134 self.assertAllClose(y1.eval(), y2.eval(), rtol=1e-2, atol=1e-2) 194 y2 = nn_ops.conv2d_transpose( 196 self.assertAllClose(y1.eval(), y2.eval(), rtol=1e-3, atol=1e-3) [all …]
|
/external/fonttools/Lib/fontTools/pens/ |
D | pointInsidePen.py | 90 x2, y2 = point 94 if y1 < y and y2 < y: 96 if y1 >= y and y2 >= y: 100 dy = y2 - y1 105 self._addIntersection(y2 > y1) 110 x2, y2 = bcp1 116 if y1 < y and y2 < y and y3 < y and y4 < y: 118 if y1 >= y and y2 >= y and y3 >= y and y4 >= y: 122 cy = (y2 - dy) * 3.0 123 by = (y3 - y2) * 3.0 - cy [all …]
|
/external/libpng/contrib/tools/ |
D | genpng.c | 180 double x1, y1, x2, y2; member 348 square_check(double x, double y, double x1, double y1, double x2, double y2) in square_check() argument 362 return ((x<x1) ^ (x<x2)) & ((y<y1) ^ (y<y2)); in square_check() 368 return square_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2); in inside_square_filled() 388 double cy = (arg->y1+arg->y2)/2; in square_check_line() 389 double wy = fabs(arg->y1-arg->y2)/2; in square_check_line() 460 circle_check(double x, double y, double x1, double y1, double x2, double y2) in circle_check() argument 462 if (square_check(x, y, x1, y1, x2, y2)) in circle_check() 466 const double cy = (y1 + y2)/2; in circle_check() 468 const double dy = y1 - y2; in circle_check() [all …]
|
/external/skqp/src/core/ |
D | SkEdge.cpp | 182 SkFDot6 x0, y0, x1, y1, x2, y2; in setQuadraticWithoutUpdate() local 191 y2 = SkScalarRoundToFDot6(pts[2].fY, shift); in setQuadraticWithoutUpdate() 199 y2 = int(pts[2].fY * scale); in setQuadraticWithoutUpdate() 204 if (y0 > y2) in setQuadraticWithoutUpdate() 207 SkTSwap(y0, y2); in setQuadraticWithoutUpdate() 210 SkASSERT(y0 <= y1 && y1 <= y2); in setQuadraticWithoutUpdate() 213 int bot = SkFDot6Round(y2); in setQuadraticWithoutUpdate() 222 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadraticWithoutUpdate() 267 A = SkFDot6ToFixedDiv2(y0 - y1 - y1 + y2); // 1/2 the real value in setQuadraticWithoutUpdate() 275 fQLastY = SkFDot6ToFixed(y2); in setQuadraticWithoutUpdate() [all …]
|