Home
last modified time | relevance | path

Searched refs:y0 (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/external/skia/src/core/
DSkEdge.cpp36 SkFDot6 x0, y0, x1, y1; in setLine() local
42 y0 = int(p0.fY * scale); in setLine()
48 y0 = p0.fY >> shift; in setLine()
56 if (y0 > y1) { in setLine()
58 SkTSwap(y0, y1); in setLine()
62 int top = SkFDot6Round(y0); in setLine()
74 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine()
75 const int dy = SkEdge_Compute_DY(top, y0); in setLine()
92 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument
98 y0 >>= 10; in updateLine()
[all …]
DSkEdge.h18 #define SkEdge_Compute_DY(top, y0) ((top << 6) + 32 - (y0)) argument
89 SkFDot6 x0, y0, x1, y1; in setLine() local
95 y0 = int(p0.fY * scale); in setLine()
101 y0 = p0.fY >> shift; in setLine()
109 if (y0 > y1) { in setLine()
111 SkTSwap(y0, y1); in setLine()
115 int top = SkFDot6Round(y0); in setLine()
123 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine()
124 const int dy = SkEdge_Compute_DY(top, y0); in setLine()
/external/chromium_org/third_party/skia/src/core/
DSkEdge.cpp36 SkFDot6 x0, y0, x1, y1; in setLine() local
42 y0 = int(p0.fY * scale); in setLine()
48 y0 = p0.fY >> shift; in setLine()
56 if (y0 > y1) { in setLine()
58 SkTSwap(y0, y1); in setLine()
62 int top = SkFDot6Round(y0); in setLine()
74 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine()
75 const int dy = SkEdge_Compute_DY(top, y0); in setLine()
92 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument
98 y0 >>= 10; in updateLine()
[all …]
DSkEdge.h18 #define SkEdge_Compute_DY(top, y0) ((top << 6) + 32 - (y0)) argument
89 SkFDot6 x0, y0, x1, y1; in setLine() local
95 y0 = int(p0.fY * scale); in setLine()
101 y0 = p0.fY >> shift; in setLine()
109 if (y0 > y1) { in setLine()
111 SkTSwap(y0, y1); in setLine()
115 int top = SkFDot6Round(y0); in setLine()
123 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine()
124 const int dy = SkEdge_Compute_DY(top, y0); in setLine()
/external/libvpx/libvpx/vp8/encoder/x86/
Dquantize_sse2.c44 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1; in vp8_regular_quantize_b_sse2() local
93 y0 = _mm_mulhi_epi16(x0, quant0); in vp8_regular_quantize_b_sse2()
96 y0 = _mm_add_epi16(y0, x0); in vp8_regular_quantize_b_sse2()
101 y0 = _mm_mulhi_epi16(y0, quant_shift0); in vp8_regular_quantize_b_sse2()
105 y0 = _mm_xor_si128(y0, sz0); in vp8_regular_quantize_b_sse2()
107 y0 = _mm_sub_epi16(y0, sz0); in vp8_regular_quantize_b_sse2()
110 _mm_store_si128((__m128i *)(y), y0); in vp8_regular_quantize_b_sse2()
133 y0 = _mm_load_si128((__m128i *)(d->qcoeff)); in vp8_regular_quantize_b_sse2()
137 y0 = _mm_mullo_epi16(y0, dequant0); in vp8_regular_quantize_b_sse2()
140 _mm_store_si128((__m128i *)(d->dqcoeff), y0); in vp8_regular_quantize_b_sse2()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_rect.h36 int y0, y1; member
47 a->y1 < b->y0 || in u_rect_test_intersection()
48 b->y1 < a->y0)); in u_rect_test_intersection()
61 if (b->y0 < a->y0) b->y0 = a->y0; in u_rect_find_intersection()
74 b->x0 = b->x1 = b->y0 = b->y1 = 0; in u_rect_possible_intersection()
Du_format_yuv.c555 uint8_t y0, y1, u, v; in util_format_uyvy_unpack_rgba_float() local
565 y0 = (value >> 8) & 0xff; in util_format_uyvy_unpack_rgba_float()
569 util_format_yuv_to_rgb_float(y0, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_float()
586 y0 = (value >> 8) & 0xff; in util_format_uyvy_unpack_rgba_float()
590 util_format_yuv_to_rgb_float(y0, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_float()
611 uint8_t y0, y1, u, v; in util_format_uyvy_unpack_rgba_8unorm() local
621 y0 = (value >> 8) & 0xff; in util_format_uyvy_unpack_rgba_8unorm()
625 util_format_yuv_to_rgb_8unorm(y0, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_8unorm()
642 y0 = (value >> 8) & 0xff; in util_format_uyvy_unpack_rgba_8unorm()
646 util_format_yuv_to_rgb_8unorm(y0, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_8unorm()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_rect.h36 int y0, y1; member
47 a->y1 < b->y0 || in u_rect_test_intersection()
48 b->y1 < a->y0)); in u_rect_test_intersection()
61 if (b->y0 < a->y0) b->y0 = a->y0; in u_rect_find_intersection()
74 b->x0 = b->x1 = b->y0 = b->y1 = 0; in u_rect_possible_intersection()
Du_format_yuv.c555 uint8_t y0, y1, u, v; in util_format_uyvy_unpack_rgba_float() local
565 y0 = (value >> 8) & 0xff; in util_format_uyvy_unpack_rgba_float()
569 util_format_yuv_to_rgb_float(y0, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_float()
586 y0 = (value >> 8) & 0xff; in util_format_uyvy_unpack_rgba_float()
590 util_format_yuv_to_rgb_float(y0, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_float()
611 uint8_t y0, y1, u, v; in util_format_uyvy_unpack_rgba_8unorm() local
621 y0 = (value >> 8) & 0xff; in util_format_uyvy_unpack_rgba_8unorm()
625 util_format_yuv_to_rgb_8unorm(y0, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_8unorm()
642 y0 = (value >> 8) & 0xff; in util_format_uyvy_unpack_rgba_8unorm()
646 util_format_yuv_to_rgb_8unorm(y0, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_8unorm()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_textblit.c60 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, in vp9_blit_line() argument
62 int steep = abs(y1 - y0) > abs(x1 - x0); in vp9_blit_line()
69 x0 = y0; in vp9_blit_line()
70 y0 = t; in vp9_blit_line()
83 t = y0; in vp9_blit_line()
84 y0 = y1; in vp9_blit_line()
89 deltay = abs(y1 - y0); in vp9_blit_line()
92 y = y0; in vp9_blit_line()
94 if (y0 < y1) in vp9_blit_line()
Dvp9_postproc.c590 static void constrain_line(int x0, int *x1, int y0, int *y1, in constrain_line() argument
597 dy = *y1 - y0; in constrain_line()
601 *y1 = ((width - x0) * dy) / dx + y0; in constrain_line()
605 dy = *y1 - y0; in constrain_line()
609 *y1 = ((0 - x0) * dy) / dx + y0; in constrain_line()
613 dy = *y1 - y0; in constrain_line()
617 *x1 = ((height - y0) * dx) / dy + x0; in constrain_line()
621 dy = *y1 - y0; in constrain_line()
625 *x1 = ((0 - y0) * dx) / dy + x0; in constrain_line()
770 int x0, y0; in vp9_post_proc_frame()
[all …]
/external/libvpx/libvpx/vp8/common/
Dtextblit.c61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) in vp8_blit_line() argument
63 int steep = abs(y1 - y0) > abs(x1 - x0); in vp8_blit_line()
71 x0 = y0; in vp8_blit_line()
72 y0 = t; in vp8_blit_line()
86 t = y0; in vp8_blit_line()
87 y0 = y1; in vp8_blit_line()
92 deltay = abs(y1 - y0); in vp8_blit_line()
95 y = y0; in vp8_blit_line()
97 if (y0 < y1) in vp8_blit_line()
Dpostproc.c128 extern void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch);
939 int x0, y0; in vp8_post_proc_frame() local
941 for (y0 = 0; y0 < height; y0 += 16) in vp8_post_proc_frame()
963 y1 = y0 + 4 + (mv->row >> 3); in vp8_post_proc_frame()
965 constrain_line (x0+8, &x1, y0+4, &y1, width, height); in vp8_post_proc_frame()
966 vp8_blit_line (x0+8, x1, y0+4, y1, y_buffer, y_stride); in vp8_post_proc_frame()
971 y1 = y0 +12 + (mv->row >> 3); in vp8_post_proc_frame()
973 constrain_line (x0+8, &x1, y0+12, &y1, width, height); in vp8_post_proc_frame()
974 vp8_blit_line (x0+8, x1, y0+12, y1, y_buffer, y_stride); in vp8_post_proc_frame()
984 y1 = y0 + 8 + (mv->row >> 3); in vp8_post_proc_frame()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprog_noise.c257 float y0 = y - Y0; in _mesa_noise2() local
266 if (x0 > y0) { in _mesa_noise2()
280 y1 = y0 - j1 + G2; in _mesa_noise2()
282 y2 = y0 - 1.0f + 2.0f * G2; in _mesa_noise2()
289 t0 = 0.5f - x0 * x0 - y0 * y0; in _mesa_noise2()
294 n0 = t0 * t0 * grad2(perm[ii + perm[jj]], x0, y0); in _mesa_noise2()
343 float y0 = y - Y0; in _mesa_noise3() local
356 if (x0 >= y0) { in _mesa_noise3()
357 if (y0 >= z0) { in _mesa_noise3()
383 if (y0 < z0) { in _mesa_noise3()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_noise.c257 float y0 = y - Y0; in _mesa_noise2() local
266 if (x0 > y0) { in _mesa_noise2()
280 y1 = y0 - j1 + G2; in _mesa_noise2()
282 y2 = y0 - 1.0f + 2.0f * G2; in _mesa_noise2()
289 t0 = 0.5f - x0 * x0 - y0 * y0; in _mesa_noise2()
294 n0 = t0 * t0 * grad2(perm[ii + perm[jj]], x0, y0); in _mesa_noise2()
343 float y0 = y - Y0; in _mesa_noise3() local
356 if (x0 >= y0) { in _mesa_noise3()
357 if (y0 >= z0) { in _mesa_noise3()
383 if (y0 < z0) { in _mesa_noise3()
[all …]
/external/mesa3d/src/gallium/state_trackers/vega/
Dpath.c297 VGfloat y0 = sy; in close_polygon() local
298 matrix_map_point(matrix, x0, y0, &x0, &y0); in close_polygon()
299 polygon_vertex_append(current, x0, y0); in close_polygon()
365 VGfloat x0, y0, x1, y1, x2, y2, x3, y3; in path_get_fill_polygons() local
413 y0 = data[1]; in path_get_fill_polygons()
414 map_if_relative(ox, oy, relative, &x0, &y0); in path_get_fill_polygons()
416 sy = y0; in path_get_fill_polygons()
418 oy = y0; in path_get_fill_polygons()
420 py = y0; in path_get_fill_polygons()
421 matrix_map_point(matrix, x0, y0, &x0, &y0); in path_get_fill_polygons()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
Dpath.c297 VGfloat y0 = sy; in close_polygon() local
298 matrix_map_point(matrix, x0, y0, &x0, &y0); in close_polygon()
299 polygon_vertex_append(current, x0, y0); in close_polygon()
365 VGfloat x0, y0, x1, y1, x2, y2, x3, y3; in path_get_fill_polygons() local
413 y0 = data[1]; in path_get_fill_polygons()
414 map_if_relative(ox, oy, relative, &x0, &y0); in path_get_fill_polygons()
416 sy = y0; in path_get_fill_polygons()
418 oy = y0; in path_get_fill_polygons()
420 py = y0; in path_get_fill_polygons()
421 matrix_map_point(matrix, x0, y0, &x0, &y0); in path_get_fill_polygons()
[all …]
/external/dropbear/libtommath/
Dbn_mp_karatsuba_mul.c49 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/chromium_org/third_party/skia/src/utils/
DSkCullPoints.cpp26 bool SkCullPoints::sect_test(int x0, int y0, int x1, int y1) const { in sect_test() argument
31 (y0 < r.fTop && y1 < r.fTop) || in sect_test()
32 (y0 > r.fBottom && y1 > r.fBottom)) { in sect_test()
37 if (r.contains(x0, y0) || r.contains(x1, y1)) { in sect_test()
45 vec.set(x1 - x0, y1 - y0); in sect_test()
46 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test()
48 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { in sect_test()
91 int y0 = fPrevPt.fY; in lineTo() local
96 if (this->sect_test(x0, y0, x, y)) { in lineTo()
97 line[0].set(x0, y0); in lineTo()
[all …]
/external/skia/src/utils/
DSkCullPoints.cpp26 bool SkCullPoints::sect_test(int x0, int y0, int x1, int y1) const { in sect_test() argument
31 (y0 < r.fTop && y1 < r.fTop) || in sect_test()
32 (y0 > r.fBottom && y1 > r.fBottom)) { in sect_test()
37 if (r.contains(x0, y0) || r.contains(x1, y1)) { in sect_test()
45 vec.set(x1 - x0, y1 - y0); in sect_test()
46 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test()
48 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { in sect_test()
91 int y0 = fPrevPt.fY; in lineTo() local
96 if (this->sect_test(x0, y0, x, y)) { in lineTo()
97 line[0].set(x0, y0); in lineTo()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_linetemp.h73 GLint y0 = (GLint) vert0->attrib[FRAG_ATTRIB_WPOS][1]; in NAME() local
142 if ((y0==h) | (y1==h)) { in NAME()
143 if ((y0==h) & (y1==h)) in NAME()
145 y0 -= y0==h; in NAME()
152 dy = y1 - y0; in NAME()
169 zPtr = (DEPTH_TYPE *) _swrast_pixel_address(zrb, x0, y0); in NAME()
172 pixelPtr = (PIXEL_TYPE *) PIXEL_ADDRESS(x0,y0); in NAME()
313 PLOT( x0, y0 ); in NAME()
316 span.array->y[i] = y0; in NAME()
331 y0 += ystep; in NAME()
[all …]
Ds_aaline.c44 GLfloat x0, y0; /* start */ member
89 compute_plane(GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, in compute_plane() argument
95 const GLfloat py = y1 - y0; in compute_plane()
103 const GLfloat d = -(a * x0 + b * y0 + c * z0); in compute_plane()
111 const GLfloat py = y1 - y0; in compute_plane()
116 const GLfloat d = -(a * x0 + b * y0 + c * z0); in compute_plane()
344 const GLfloat y0 = line->y0 + t0 * line->dy; in segment() local
346 const GLfloat y1 = line->y0 + t1 * line->dy; in segment()
350 line->qy0 = y0 + line->xAdj; in segment()
352 line->qy1 = y0 - line->xAdj; in segment()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_linetemp.h73 GLint y0 = (GLint) vert0->attrib[FRAG_ATTRIB_WPOS][1]; in NAME() local
142 if ((y0==h) | (y1==h)) { in NAME()
143 if ((y0==h) & (y1==h)) in NAME()
145 y0 -= y0==h; in NAME()
152 dy = y1 - y0; in NAME()
169 zPtr = (DEPTH_TYPE *) _swrast_pixel_address(zrb, x0, y0); in NAME()
172 pixelPtr = (PIXEL_TYPE *) PIXEL_ADDRESS(x0,y0); in NAME()
313 PLOT( x0, y0 ); in NAME()
316 span.array->y[i] = y0; in NAME()
331 y0 += ystep; in NAME()
[all …]
Ds_aaline.c44 GLfloat x0, y0; /* start */ member
89 compute_plane(GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, in compute_plane() argument
95 const GLfloat py = y1 - y0; in compute_plane()
103 const GLfloat d = -(a * x0 + b * y0 + c * z0); in compute_plane()
111 const GLfloat py = y1 - y0; in compute_plane()
116 const GLfloat d = -(a * x0 + b * y0 + c * z0); in compute_plane()
344 const GLfloat y0 = line->y0 + t0 * line->dy; in segment() local
346 const GLfloat y1 = line->y0 + t1 * line->dy; in segment()
350 line->qy0 = y0 + line->xAdj; in segment()
352 line->qy1 = y0 - line->xAdj; in segment()
[all …]
/external/libvorbis/lib/
Dfloor1.c272 static int render_point(int x0,int x1,int y0,int y1,int x){ in render_point() argument
273 y0&=0x7fff; /* mask off flag */ in render_point()
277 int dy=y1-y0; in render_point()
283 if(dy<0)return(y0-off); in render_point()
284 return(y0+off); in render_point()
362 static void render_line(int n, int x0,int x1,int y0,int y1,float *d){ in render_line() argument
363 int dy=y1-y0; in render_line()
369 int y=y0; in render_line()
391 static void render_line0(int n, int x0,int x1,int y0,int y1,int *d){ in render_line0() argument
392 int dy=y1-y0; in render_line0()
[all …]

12345678910>>...13