/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/ |
D | non_max_suppression_fp32.h | 76 float half_height = y_b / 2; in NMSBox() local 77 y1_ = y_a - half_height; in NMSBox() 78 y2_ = y_a + half_height; in NMSBox()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | Rasterizer.cpp | 72 float half_height = height / 2.0f; in SetViewports() local 76 states[i].scale[1] = -half_height; in SetViewports() 80 states[i].translate[1] = half_height + y; in SetViewports()
|
/third_party/mesa3d/src/gallium/tests/graw/ |
D | shader-leak.c | 57 float half_height = (float)height / 2.0f; in set_viewport() local 62 vp.scale[1] = half_height; in set_viewport() 66 vp.translate[1] = half_height + y; in set_viewport()
|
D | tri-gs.c | 58 float half_height = (float)height / 2.0f; in set_viewport() local 63 vp.scale[1] = half_height; in set_viewport() 67 vp.translate[1] = half_height + y; in set_viewport()
|
D | tri-instanced.c | 87 float half_height = (float)height / 2.0f; in set_viewport() local 92 vp.scale[1] = half_height; in set_viewport() 96 vp.translate[1] = half_height + y; in set_viewport()
|
D | graw_util.h | 192 float half_height = height / 2.0f; in graw_util_viewport() local 197 vp.scale[1] = half_height; in graw_util_viewport() 201 vp.translate[1] = half_height + y; in graw_util_viewport()
|
D | quad-sample.c | 67 float half_height = (float)height / 2.0f; in set_viewport() local 72 vp.scale[1] = half_height; in set_viewport() 76 vp.translate[1] = half_height + y; in set_viewport()
|
D | fs-test.c | 139 float half_height = (float)height / 2.0f; in set_viewport() local 144 vp.scale[1] = half_height; in set_viewport() 148 vp.translate[1] = half_height + y; in set_viewport()
|
D | vs-test.c | 119 float half_height = (float)height / 2.0f; in set_viewport() local 124 vp.scale[1] = half_height; in set_viewport() 128 vp.translate[1] = half_height + y; in set_viewport()
|
D | gs-test.c | 197 float half_height = (float)height / 2.0f; in set_viewport() local 202 vp.scale[1] = half_height; in set_viewport() 206 vp.translate[1] = half_height + y; in set_viewport()
|
/third_party/mesa3d/src/gallium/tests/trivial/ |
D | tri.c | 177 float half_height = (float)HEIGHT / 2.0f; in init_prog() local 190 p->viewport.scale[1] = half_height * scale; in init_prog() 194 p->viewport.translate[1] = (half_height + y) * scale + bias; in init_prog()
|
D | quad-tex.c | 234 float half_height = (float)HEIGHT / 2.0f; in init_prog() local 247 p->viewport.scale[1] = half_height * scale; in init_prog() 251 p->viewport.translate[1] = (half_height + y) * scale + bias; in init_prog()
|
/third_party/mesa3d/src/mesa/main/ |
D | viewport.c | 589 float half_height = 0.5f * ctx->ViewportArray[i].Height; in _mesa_get_viewport_xform() local 596 scale[1] = -half_height; in _mesa_get_viewport_xform() 598 scale[1] = half_height; in _mesa_get_viewport_xform() 600 translate[1] = half_height + y; in _mesa_get_viewport_xform()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup.c | 903 float half_height, x0, y0; in lp_setup_set_viewports() local 922 half_height = fabsf(viewports[0].scale[1]); in lp_setup_set_viewports() 924 y0 = viewports[0].translate[1] - half_height; in lp_setup_set_viewports() 928 setup->vpwh.y1 = (int)(half_height * 2.0f + y0 - 0.5f); in lp_setup_set_viewports()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | si_cmd_buffer.c | 602 float half_height = 0.5f * viewport->height; in radv_get_viewport_xform() local 608 scale[1] = half_height; in radv_get_viewport_xform() 609 translate[1] = half_height + y; in radv_get_viewport_xform()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_cmd_buffer.c | 1958 float half_height = 0.5f * viewport->height; in v3dv_viewport_compute_xform() local 1964 scale[1] = half_height; in v3dv_viewport_compute_xform() 1965 translate[1] = half_height + y; in v3dv_viewport_compute_xform()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_execute.c | 379 float half_height = 0.5f * viewport->height; in get_viewport_xform() local 385 scale[1] = half_height; in get_viewport_xform() 386 translate[1] = half_height + y; in get_viewport_xform()
|