/external/chromium_org/third_party/skia/src/core/ |
D | SkEdge.cpp | 36 SkFDot6 x0, y0, x1, y1; in setLine() local 41 y0 = SkScalarRoundToFDot6(p0.fY, shift); in setLine() 47 y0 = int(p0.fY * scale); in setLine() 55 if (y0 > y1) { in setLine() 57 SkTSwap(y0, y1); in setLine() 61 int top = SkFDot6Round(y0); in setLine() 73 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() 74 const int dy = SkEdge_Compute_DY(top, y0); in setLine() 91 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument 97 y0 >>= 10; in updateLine() [all …]
|
D | SkEdge.h | 18 #define SkEdge_Compute_DY(top, y0) ((top << 6) + 32 - (y0)) argument 89 SkFDot6 x0, y0, x1, y1; in setLine() local 94 y0 = SkScalarRoundToFDot6(p0.fY, shift); in setLine() 100 y0 = int(p0.fY * scale); in setLine() 108 if (y0 > y1) { in setLine() 110 SkTSwap(y0, y1); in setLine() 114 int top = SkFDot6Round(y0); in setLine() 122 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() 123 const int dy = SkEdge_Compute_DY(top, y0); in setLine()
|
/external/skia/src/core/ |
D | SkEdge.cpp | 36 SkFDot6 x0, y0, x1, y1; in setLine() local 41 y0 = int(p0.fY * scale); in setLine() 48 if (y0 > y1) { in setLine() 50 SkTSwap(y0, y1); in setLine() 54 int top = SkFDot6Round(y0); in setLine() 66 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() 67 const int dy = SkEdge_Compute_DY(top, y0); in setLine() 84 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument 90 y0 >>= 10; in updateLine() 93 SkASSERT(y0 <= y1); in updateLine() [all …]
|
D | SkEdge.h | 18 #define SkEdge_Compute_DY(top, y0) ((top << 6) + 32 - (y0)) argument 89 SkFDot6 x0, y0, x1, y1; in setLine() local 94 y0 = int(p0.fY * scale); in setLine() 101 if (y0 > y1) { in setLine() 103 SkTSwap(y0, y1); in setLine() 107 int top = SkFDot6Round(y0); in setLine() 115 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() 116 const int dy = SkEdge_Compute_DY(top, y0); in setLine()
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/x86/ |
D | quantize_sse4.c | 36 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1, in vp8_regular_quantize_b_sse4_1() local 83 y0 = _mm_mulhi_epi16(x0, quant0); in vp8_regular_quantize_b_sse4_1() 86 y0 = _mm_add_epi16(y0, x0); in vp8_regular_quantize_b_sse4_1() 91 y0 = _mm_mulhi_epi16(y0, quant_shift0); in vp8_regular_quantize_b_sse4_1() 95 y0 = _mm_xor_si128(y0, sz0); in vp8_regular_quantize_b_sse4_1() 97 y0 = _mm_sub_epi16(y0, sz0); in vp8_regular_quantize_b_sse4_1() 101 SELECT_EOB(1, 0, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 102 SELECT_EOB(2, 1, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 103 SELECT_EOB(3, 4, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 105 SELECT_EOB(5, 5, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() [all …]
|
D | quantize_sse2.c | 43 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1; in vp8_regular_quantize_b_sse2() local 92 y0 = _mm_mulhi_epi16(x0, quant0); in vp8_regular_quantize_b_sse2() 95 y0 = _mm_add_epi16(y0, x0); in vp8_regular_quantize_b_sse2() 100 y0 = _mm_mulhi_epi16(y0, quant_shift0); in vp8_regular_quantize_b_sse2() 104 y0 = _mm_xor_si128(y0, sz0); in vp8_regular_quantize_b_sse2() 106 y0 = _mm_sub_epi16(y0, sz0); in vp8_regular_quantize_b_sse2() 109 _mm_store_si128((__m128i *)(y), y0); in vp8_regular_quantize_b_sse2() 132 y0 = _mm_load_si128((__m128i *)(d->qcoeff)); in vp8_regular_quantize_b_sse2() 136 y0 = _mm_mullo_epi16(y0, dequant0); in vp8_regular_quantize_b_sse2() 139 _mm_store_si128((__m128i *)(d->dqcoeff), y0); in vp8_regular_quantize_b_sse2() [all …]
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
D | quantize_sse2.c | 44 __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/libvpx/libvpx/vp8/common/ |
D | textblit.c | 61 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()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_textblit.c | 60 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()
|
D | vp9_postproc.c | 569 static void constrain_line(int x0, int *x1, int y0, int *y1, in constrain_line() argument 576 dy = *y1 - y0; in constrain_line() 580 *y1 = ((width - x0) * dy) / dx + y0; in constrain_line() 584 dy = *y1 - y0; in constrain_line() 588 *y1 = ((0 - x0) * dy) / dx + y0; in constrain_line() 592 dy = *y1 - y0; in constrain_line() 596 *x1 = ((height - y0) * dx) / dy + x0; in constrain_line() 600 dy = *y1 - y0; in constrain_line() 604 *x1 = ((0 - y0) * dx) / dy + x0; in constrain_line() 735 int x0, y0; in vp9_post_proc_frame() [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
D | textblit.c | 61 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()
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
D | vp9_textblit.c | 60 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()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_rect.h | 36 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()
|
D | u_format_yuv.c | 555 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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_rect.h | 36 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()
|
D | u_format_yuv.c | 555 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/mesa/program/ |
D | prog_noise.c | 257 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/chromium_org/third_party/mesa/src/src/mesa/program/ |
D | prog_noise.c | 257 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/ |
D | path.c | 297 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/ |
D | path.c | 297 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/v8/third_party/fdlibm/ |
D | fdlibm.js | 39 var n, y0, y1; 49 y0 = z - PIO2_1T; 50 y1 = (z - y0) - PIO2_1T; 54 y0 = z - PIO2_2T; 55 y1 = (z - y0) - PIO2_2T; 63 y0 = z + PIO2_1T; 64 y1 = (z - y0) + PIO2_1T; 68 y0 = z + PIO2_2T; 69 y1 = (z - y0) + PIO2_2T; 80 y0 = r - w; [all …]
|
/external/skia/src/utils/ |
D | SkCullPoints.cpp | 18 bool SkCullPoints::sect_test(int x0, int y0, int x1, int y1) const { in sect_test() argument 23 (y0 < r.fTop && y1 < r.fTop) || in sect_test() 24 (y0 > r.fBottom && y1 > r.fBottom)) { in sect_test() 29 if (r.contains(x0, y0) || r.contains(x1, y1)) { in sect_test() 37 vec.set(x1 - x0, y1 - y0); in sect_test() 38 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test() 40 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { in sect_test() 83 int y0 = fPrevPt.fY; in lineTo() local 88 if (this->sect_test(x0, y0, x, y)) { in lineTo() 89 line[0].set(x0, y0); in lineTo() [all …]
|
/external/chromium_org/third_party/skia/src/utils/ |
D | SkCullPoints.cpp | 18 bool SkCullPoints::sect_test(int x0, int y0, int x1, int y1) const { in sect_test() argument 23 (y0 < r.fTop && y1 < r.fTop) || in sect_test() 24 (y0 > r.fBottom && y1 > r.fBottom)) { in sect_test() 29 if (r.contains(x0, y0) || r.contains(x1, y1)) { in sect_test() 37 vec.set(x1 - x0, y1 - y0); in sect_test() 38 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test() 40 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { in sect_test() 83 int y0 = fPrevPt.fY; in lineTo() local 88 if (this->sect_test(x0, y0, x, y)) { in lineTo() 89 line[0].set(x0, y0); in lineTo() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_linetemp.h | 73 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 …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
D | s_linetemp.h | 73 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 …]
|