/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/ |
D | canny.cc | 130 static void NonMaximumSuppression(const LiteMat &gx, const LiteMat &gy, LiteMat &edges, bool L2grad… in NonMaximumSuppression() argument 131 edges.Init(gx.width_, gx.height_, gx.channel_, gx.data_type_); in NonMaximumSuppression() 133 const float *gx_ptr = gx; in NonMaximumSuppression() 137 int size = gx.height_ * gx.width_; in NonMaximumSuppression() 149 for (int y = 0; y < gx.height_; y++) { in NonMaximumSuppression() 150 for (int x = 0; x < gx.width_; x++) { in NonMaximumSuppression() 151 float gx_value = Round(gx_ptr[y * gx.width_ + x]); in NonMaximumSuppression() 152 float gy_value = Round(gy_ptr[y * gx.width_ + x]); in NonMaximumSuppression() 157 float edge_value = temp[y * gx.width_ + x]; in NonMaximumSuppression() 161 edge_pre = GetEdge(temp, gx.width_, gx.height_, x - 1, y); in NonMaximumSuppression() [all …]
|
/third_party/python/Lib/venv/scripts/posix/ |
D | activate.fish | 7 set -gx PATH $_OLD_VIRTUAL_PATH 11 set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME 33 set -gx VIRTUAL_ENV "__VENV_DIR__" 35 set -gx _OLD_VIRTUAL_PATH $PATH 36 set -gx PATH "$VIRTUAL_ENV/__VENV_BIN_NAME__" $PATH 40 set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME 64 set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV" 65 set -gx VIRTUAL_ENV_PROMPT "__VENV_PROMPT__"
|
/third_party/skia/third_party/externals/freetype/src/sdf/ |
D | ftbsdf.c | 448 FT_16D16 gx, gy; in compute_edge_distance() local 508 gx = g.x; in compute_edge_distance() 511 gx = FT_ABS( gx ); in compute_edge_distance() 514 if ( gx < gy ) in compute_edge_distance() 516 temp = gx; in compute_edge_distance() 517 gx = gy; in compute_edge_distance() 521 a1 = FT_DivFix( gy, gx ) / 2; in compute_edge_distance() 524 dist = ( gx + gy ) / 2 - in compute_edge_distance() 525 square_root( 2 * FT_MulFix( gx, in compute_edge_distance() 530 dist = FT_MulFix( ONE / 2 - current_alpha, gx ); in compute_edge_distance() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_edgedetect.c | 202 static int get_rounded_direction(int gx, int gy) in get_rounded_direction() argument 214 if (gx) { in get_rounded_direction() 217 if (gx < 0) in get_rounded_direction() 218 gx = -gx, gy = -gy; in get_rounded_direction() 220 tanpi8gx = 27146 * gx; in get_rounded_direction() 221 tan3pi8gx = 158218 * gx; in get_rounded_direction() 241 const int gx = in sobel() local 250 dst[i] = FFABS(gx) + FFABS(gy); in sobel() 251 dir[i] = get_rounded_direction(gx, gy); in sobel()
|
D | vf_photosensitivity.c | 97 int cell, gx, gy, x0, x1, y0, y1, x, y, c, area; in convert_frame_partial() local 110 gx = cell % GRID_SIZE; in convert_frame_partial() 113 x0 = width * gx / GRID_SIZE; in convert_frame_partial() 114 x1 = width * (gx+1) / GRID_SIZE; in convert_frame_partial() 137 td->out->grid[gy][gx][c] = sum[c]; in convert_frame_partial()
|
D | vf_chromashift.c | 305 int gx = (x - gh) % w; \ 310 if (gx < 0) \ 311 gx += w; \ 315 dg[x] = sg[gx + gy * sglinesize]; \
|
/third_party/skia/tests/ |
D | PathOpsSimplifyQuadThreadedTest.cpp | 33 int gx = g & 0x03; in testSimplifyQuadsMain() local 46 path.quadTo(SkIntToScalar(gx), SkIntToScalar(gy), in testSimplifyQuadsMain() 59 pathStr.appendf(" path.quadTo(%d, %d, %d, %d);\n", gx, gy, hx, hy); in testSimplifyQuadsMain()
|
D | PathOpsSimplifyQuadralateralsThreadedTest.cpp | 33 int gx = g & 0x03; in testSimplifyQuadralateralsMain() local 46 path.lineTo(SkIntToScalar(gx), SkIntToScalar(gy)); in testSimplifyQuadralateralsMain() 60 pathStr.appendf(" path.lineTo(%d, %d);\n", gx, gy); in testSimplifyQuadralateralsMain()
|
/third_party/flutter/skia/tests/ |
D | PathOpsSimplifyQuadThreadedTest.cpp | 33 int gx = g & 0x03; in testSimplifyQuadsMain() local 47 path.quadTo(SkIntToScalar(gx), SkIntToScalar(gy), in testSimplifyQuadsMain() 60 pathStr.appendf(" path.quadTo(%d, %d, %d, %d);\n", gx, gy, hx, hy); in testSimplifyQuadsMain()
|
D | PathOpsSimplifyQuadralateralsThreadedTest.cpp | 33 int gx = g & 0x03; in testSimplifyQuadralateralsMain() local 47 path.lineTo(SkIntToScalar(gx), SkIntToScalar(gy)); in testSimplifyQuadralateralsMain() 61 pathStr.appendf(" path.lineTo(%d, %d);\n", gx, gy); in testSimplifyQuadralateralsMain()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | boundingbox_decode_impl.cu | 45 T gx = px + pw * dx; in BoundingBoxDecodeKernel() local 50 T x1 = gx - gw * 0.5f + 0.5f; in BoundingBoxDecodeKernel() 52 T x2 = gx + gw * 0.5f - 0.5f; in BoundingBoxDecodeKernel()
|
D | boundingbox_encode_impl.cu | 34 T gx = (groundtruth_box[left_x] + groundtruth_box[right_x]) * 0.5f; in BoundingBoxEncodeKernel() local 39 T dx = (gx - px) / pw; in BoundingBoxEncodeKernel()
|
/third_party/boost/libs/compute/example/ |
D | opencv_sobel_filter.cpp | 84 float3 gx = -p00.xyz + p20.xyz + 96 float3 g = native_sqrt(gx * gx + gy * gy);
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | boundingbox_decode_cpu_kernel.cc | 123 T gx = px + pw * dx; in Launch() local 128 T x1 = gx - gw * HALF + HALF; in Launch() 130 T x2 = gx + gw * HALF - HALF; in Launch()
|
D | boundingbox_encode_cpu_kernel.cc | 100 T gx = (groundtruth_box[left_x] + groundtruth_box[right_x]) * HALF; in Launch() local 105 T dx = (gx - px) / pw; in Launch()
|
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/optimizer/ |
D | cconv_test.py | 112 def gx(): function 128 return gx() + gy()
|
/third_party/mindspore/tests/st/ops/gpu/ |
D | test_boundingbox_encode_op.py | 40 gx = (gt[..., 0] + gt[..., 2]) * 0.5 45 dx = (gx - px) / pw
|
/third_party/skia/third_party/externals/tint/test/bug/tint/ |
D | 1113.wgsl.expected.glsl | 46 float gx = ((gridSize * (position.x - uniforms.bbMin.x)) / cubeSize); 49 return vec3(gx, gy, gz); 249 float gx = ((gridSize * (position.x - uniforms.bbMin.x)) / cubeSize); 252 return vec3(gx, gy, gz);
|
D | 1113.wgsl.expected.wgsl | 70 var gx = ((gridSize * (position.x - uniforms.bbMin.x)) / cubeSize); 73 return vec3<f32>(gx, gy, gz);
|
/third_party/skia/third_party/externals/tint/test/bug/chromium/ |
D | 1273230.wgsl | 83 var gx = ((cubeSize * (position.x - uniforms.bbMin.x)) / cubeSize); 84 var gy = ((gx * (position.y - uniforms.bbMin.y)) / gridSize);
|
D | 1273230.wgsl.expected.spvasm | 74 OpName %gx "gx" 265 %gx = OpVariable %_ptr_Function_float Function %113 309 OpStore %gx %126 310 %128 = OpLoad %float %gx
|
D | 1273230.wgsl.expected.wgsl | 101 var gx = ((cubeSize * (position.x - uniforms.bbMin.x)) / cubeSize); 102 var gy = ((gx * (position.y - uniforms.bbMin.y)) / gridSize);
|
D | 1273230.wgsl.expected.hlsl | 74 float gx = ((cubeSize * (position.x - asfloat(uniforms[1].x))) / cubeSize); 75 float gy = ((gx * (position.y - asfloat(uniforms[1].y))) / gridSize);
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | noise.inl | 37 tvec4<T, P> gx = static_cast<T>(2) * glm::fract(i / T(41)) - T(1); local 38 tvec4<T, P> gy = glm::abs(gx) - T(0.5); 39 tvec4<T, P> tx = glm::floor(gx + T(0.5)); 40 gx = gx - tx; 42 tvec2<T, P> g00(gx.x, gy.x); 43 tvec2<T, P> g10(gx.y, gy.y); 44 tvec2<T, P> g01(gx.z, gy.z); 45 tvec2<T, P> g11(gx.w, gy.w); 359 tvec4<T, P> gx = static_cast<T>(2) * fract(i / T(41)) - T(1); local 360 tvec4<T, P> gy = abs(gx) - T(0.5); [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | pngenc.c | 295 double rx, ry, gx, gy, bx, by, wx = 0.3127, wy = 0.3290; in png_get_chrm() local 299 gx = 0.300; gy = 0.600; in png_get_chrm() 304 gx = 0.210; gy = 0.710; in png_get_chrm() 310 gx = 0.290; gy = 0.600; in png_get_chrm() 316 gx = 0.310; gy = 0.595; in png_get_chrm() 321 gx = 0.170; gy = 0.797; in png_get_chrm() 330 AV_WB32_PNG(buf + 16, gx); AV_WB32_PNG(buf + 20, gy); in png_get_chrm()
|