Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/test/
Dfake_texture_frame.h43 int half_height = (height_ + 1) / 2; in NativeToI420Buffer() local
46 memset(buffer->MutableData(kUPlane), 0, half_height * half_width); in NativeToI420Buffer()
47 memset(buffer->MutableData(kVPlane), 0, half_height * half_width); in NativeToI420Buffer()
/external/webrtc/webrtc/common_video/
Dvideo_frame.cc113 const int half_height = (height + 1) / 2; in CreateFrame() local
115 const int expected_size_u = half_height * stride_u; in CreateFrame()
116 const int expected_size_v = half_height * stride_v; in CreateFrame()
236 const int half_height = (height() + 1) / 2; in EqualsFrame() local
240 stride(kUPlane), half_width, half_height) && in EqualsFrame()
242 stride(kVPlane), half_width, half_height); in EqualsFrame()
/external/webrtc/webrtc/tools/frame_analyzer/
Dvideo_quality_analysis.cc34 int half_height = (height + 1) >> 1; in GetI420FrameSize() local
37 int u_plane = half_width * half_height; // I420 U plane. in GetI420FrameSize()
38 int v_plane = half_width * half_height; // I420 V plane. in GetI420FrameSize()
188 int half_height = (height + 1) >> 1; in CalculateMetrics() local
191 const uint8_t* src_v_a = src_u_a + half_width * half_height; in CalculateMetrics()
194 const uint8_t* src_v_b = src_u_b + half_width * half_height; in CalculateMetrics()
/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.h194 float half_height = height / 2.0f; in graw_util_viewport() local
199 vp.scale[1] = half_height; in graw_util_viewport()
203 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()
Dvs-test.c120 float half_height = (float)height / 2.0f; in set_viewport() local
125 vp.scale[1] = half_height; in set_viewport()
129 vp.translate[1] = half_height + y; in set_viewport()
Dgs-test.c198 float half_height = (float)height / 2.0f; in set_viewport() local
203 vp.scale[1] = half_height; in set_viewport()
207 vp.translate[1] = half_height + y; in set_viewport()
/external/mesa3d/src/gallium/tests/trivial/
Dtri.c176 float half_height = (float)HEIGHT / 2.0f; in init_prog() local
189 p->viewport.scale[1] = half_height * scale; in init_prog()
193 p->viewport.translate[1] = (half_height + y) * scale + bias; in init_prog()
Dquad-tex.c231 float half_height = (float)HEIGHT / 2.0f; in init_prog() local
244 p->viewport.scale[1] = half_height * scale; in init_prog()
248 p->viewport.translate[1] = (half_height + y) * scale + bias; in init_prog()
/external/webrtc/talk/media/base/
Dvideoframe.cc60 const size_t half_height = (height + 1) >> 1; in Write() local
69 for (size_t row = 0; row < half_height; ++row) { in Write()
76 for (size_t row = 0; row < half_height; ++row) { in Write()
/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/tensorflow/tensorflow/examples/android/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/libyuv/files/source/
Drotate_argb.cc119 int half_height = (height + 1) >> 1; in ARGBRotate180() local
183 for (y = 0; y < half_height; ++y) { in ARGBRotate180()
Drotate.cc143 int half_height = (height + 1) >> 1; in RotatePlane180() local
214 for (y = 0; y < half_height; ++y) { in RotatePlane180()
/external/mesa3d/src/mesa/main/
Dviewport.c581 float half_height = 0.5f * ctx->ViewportArray[i].Height; in _mesa_get_viewport_xform() local
588 scale[1] = -half_height; in _mesa_get_viewport_xform()
590 scale[1] = half_height; in _mesa_get_viewport_xform()
592 translate[1] = half_height + y; in _mesa_get_viewport_xform()
/external/webrtc/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc80 int half_height = (height + 1) >> 1; in CalcBufferSize() local
81 buffer_size = width * height + half_width * half_height * 2; in CalcBufferSize()
/external/libyuv/files/util/
Dyuvconvert.cc321 int half_height = (dst_height + 1) / 2; in main() local
325 ch_rec + dst_width * dst_height + half_width * half_height, in main()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c597 float half_height = 0.5f * viewport->height; in get_viewport_xform() local
603 scale[1] = half_height; in get_viewport_xform()
604 translate[1] = half_height + y; in get_viewport_xform()

12