/external/webrtc/webrtc/test/ |
H A D | 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/syslinux/com32/lib/jpeg/ |
H A D | yuv420p.c | 247 int half_width = (priv->width + 1) >> 2; local 255 priv->bytes_per_row[1] = half_width; 260 priv->bytes_per_row[2] = half_width; 269 bytes_per_blocklines[1] = half_width << 2; 270 bytes_per_blocklines[2] = half_width << 2;
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | 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/pdfium/core/fxge/ |
H A D | cfx_pathdata.cpp | 62 float half_width, 78 float point_y = mid_pos.y + half_width * start_dir; 79 rect->UpdateRect(CFX_PointF(mid_pos.x + half_width, point_y)); 80 rect->UpdateRect(CFX_PointF(mid_pos.x - half_width, point_y)); 90 static_cast<float>(fabs(half_width * start_len / start_to_mid.x)); 97 end_dc = static_cast<float>(fabs(half_width * end_len / end_to_mid.x)); 102 outside.x += half_width; 104 outside.x -= half_width; 118 outside.x += half_width; 120 outside.x -= half_width; 58 UpdateLineJoinPoints(CFX_FloatRect* rect, const CFX_PointF& start_pos, const CFX_PointF& mid_pos, const CFX_PointF& end_pos, float half_width, float miter_limit) argument [all...] |
/external/webrtc/webrtc/modules/video_coding/codecs/i420/ |
H A D | i420.cc | 205 int half_width = (_width + 1) / 2; local 206 _decodedImage.CreateEmptyFrame(_width, _height, _width, half_width, 207 half_width);
|
/external/webrtc/webrtc/test/testsupport/metrics/ |
H A D | 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/mesa3d/src/gallium/tests/graw/ |
H A D | graw_util.h | 193 float half_width = width / 2.0f; local 198 vp.scale[0] = half_width; 202 vp.translate[0] = half_width + x;
|
H A D | quad-sample.c | 66 float half_width = (float)width / 2.0f; local 71 vp.scale[0] = half_width; 75 vp.translate[0] = half_width + x;
|
H A D | shader-leak.c | 56 float half_width = (float)width / 2.0f; local 61 vp.scale[0] = half_width; 65 vp.translate[0] = half_width + x;
|
H A D | tri-gs.c | 57 float half_width = (float)width / 2.0f; local 62 vp.scale[0] = half_width; 66 vp.translate[0] = half_width + x;
|
H A D | tri-instanced.c | 86 float half_width = (float)width / 2.0f; local 91 vp.scale[0] = half_width; 95 vp.translate[0] = half_width + x;
|
H A D | fs-test.c | 138 float half_width = (float)width / 2.0f; local 143 vp.scale[0] = half_width; 147 vp.translate[0] = half_width + x;
|
H A D | gs-test.c | 197 float half_width = (float)width / 2.0f; local 202 vp.scale[0] = half_width; 206 vp.translate[0] = half_width + x;
|
H A D | vs-test.c | 119 float half_width = (float)width / 2.0f; local 124 vp.scale[0] = half_width; 128 vp.translate[0] = half_width + x;
|
/external/mesa3d/src/gallium/tests/trivial/ |
H A D | quad-tex.c | 230 float half_width = (float)WIDTH / 2.0f; local 243 p->viewport.scale[0] = half_width; 247 p->viewport.translate[0] = half_width + x;
|
H A D | tri.c | 175 float half_width = (float)WIDTH / 2.0f; local 188 p->viewport.scale[0] = half_width; 192 p->viewport.translate[0] = half_width + x;
|
/external/mesa3d/src/mesa/main/ |
H A D | viewport.c | 481 float half_width = 0.5f * ctx->ViewportArray[i].Width; local 486 scale[0] = half_width; 487 translate[0] = half_width + x;
|
/external/pdfium/core/fpdfapi/page/ |
H A D | cpdf_textobject.cpp | 277 float half_width = m_GraphState.GetLineWidth() / 2; local 278 m_Left -= half_width; 279 m_Right += half_width; 280 m_Top += half_width; 281 m_Bottom -= half_width;
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
H A D | geom.h | 234 const float half_width = GetWidth() / 2.0f; local 237 left_ = center.x - half_width * scale_x; 238 right_ = center.x + half_width * scale_x;
|
/external/webrtc/talk/media/base/ |
H A D | 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);
|
/external/webrtc/webrtc/common_video/libyuv/ |
H A D | 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);
|
H A D | webrtc_libyuv.cc | 79 int half_width = (width + 1) >> 1; local 81 buffer_size = width * height + half_width * half_height * 2;
|
/external/webrtc/webrtc/common_video/ |
H A D | 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/modules/video_coding/codecs/vp8/ |
H A D | vp8_sequence_coder.cc | 152 int half_width = (width + 1) / 2; local 163 input_frame.CreateEmptyFrame(width, height, width, half_width, half_width);
|
/external/libyuv/files/util/ |
H A D | yuvconvert.cc | 320 int half_width = (dst_width + 1) / 2; local 324 ch_rec + dst_width * dst_height, half_width, 325 ch_rec + dst_width * dst_height + half_width * half_height, 326 half_width, dst_width, dst_height);
|