Home
last modified time | relevance | path

Searched refs:half_height (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/gallium/tests/graw/
Dtri-gs.c58 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()
Dshader-leak.c57 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()
Dtri-instanced.c87 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()
Dgraw_util.h192 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()
Dquad-sample.c67 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()
Dfs-test.c139 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()
Dgs-test.c197 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()
Dvs-test.c119 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()
/external/mesa3d/src/gallium/tests/trivial/
Dtri.c177 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()
Dquad-tex.c234 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()
/external/libvpx/libvpx/third_party/libyuv/source/
Drotate_argb.cc107 int half_height = (height + 1) >> 1; in ARGBRotate180() local
167 for (y = 0; y < half_height; ++y) { in ARGBRotate180()
Drotate.cc133 int half_height = (height + 1) >> 1; in RotatePlane180() local
191 for (y = 0; y < half_height; ++y) { in RotatePlane180()
/external/libaom/libaom/third_party/libyuv/source/
Drotate_argb.cc92 int half_height = (height + 1) >> 1; in ARGBRotate180() local
148 for (y = 0; y < half_height; ++y) { in ARGBRotate180()
Drotate.cc108 int half_height = (height + 1) >> 1; in RotatePlane180() local
179 for (y = 0; y < half_height; ++y) { in RotatePlane180()
/external/libyuv/files/source/
Drotate_argb.cc115 int half_height = (height + 1) >> 1; in ARGBRotate180() local
183 for (y = 0; y < half_height; ++y) { in ARGBRotate180()
Drotate.cc138 int half_height = (height + 1) >> 1; in RotatePlane180() local
209 for (y = 0; y < half_height; ++y) { in RotatePlane180()
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dgeom.h235 const float half_height = GetHeight() / 2.0f; in Scale() local
240 top_ = center.y - half_height * scale_y; in Scale()
241 bottom_ = center.y + half_height * scale_y; in Scale()
/external/libgav1/libgav1/src/dsp/
Dfilm_grain.cc237 const int half_height = DivideBy2(height + 1); in ConstructNoiseStripes_C() local
239 assert(half_height > 0); in ConstructNoiseStripes_C()
289 } while (y < half_height); in ConstructNoiseStripes_C()
302 const int half_height = DivideBy2(height + 1); in ConstructNoiseStripesWithOverlap_C() local
304 assert(half_height > 0); in ConstructNoiseStripesWithOverlap_C()
416 } while (y < half_height); in ConstructNoiseStripesWithOverlap_C()
/external/libyuv/files/unit_test/
Dconvert_test.cc1800 int half_height = (height + 1) / 2; in TEST_F() local
1805 align_buffer_page_end(dst_u, half_width * half_height); in TEST_F()
1806 align_buffer_page_end(dst_v, half_width * half_height); in TEST_F()
1816 uint32_t dst_u_hash = HashDjb2(dst_u, half_width * half_height, 5381); in TEST_F()
1817 uint32_t dst_v_hash = HashDjb2(dst_v, half_width * half_height, 5381); in TEST_F()
1834 int half_height = (height + 1) / 2; in TEST_F() local
1840 align_buffer_page_end(dst_vu, half_width * half_height * 2); in TEST_F()
1851 align_buffer_page_end(dst2_u, half_width * half_height); in TEST_F()
1852 align_buffer_page_end(dst2_v, half_width * half_height); in TEST_F()
1862 align_buffer_page_end(dst3_vu, half_width * half_height * 2); in TEST_F()
[all …]
/external/mesa3d/src/mesa/main/
Dviewport.c588 float half_height = 0.5f * ctx->ViewportArray[i].Height; in _mesa_get_viewport_xform() local
595 scale[1] = -half_height; in _mesa_get_viewport_xform()
597 scale[1] = half_height; in _mesa_get_viewport_xform()
599 translate[1] = half_height + y; in _mesa_get_viewport_xform()
/external/libyuv/files/util/
Dyuvconvert.cc324 int half_height = (dst_height + 1) / 2; in main() local
328 ch_rec + dst_width * dst_height + half_width * half_height, in main()
/external/libgav1/libgav1/src/
Dfilm_grain.cc424 const int half_height = DivideBy2(height_ + 1); in AllocateNoiseStripes() local
425 assert(half_height > 0); in AllocateNoiseStripes()
427 const int max_luma_num = DivideBy16(half_height + 15); in AllocateNoiseStripes()
/external/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc34 int half_height = (height + 1) >> 1; in CalcBufferSize() local
35 buffer_size = width * height + half_width * half_height * 2; in CalcBufferSize()
/external/libaom/libaom/av1/encoder/
Dtx_search.c695 const int half_height = block_size_high[tx_bsize] / 2; in get_2x2_normalized_sses_and_sads() local
699 src_diff + row * half_height * diff_stride + col * half_width; in get_2x2_normalized_sses_and_sads()
702 get_sse_norm(this_src_diff, diff_stride, half_width, half_height); in get_2x2_normalized_sses_and_sads()
706 get_sad_norm(this_src_diff, diff_stride, half_width, half_height); in get_2x2_normalized_sses_and_sads()
712 const int half_height = block_size_high[tx_bsize_half]; in get_2x2_normalized_sses_and_sads() local
713 const int num_samples_half = half_width * half_height; in get_2x2_normalized_sses_and_sads()
717 src + row * half_height * src_stride + col * half_width; in get_2x2_normalized_sses_and_sads()
719 dst + row * half_height * dst_stride + col * half_width; in get_2x2_normalized_sses_and_sads()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c641 float half_height = 0.5f * viewport->height; in get_viewport_xform() local
647 scale[1] = half_height; in get_viewport_xform()
648 translate[1] = half_height + y; in get_viewport_xform()

12