Home
last modified time | relevance | path

Searched refs:y1 (Results 1 – 25 of 600) sorted by relevance

12345678910>>...24

/external/libvncserver/libvncserver/
Ddraw.c3 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 …]
Dfont.c50 int x1,int y1,int x2,int y2, in rfbDrawCharWithClip() argument
73 if(y1>y) { y1-=y; data+=(width+7)/8; height-=y1; y+=y1; } else y1=0; in rfbDrawCharWithClip()
79 for(j=y1;j<height;j++) { 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
134 *y1+=-font->metaData[c*5+4]-font->metaData[c*5+2]+1; in rfbFontBBox()
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()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_rect.h41 int y0, y1; member
53 a->y1 < b->y0 || in u_rect_test_intersection()
54 b->y1 < a->y0 || in u_rect_test_intersection()
56 a->y1 < a->y0 || in u_rect_test_intersection()
58 b->y1 < b->y0)); in u_rect_test_intersection()
72 if (b->y1 > a->y1) b->y1 = a->y1; in u_rect_find_intersection()
79 return (r->x1 - r->x0) * (r->y1 - r->y0); in u_rect_area()
95 b->x1 = b->y1 = -1; in u_rect_possible_intersection()
107 d->y1 = MAX2(a->y1, b->y1); in u_rect_union()
Du_format_yuv.c492 uint8_t y0, y1, u, v; in util_format_uyvy_unpack_rgba_float() local
500 y1 = (value >> 24) & 0xff; in util_format_uyvy_unpack_rgba_float()
506 util_format_yuv_to_rgb_float(y1, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_float()
517 y1 = (value >> 24) & 0xff; in util_format_uyvy_unpack_rgba_float()
540 uint8_t y0, y1, u, v; in util_format_uyvy_unpack_rgba_8unorm() local
548 y1 = (value >> 24) & 0xff; in util_format_uyvy_unpack_rgba_8unorm()
554 util_format_yuv_to_rgb_8unorm(y1, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_8unorm()
565 y1 = (value >> 24) & 0xff; in util_format_uyvy_unpack_rgba_8unorm()
587 uint8_t y0, y1, u, v; in util_format_uyvy_pack_rgba_float() local
591 uint8_t y0, y1, u0, u1, v0, v1, u, v; in util_format_uyvy_pack_rgba_float() local
[all …]
/external/libvpx/libvpx/vp8/encoder/x86/
Dquantize_sse4.c34 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1, dqcoeff0, in vp8_regular_quantize_b_sse4_1() local
82 y1 = _mm_mulhi_epi16(x1, quant1); in vp8_regular_quantize_b_sse4_1()
85 y1 = _mm_add_epi16(y1, x1); in vp8_regular_quantize_b_sse4_1()
90 y1 = _mm_mulhi_epi16(y1, quant_shift1); in vp8_regular_quantize_b_sse4_1()
94 y1 = _mm_xor_si128(y1, sz1); in vp8_regular_quantize_b_sse4_1()
96 y1 = _mm_sub_epi16(y1, sz1); in vp8_regular_quantize_b_sse4_1()
102 SELECT_EOB(4, 0, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1()
107 SELECT_EOB(9, 1, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1()
108 SELECT_EOB(10, 4, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1()
109 SELECT_EOB(11, 5, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1()
[all …]
Dvp8_quantize_sse2.c40 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1; in vp8_regular_quantize_b_sse2() local
90 y1 = _mm_mulhi_epi16(x1, quant1); in vp8_regular_quantize_b_sse2()
93 y1 = _mm_add_epi16(y1, x1); in vp8_regular_quantize_b_sse2()
98 y1 = _mm_mulhi_epi16(y1, quant_shift1); in vp8_regular_quantize_b_sse2()
102 y1 = _mm_xor_si128(y1, sz1); in vp8_regular_quantize_b_sse2()
104 y1 = _mm_sub_epi16(y1, sz1); in vp8_regular_quantize_b_sse2()
107 _mm_store_si128((__m128i *)(y + 8), y1); in vp8_regular_quantize_b_sse2()
130 y1 = _mm_load_si128((__m128i *)(d->qcoeff + 8)); in vp8_regular_quantize_b_sse2()
134 y1 = _mm_mullo_epi16(y1, dequant1); in vp8_regular_quantize_b_sse2()
137 _mm_store_si128((__m128i *)(d->dqcoeff + 8), y1); in vp8_regular_quantize_b_sse2()
[all …]
/external/libvncserver/examples/
Dzippy.c13 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()
81 void draw_primary_colours_generic(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2) in draw_primary_colours_generic() argument
85 for(j=y1;j<y2;j++) in draw_primary_colours_generic()
87 if(j<y1*2/3+y2/3) in draw_primary_colours_generic()
[all …]
Dexample.c98 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()
104 buffer[y1*rowstride+x1*bpp+i]=0xff; 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
135 x1=x; y1=y; in doptr()
[all …]
/external/libldac/src/
Dsigana_ldac.c37 SCALAR y0, y1, y2; in calc_mdct_pseudo_spectrum_ldac() local
40 y1 = p_spec[0]; in calc_mdct_pseudo_spectrum_ldac()
42 tmp = y1 * y1 + y2 * y2; in calc_mdct_pseudo_spectrum_ldac()
48 y0 = y1; in calc_mdct_pseudo_spectrum_ldac()
49 y1 = y2; in calc_mdct_pseudo_spectrum_ldac()
51 tmp = y1 * y1 + (y0-y2) * (y0-y2); in calc_mdct_pseudo_spectrum_ldac()
57 y0 = y1; in calc_mdct_pseudo_spectrum_ldac()
58 y1 = y2; 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()
Dsigana_fixp_ldac.c193 INT32 y0, y1, y2; in calc_mdct_pseudo_spectrum_ldac() local
199 y1 = p_spec[0]; in calc_mdct_pseudo_spectrum_ldac()
201 acc1 = (INT64)y1 * (INT64)y1; in calc_mdct_pseudo_spectrum_ldac()
211 y0 = y1; in calc_mdct_pseudo_spectrum_ldac()
212 y1 = y2; in calc_mdct_pseudo_spectrum_ldac()
214 acc1 = (INT64)y1 * (INT64)y1; in calc_mdct_pseudo_spectrum_ldac()
224 y0 = y1; in calc_mdct_pseudo_spectrum_ldac()
225 y1 = y2; in calc_mdct_pseudo_spectrum_ldac()
227 acc1 = (INT64)y1 * (INT64)y1; in calc_mdct_pseudo_spectrum_ldac()
236 acc1 = (INT64)y1 * (INT64)y1; in calc_mdct_pseudo_spectrum_ldac()
/external/pdfium/third_party/agg23/
Dagg_basics.h67 T y1; member
72 x1(x1_), y1(y1_), x2(x2_), y2(y2_) {} in rect_base()
81 if(y1 > y2) { in normalize()
82 t = y1; in normalize()
83 y1 = y2; in normalize()
99 if(y1 < r.y1) { in clip()
100 y1 = r.y1; in clip()
102 return x1 <= x2 && y1 <= y2; in clip()
106 return x1 <= x2 && y1 <= y2; in is_valid()
122 if(r.y1 < r2.y1) { in intersect_rectangles()
[all …]
Dagg_clip_liang_barsky.h32 ((y < clip_box.y1) << 3); in clipping_flags()
35 inline unsigned clip_liang_barsky(T x1, T y1, T x2, T y2, in clip_liang_barsky() argument
46 height -= y1; in clip_liang_barsky()
66 deltay = (y1 > clip_box.y1) ? -nearzero : nearzero; in clip_liang_barsky()
70 yin = (FX_FLOAT)clip_box.y1; in clip_liang_barsky()
74 yout = (FX_FLOAT)clip_box.y1; in clip_liang_barsky()
76 FX_FLOAT tiny = (yin - y1) / deltay; in clip_liang_barsky()
93 FX_FLOAT touty = (yout - y1) / deltay; in clip_liang_barsky()
100 *y++ = (T)(y1 + (deltay * tinx)); in clip_liang_barsky()
110 *y++ = (T)(y1 + (deltay * toutx)); in clip_liang_barsky()
Dagg_curves.h25 curve4_points(FX_FLOAT x1, FX_FLOAT y1, in curve4_points()
31 cp[1] = y1; in curve4_points()
39 void init(FX_FLOAT x1, FX_FLOAT y1, in init()
45 cp[1] = y1; in init()
68 curve4_div(FX_FLOAT x1, FX_FLOAT y1, in curve4_div() argument
74 init(x1, y1, x2, y2, x3, y3, x4, y4); in curve4_div()
86 void init(FX_FLOAT x1, FX_FLOAT y1,
124 void bezier(FX_FLOAT x1, FX_FLOAT y1,
128 void recursive_bezier(FX_FLOAT x1, FX_FLOAT y1,
142 curve4(FX_FLOAT x1, FX_FLOAT y1, in curve4() argument
[all …]
Dagg_curves.cpp30 void curve4_div::init(FX_FLOAT x1, FX_FLOAT y1, in init() argument
38 bezier(x1, y1, x2, y2, x3, y3, x4, y4); in init()
41 void curve4_div::recursive_bezier(FX_FLOAT x1, FX_FLOAT y1, in recursive_bezier() argument
51 FX_FLOAT y12 = (y1 + y2) / 2; in recursive_bezier()
63 FX_FLOAT dy = y4 - y1; in recursive_bezier()
70 FXSYS_fabs(y1 + y3 - y2 - y2) + in recursive_bezier()
99 recursive_bezier(x1, y1, x12, y12, x123, y123, x1234, y1234, level + 1); in recursive_bezier()
102 void curve4_div::bezier(FX_FLOAT x1, FX_FLOAT y1, in bezier() argument
107 m_points.add(point_type(x1, y1)); in bezier()
108 recursive_bezier(x1, y1, x2, y2, x3, y3, x4, y4, 0); in bezier()
/external/skia/src/core/
DSkEdge.cpp35 SkFDot6 x0, y0, x1, y1; in setLine() local
42 y1 = SkScalarRoundToFDot6(p1.fY, shift); in setLine()
48 y1 = int(p1.fY * scale); in setLine()
54 if (y0 > y1) { in setLine()
56 SkTSwap(y0, y1); in setLine()
61 int bot = SkFDot6Round(y1); in setLine()
72 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine()
90 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument
97 y1 >>= 10; in updateLine()
99 SkASSERT(y0 <= y1); in updateLine()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DSecantSolver.java173 double y1 = f.value(x1); in solve() local
176 if (y0 * y1 >= 0) { in solve()
178 LocalizedFormats.SAME_SIGN_AT_ENDPOINTS, min, max, y0, y1); in solve()
186 if (FastMath.abs(y2) < FastMath.abs(y1)) { in solve()
190 y0 = y1; in solve()
191 y1 = y2; in solve()
194 if (FastMath.abs(y1) <= functionValueAccuracy) { in solve()
204 if (FastMath.abs(y1) > FastMath.abs(y0)) { in solve()
208 delta = (x0 - x1) / (1 - y0 / y1); in solve()
216 y0 = y1; in solve()
[all …]
DMullerSolver.java210 double y1 = f.value(x1); in solve() local
227 final double d01 = (y1 - y0) / (x1 - x0); in solve()
228 final double d12 = (y2 - y1) / (x2 - x1); in solve()
231 final double delta = c1 * c1 - 4 * y1 * d012; in solve()
232 final double xplus = x1 + (-2.0 * y1) / (c1 + FastMath.sqrt(delta)); in solve()
233 final double xminus = x1 + (-2.0 * y1) / (c1 - FastMath.sqrt(delta)); in solve()
260 y0 = x < x1 ? y0 : y1; in solve()
262 y2 = x > x1 ? y2 : y1; in solve()
263 x1 = x; y1 = y; in solve()
274 y1 = f.value(x1); in solve()
[all …]
/external/llvm/test/Verifier/
Ddominates.ll15 %y1 = invoke i32 @g() to label %bb1 unwind label %bb2
19 %y2 = phi i32 [%y1, %bb0]
24 ; CHECK-NEXT: %y1 = invoke i32 @g()
26 ; CHECK-NEXT: %y2 = phi i32 [ %y1, %bb0 ]
31 %y1 = invoke i32 @g() to label %bb1 unwind label %bb2
39 %y3 = phi i32 [%y1, %bb2]
42 ; CHECK-NEXT: %y1 = invoke i32 @g()
44 ; CHECK-NEXT: %y3 = phi i32 [ %y1, %bb2 ]
51 %y3 = phi i32 [%y1, %bb0]
52 %y1 = add i32 %x, 1
[all …]
/external/python/cpython2/Demo/tkinter/guido/
Dhanoi.py46 x1, y1 = (pegdist-pegwidth)//2, height*1//3
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)
[all …]
Dss1.py49 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/fonttools/Lib/fontTools/pens/
DpointInsidePen.py89 x1, y1 = self._getCurrentPoint()
94 if y1 < y and y2 < y:
96 if y1 >= y and y2 >= y:
100 dy = y2 - y1
101 t = (y - y1) / dy
105 self._addIntersection(y2 > y1)
109 x1, y1 = self._getCurrentPoint()
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:
121 dy = y1
[all …]
/external/llvm/test/Transforms/ObjCARC/
Dprovenance.ll13 %y1 = load i8, i8* %a
14 call void @g(i8 %y1)
39 ; CHECK: y1 and y2 are related.
40 ; CHECK: y1 and y3 are related.
42 ; CHECK: x0 and y1 are not related.
45 ; CHECK: l_objc_msgSend_fixup_ and y1 are not related.
48 ; CHECK: x1 and y1 are not related.
49 ; CHECK: x2 and y1 are not related.
50 ; CHECK: x3 and y1 are not related.
51 ; CHECK: x4 and y1 are not related.
[all …]
/external/tremolo/Tremolo/
Dasm_arm.h73 int x1, y1, l; in XPROD32() local
79 : "=&r" (l), "=&r" (x1), "=&r" (y1), "=r" (a) in XPROD32()
84 *y = y1; in XPROD32()
92 int x1, y1, l; in XPROD31() local
98 : "=&r" (l), "=&r" (x1), "=&r" (y1), "=r" (a) in XPROD31()
103 *y = y1 << 1; in XPROD31()
111 int x1, y1, l; in XNPROD31() local
117 : "=&r" (l), "=&r" (x1), "=&r" (y1) in XNPROD31()
122 *y = y1 << 1; in XNPROD31()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tiled_memcpy.c229 uint32_t y0, uint32_t y1,
248 uint32_t y0, uint32_t y1, in linear_to_xtiled() argument
262 for (yo = y0 * xtile_width; yo < y1 * xtile_width; yo += xtile_width) { in linear_to_xtiled()
290 uint32_t y0, uint32_t y1, in linear_to_ytiled() argument
324 for (yo = y0 * column_width; yo < y1 * column_width; yo += column_width) { in linear_to_ytiled()
352 uint32_t y0, uint32_t y1, in xtiled_to_linear() argument
366 for (yo = y0 * xtile_width; yo < y1 * xtile_width; yo += xtile_width) { in xtiled_to_linear()
394 uint32_t y0, uint32_t y1, in ytiled_to_linear() argument
428 for (yo = y0 * column_width; yo < y1 * column_width; yo += column_width) { in ytiled_to_linear()
461 uint32_t y0, uint32_t y1, in linear_to_xtiled_faster() argument
[all …]
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c186 unsigned *x1, unsigned *y1) in get_fast_clear_rect() argument
298 *y1 = ALIGN(*y1, y_align) / y_scaledown; in get_fast_clear_rect()
305 uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1) in blorp_fast_clear() argument
314 params.y1 = y1; in blorp_fast_clear()
320 &params.x0, &params.y0, &params.x1, &params.y1); in blorp_fast_clear()
357 uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, in blorp_clear() argument
367 params.y1 = y1; in blorp_clear()
441 uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, in blorp_clear_depth_stencil() argument
451 params.y1 = y1; in blorp_clear_depth_stencil()
511 uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1) in blorp_can_hiz_clear_depth() argument
[all …]

12345678910>>...24