Searched defs:half_height (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom_viewport.c69 GLfloat half_height = (GLfloat)ctx->Viewport.Height * 0.5f; local
73 st->state.viewport.scale[1] = half_height * yScale;
78 st->state.viewport.translate[1] = (half_height + y) * yScale + yBias;
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_viewport.c69 GLfloat half_height = (GLfloat)ctx->Viewport.Height * 0.5f; local
73 st->state.viewport.scale[1] = half_height * yScale;
78 st->state.viewport.translate[1] = (half_height + y) * yScale + yBias;
/external/chromium_org/media/cast/test/
H A Dvideo_utility.cc34 int half_height = (height + 1) / 2; local
45 for (int i = 0; i < half_width * half_height; ++i) {
50 for (int i = 0; i < half_width * half_height; ++i) {
59 int half_height = (height + 1) / 2; local
60 size_t frame_size = width * height + 2 * half_width * half_height;
70 memcpy(u_plane, raw_data + width * height, half_width * half_height);
72 half_width * half_height, half_width * half_height);
/external/libyuv/files/source/
H A Drotate_argb.cc116 int half_height = (height + 1) >> 1; local
118 for (int y = 0; y < half_height; ++y) {
H A Drotate.cc887 int half_height = (height + 1) >> 1; local
889 for (int y = 0; y < half_height; ++y) {
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideoframe.cc61 const size_t half_height = (height + 1) >> 1; local
70 for (size_t row = 0; row < half_height; ++row) {
77 for (size_t row = 0; row < half_height; ++row) {
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Dgraw_util.h193 float half_height = height / 2.0f; local
198 vp.scale[1] = half_height;
203 vp.translate[1] = half_height + y;
H A Dquad-sample.c67 float half_height = (float)height / 2.0f; local
72 vp.scale[1] = half_height;
77 vp.translate[1] = half_height + y;
H A Dshader-leak.c57 float half_height = (float)height / 2.0f; local
62 vp.scale[1] = half_height;
67 vp.translate[1] = half_height + y;
H A Dtri-gs.c58 float half_height = (float)height / 2.0f; local
63 vp.scale[1] = half_height;
68 vp.translate[1] = half_height + y;
H A Dtri-instanced.c87 float half_height = (float)height / 2.0f; local
92 vp.scale[1] = half_height;
97 vp.translate[1] = half_height + y;
H A Dfs-test.c181 float half_height = (float)height / 2.0f; local
186 vp.scale[1] = half_height;
191 vp.translate[1] = half_height + y;
H A Dgs-test.c214 float half_height = (float)height / 2.0f; local
219 vp.scale[1] = half_height;
224 vp.translate[1] = half_height + y;
H A Dvs-test.c125 float half_height = (float)height / 2.0f; local
130 vp.scale[1] = half_height;
135 vp.translate[1] = half_height + y;
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/
H A Dquad-tex.c235 float half_height = (float)HEIGHT / 2.0f; local
248 p->viewport.scale[1] = half_height * scale;
253 p->viewport.translate[1] = (half_height + y) * scale + bias;
H A Dtri.c176 float half_height = (float)HEIGHT / 2.0f; local
189 p->viewport.scale[1] = half_height * scale;
194 p->viewport.translate[1] = (half_height + y) * scale + bias;
/external/mesa3d/src/gallium/tests/graw/
H A Dgraw_util.h193 float half_height = height / 2.0f; local
198 vp.scale[1] = half_height;
203 vp.translate[1] = half_height + y;
H A Dquad-sample.c67 float half_height = (float)height / 2.0f; local
72 vp.scale[1] = half_height;
77 vp.translate[1] = half_height + y;
H A Dshader-leak.c57 float half_height = (float)height / 2.0f; local
62 vp.scale[1] = half_height;
67 vp.translate[1] = half_height + y;
H A Dtri-gs.c58 float half_height = (float)height / 2.0f; local
63 vp.scale[1] = half_height;
68 vp.translate[1] = half_height + y;
H A Dtri-instanced.c87 float half_height = (float)height / 2.0f; local
92 vp.scale[1] = half_height;
97 vp.translate[1] = half_height + y;
H A Dfs-test.c181 float half_height = (float)height / 2.0f; local
186 vp.scale[1] = half_height;
191 vp.translate[1] = half_height + y;
H A Dgs-test.c214 float half_height = (float)height / 2.0f; local
219 vp.scale[1] = half_height;
224 vp.translate[1] = half_height + y;
/external/mesa3d/src/gallium/tests/trivial/
H A Dquad-tex.c235 float half_height = (float)HEIGHT / 2.0f; local
248 p->viewport.scale[1] = half_height * scale;
253 p->viewport.translate[1] = (half_height + y) * scale + bias;
H A Dtri.c176 float half_height = (float)HEIGHT / 2.0f; local
189 p->viewport.scale[1] = half_height * scale;
194 p->viewport.translate[1] = (half_height + y) * scale + bias;

Completed in 306 milliseconds

12