/external/webrtc/webrtc/test/ |
fake_texture_frame.h | 44 int half_width = (width_ + 1) / 2; variable 46 memset(buffer->MutableData(kUPlane), 0, half_height * half_width); 47 memset(buffer->MutableData(kVPlane), 0, half_height * half_width);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_viewport.c | 68 GLfloat half_width = (GLfloat)ctx->Viewport.Width * 0.5f; local 72 st->state.viewport.scale[0] = half_width; 77 st->state.viewport.translate[0] = half_width + x;
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_wide_line.c | 63 const float half_width = 0.5f * stage->draw->rasterizer->line_width; local 94 pos0[1] = pos0[1] - half_width - bias; 95 pos1[1] = pos1[1] + half_width - bias; 96 pos2[1] = pos2[1] - half_width - bias; 97 pos3[1] = pos3[1] + half_width - bias; 117 pos0[0] = pos0[0] - half_width + bias; 118 pos1[0] = pos1[0] + half_width + bias; 119 pos2[0] = pos2[0] - half_width + bias; 120 pos3[0] = pos3[0] + half_width + bias;
|
/external/webrtc/webrtc/tools/frame_analyzer/ |
video_quality_analysis.cc | 33 int half_width = (width + 1) >> 1; local 37 int u_plane = half_width * half_height; // I420 U plane. 38 int v_plane = half_width * half_height; // I420 V plane. 187 int half_width = (width + 1) >> 1; local 191 const uint8_t* src_v_a = src_u_a + half_width * half_height; 194 const uint8_t* src_v_b = src_u_b + half_width * half_height; 197 int stride_uv = half_width; 204 result = libyuv::I420Psnr(src_y_a, width, src_u_a, half_width, 205 src_v_a, half_width, src_y_b, width, 206 src_u_b, half_width, src_v_b, half_width [all...] |
/external/webrtc/webrtc/modules/video_render/test/testAPI/ |
testAPI.cc | 305 const int half_width = (width + 1) / 2; local 309 videoFrame0.CreateEmptyFrame(width, height, width, half_width, half_width); 379 const int half_width = (width + 1) / 2; local 383 videoFrame0.CreateEmptyFrame(width, height, width, half_width, half_width); 457 const int half_width = (width + 1) / 2; local 461 videoFrame0.CreateEmptyFrame(width, height, width, half_width, half_width); 463 videoFrame1.CreateEmptyFrame(width, height, width, half_width, half_width) 540 const int half_width = (width + 1) \/ 2; local [all...] |
/external/webrtc/webrtc/common_video/ |
video_frame.cc | 64 const int half_width = (width + 1) / 2; local 68 RTC_DCHECK_GE(stride_u, half_width); 69 RTC_DCHECK_GE(stride_v, half_width); 235 const int half_width = (width() + 1) / 2; local 240 stride(kUPlane), half_width, half_height) && 242 stride(kVPlane), half_width, half_height);
|
/external/webrtc/webrtc/test/testsupport/metrics/ |
video_metrics.cc | 118 int half_width = (width + 1) / 2; local 119 ref_frame.CreateEmptyFrame(width, height, width, half_width, half_width); 120 test_frame.CreateEmptyFrame(width, height, width, half_width, half_width);
|
/external/pdfium/core/src/fxge/ge/ |
fx_ge_path.cpp | 252 FX_FLOAT half_width, 260 FX_FLOAT point_y = middle_y + half_width * start_dir; 261 rect.UpdateRect(middle_x + half_width, point_y); 262 rect.UpdateRect(middle_x - half_width, point_y); 270 FXSYS_MulDiv(half_width, start_len, start_x - middle_x)); 277 FXSYS_MulDiv(half_width, end_len, end_x - middle_x)); 282 outside_x += half_width; 284 outside_x -= half_width; 298 outside_x += half_width; 300 outside_x -= half_width; [all...] |
/external/libyuv/files/util/ |
convert.cc | 322 int half_width = (dst_width + 1) / 2; local 326 ch_rec + dst_width * dst_height, half_width, 328 half_width * half_height, half_width,
|
/external/mesa3d/src/gallium/tests/graw/ |
shader-leak.c | 56 float half_width = (float)width / 2.0f; local 61 vp.scale[0] = half_width; 66 vp.translate[0] = half_width + x;
|
tri-gs.c | 57 float half_width = (float)width / 2.0f; local 62 vp.scale[0] = half_width; 67 vp.translate[0] = half_width + x;
|
tri-instanced.c | 86 float half_width = (float)width / 2.0f; local 91 vp.scale[0] = half_width; 96 vp.translate[0] = half_width + x;
|
graw_util.h | 192 float half_width = width / 2.0f; local 197 vp.scale[0] = half_width; 202 vp.translate[0] = half_width + x;
|
quad-sample.c | 66 float half_width = (float)width / 2.0f; local 71 vp.scale[0] = half_width; 76 vp.translate[0] = half_width + x;
|
fs-test.c | 180 float half_width = (float)width / 2.0f; local 185 vp.scale[0] = half_width; 190 vp.translate[0] = half_width + x;
|
gs-test.c | 213 float half_width = (float)width / 2.0f; local 218 vp.scale[0] = half_width; 223 vp.translate[0] = half_width + x;
|
vs-test.c | 124 float half_width = (float)width / 2.0f; local 129 vp.scale[0] = half_width; 134 vp.translate[0] = half_width + x;
|
/external/mesa3d/src/gallium/tests/trivial/ |
tri.c | 175 float half_width = (float)WIDTH / 2.0f; local 188 p->viewport.scale[0] = half_width; 193 p->viewport.translate[0] = half_width + x;
|
quad-tex.c | 234 float half_width = (float)WIDTH / 2.0f; local 247 p->viewport.scale[0] = half_width; 252 p->viewport.translate[0] = half_width + x;
|
/external/webrtc/webrtc/modules/video_coding/codecs/i420/ |
i420.cc | 205 int half_width = (_width + 1) / 2; local 206 _decodedImage.CreateEmptyFrame(_width, _height, _width, half_width, 207 half_width);
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
vp8_sequence_coder.cc | 152 int half_width = (width + 1) / 2; local 163 input_frame.CreateEmptyFrame(width, height, width, half_width, half_width);
|
simulcast_unittest.h | 310 int half_width = (kDefaultWidth + 1) / 2; local 312 half_width, half_width); 560 int half_width = (settings_.width + 1) / 2; local 562 settings_.width, half_width, half_width); 601 half_width = (settings_.width + 1) / 2; 603 settings_.width, half_width, half_width); [all...] |
/external/webrtc/webrtc/common_video/libyuv/ |
scaler_unittest.cc | 314 const int half_width = (width + 1) / 2; local 315 in_frame.CreateEmptyFrame(width, height, width, half_width, half_width); 316 out_frame.CreateEmptyFrame(width, height, width, half_width, half_width);
|
webrtc_libyuv.cc | 79 int half_width = (width + 1) >> 1; local 81 buffer_size = width * height + half_width * half_height * 2;
|
/external/webrtc/talk/media/base/ |
videoframe.cc | 59 const size_t half_width = (width + 1) >> 1; local 70 result = stream->Write(src_u + row * u_pitch, half_width, NULL, error); 77 result = stream->Write(src_v + row * v_pitch, half_width, NULL, error);
|