/external/libvpx/libvpx/third_party/libyuv/source/ |
convert_to_argb.cc | 184 int halfwidth = (src_width + 1) / 2; local 188 (halfwidth * crop_y + crop_x) / 2; 190 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 193 (halfwidth * crop_y + crop_x) / 2; 195 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 198 src_u, halfwidth, 199 src_v, halfwidth, 209 int halfwidth = (src_width + 1) / 2; local 212 (halfwidth * crop_y + crop_x) / 2; 214 halfwidth * (halfheight + crop_y / 2) + crop_x / 2 228 int halfwidth = (src_width + 1) \/ 2; local [all...] |
convert_to_i420.cc | 222 int halfwidth = (src_width + 1) / 2; local 226 (halfwidth * crop_y + crop_x) / 2; 228 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 231 (halfwidth * crop_y + crop_x) / 2; 233 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 236 src_u, halfwidth, 237 src_v, halfwidth, 249 int halfwidth = (src_width + 1) / 2; local 252 halfwidth * crop_y + crop_x / 2; 254 halfwidth * (abs_src_height + crop_y) + crop_x / 2 [all...] |
rotate.cc | 358 int halfwidth = (width + 1) >> 1; local 393 halfwidth, halfheight); 396 halfwidth, halfheight); 404 halfwidth, halfheight); 407 halfwidth, halfheight); 415 halfwidth, halfheight); 418 halfwidth, halfheight); 434 int halfwidth = (width + 1) >> 1; local 467 halfwidth, halfheight); 476 halfwidth, halfheight) [all...] |
convert_from.cc | 373 int halfwidth = (width + 1) >> 1; local 395 if (src_stride_u == halfwidth && 396 src_stride_v == halfwidth && 397 dst_stride_uv == halfwidth * 2) { 398 halfwidth *= halfheight; 405 if (IS_ALIGNED(halfwidth, 16)) { 413 if (IS_ALIGNED(halfwidth, 32)) { 421 if (IS_ALIGNED(halfwidth, 16)) { 430 MergeUVRow_(src_u, src_v, dst_uv, halfwidth); 1263 int halfwidth = (width + 1) \/ 2; local 1285 int halfwidth = (width + 1) \/ 2; local [all...] |
convert.cc | 70 int halfwidth = (width + 1) >> 1; local 93 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); 94 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); 167 int halfwidth = (width + 1) >> 1; local 181 SetPlane(dst_u, dst_stride_u, halfwidth, halfheight, 128); 182 SetPlane(dst_v, dst_stride_v, halfwidth, halfheight, 128); 246 int halfwidth = (width + 1) >> 1; local 275 if (src_stride_uv == halfwidth * 2 && 276 dst_stride_u == halfwidth && 277 dst_stride_v == halfwidth) { [all...] |
convert_from_argb.cc | 264 int halfwidth = (width + 1) >> 1; local 321 if (IS_ALIGNED(halfwidth, 16)) { 329 if (IS_ALIGNED(halfwidth, 32)) { 337 if (IS_ALIGNED(halfwidth, 16)) { 344 align_buffer_64(row_u, ((halfwidth + 31) & ~31) * 2); 345 uint8* row_v = row_u + ((halfwidth + 31) & ~31); 349 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); 358 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); 373 int halfwidth = (width + 1) >> 1; local 430 if (IS_ALIGNED(halfwidth, 16)) [all...] |
/external/libyuv/files/source/ |
convert_to_argb.cc | 183 int halfwidth = (src_width + 1) / 2; local 187 (halfwidth * crop_y + crop_x) / 2; 189 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 192 (halfwidth * crop_y + crop_x) / 2; 194 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 197 src_u, halfwidth, 198 src_v, halfwidth, 208 int halfwidth = (src_width + 1) / 2; local 211 (halfwidth * crop_y + crop_x) / 2; 213 halfwidth * (halfheight + crop_y / 2) + crop_x / 2 227 int halfwidth = (src_width + 1) \/ 2; local [all...] |
convert_to_i420.cc | 220 int halfwidth = (src_width + 1) / 2; local 224 (halfwidth * crop_y + crop_x) / 2; 226 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 229 (halfwidth * crop_y + crop_x) / 2; 231 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 234 src_u, halfwidth, 235 src_v, halfwidth, 247 int halfwidth = (src_width + 1) / 2; local 250 halfwidth * crop_y + crop_x / 2; 252 halfwidth * (abs_src_height + crop_y) + crop_x / 2 [all...] |
rotate.cc | 353 int halfwidth = (width + 1) >> 1; local 388 halfwidth, halfheight); 391 halfwidth, halfheight); 399 halfwidth, halfheight); 402 halfwidth, halfheight); 410 halfwidth, halfheight); 413 halfwidth, halfheight); 429 int halfwidth = (width + 1) >> 1; local 462 halfwidth, halfheight); 471 halfwidth, halfheight) [all...] |
convert_from.cc | 373 int halfwidth = (width + 1) >> 1; local 395 if (src_stride_u == halfwidth && 396 src_stride_v == halfwidth && 397 dst_stride_uv == halfwidth * 2) { 398 halfwidth *= halfheight; 405 if (IS_ALIGNED(halfwidth, 16)) { 413 if (IS_ALIGNED(halfwidth, 32)) { 421 if (IS_ALIGNED(halfwidth, 16)) { 430 MergeUVRow_(src_u, src_v, dst_uv, halfwidth); 1081 int halfwidth = (width + 1) \/ 2; local 1103 int halfwidth = (width + 1) \/ 2; local [all...] |
convert.cc | 70 int halfwidth = (width + 1) >> 1; local 93 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); 94 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); 167 int halfwidth = (width + 1) >> 1; local 181 SetPlane(dst_u, dst_stride_u, halfwidth, halfheight, 128); 182 SetPlane(dst_v, dst_stride_v, halfwidth, halfheight, 128); 246 int halfwidth = (width + 1) >> 1; local 275 if (src_stride_uv == halfwidth * 2 && 276 dst_stride_u == halfwidth && 277 dst_stride_v == halfwidth) { [all...] |
convert_from_argb.cc | 263 int halfwidth = (width + 1) >> 1; local 320 if (IS_ALIGNED(halfwidth, 16)) { 328 if (IS_ALIGNED(halfwidth, 32)) { 336 if (IS_ALIGNED(halfwidth, 16)) { 343 align_buffer_64(row_u, ((halfwidth + 31) & ~31) * 2); 344 uint8* row_v = row_u + ((halfwidth + 31) & ~31); 348 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); 357 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); 372 int halfwidth = (width + 1) >> 1; local 429 if (IS_ALIGNED(halfwidth, 16)) [all...] |
planar_functions.cc | 130 int halfwidth = (width + 1) >> 1; local 147 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, height); 148 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, height); 447 int halfwidth = (width + 1) >> 1; local 468 MirrorPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); 469 MirrorPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); 654 int halfwidth = (width + 1) >> 1; local 681 if (IS_ALIGNED(halfwidth, 8)) { 689 if (IS_ALIGNED(halfwidth, 32)) { 702 if (IS_ALIGNED(halfwidth, 16)) 1201 int halfwidth = (width + 1) >> 1; local 1952 int halfwidth = (width + 1) >> 1; local 2478 int halfwidth = (width + 1) >> 1; local 2576 int halfwidth = (width + 1) >> 1; local [all...] |
/external/skia/src/gpu/effects/ |
GrConvolutionEffect.h | 26 int halfWidth, 30 return new GrConvolutionEffect(tex, dir, halfWidth, kernel, useBounds, bounds); 36 int halfWidth, 40 return new GrConvolutionEffect(tex, dir, halfWidth, gaussianSigma, useBounds, bounds); 71 int halfWidth, 78 int halfWidth,
|
/external/mesa3d/src/mesa/swrast/ |
s_aaline.c | 48 GLfloat halfWidth; /* half of line width */ 373 xLeft = x0 - line->halfWidth; 374 xRight = x1 + line->halfWidth; 376 yBot = y0 - 3.0F * line->halfWidth; 377 yTop = y0 + line->halfWidth; 380 yBot = y0 - line->halfWidth; 381 yTop = y0 + 3.0F * line->halfWidth; 385 xLeft = x1 - line->halfWidth; 386 xRight = x0 + line->halfWidth; 388 yBot = y1 - 3.0F * line->halfWidth; [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
AvatarGroupRequestDescriptor.java | 75 final float halfWidth = width / 2F; 140 destArray[1] = new RectF(0, halfHeight, halfWidth, height); 141 destArray[2] = new RectF(halfWidth, halfHeight, width, height); 151 destArray[0] = new RectF(0, 0, halfWidth, halfHeight); 152 destArray[1] = new RectF(halfWidth, 0, width, halfHeight); 153 destArray[2] = new RectF(0, halfHeight, halfWidth, height); 154 destArray[3] = new RectF(halfWidth, halfHeight, width, height);
|
SimSelectorAvatarRequest.java | 71 final float halfWidth = width / 2; 89 canvas.drawBitmap(sRegularSimIcon, halfWidth - sRegularSimIcon.getWidth() / 2, 105 final float xOffset = halfWidth - textBound.centerX();
|
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 279 SkScalar halfWidth, halfHeight; 281 halfWidth = SkScalarHalf(clampedInitialDashLength); 284 halfWidth = SkScalarHalf(rec.getWidth()); 289 results->fFirst.addRect(x - halfWidth, y - halfHeight, 290 x + halfWidth, y + halfHeight); 330 SkScalar halfWidth, halfHeight; 332 halfWidth = SkScalarHalf(temp); 335 halfWidth = SkScalarHalf(rec.getWidth()); 338 results->fLast.addRect(x - halfWidth, y - halfHeight, 339 x + halfWidth, y + halfHeight) [all...] |
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
CustomArrayAdapter.java | 127 int halfWidth = bitmap.getWidth() / 2; 130 canvas.drawCircle(halfWidth, halfHeight, Math.max(halfWidth, halfHeight), paint);
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
CustomArrayAdapter.java | 120 int halfWidth = bitmap.getWidth()/2; 123 canvas.drawCircle(halfWidth, halfHeight, Math.max(halfWidth, halfHeight), paint);
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Touchpad.java | 142 float halfWidth = getWidth() / 2;
144 float radius = Math.min(halfWidth, halfHeight);
145 touchBounds.set(halfWidth, halfHeight, radius);
147 knobBounds.set(halfWidth, halfHeight, radius);
148 deadzoneBounds.set(halfWidth, halfHeight, deadzoneRadius);
150 knobPosition.set(halfWidth, halfHeight);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
RippleComponent.java | 89 final float halfWidth = bounds.width() / 2.0f; 91 return (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight); 262 final float halfWidth = mBounds.width() / 2.0f; 264 final float targetRadius = (float) Math.sqrt(halfWidth * halfWidth
|
/external/replicaisland/src/com/replica/replicaisland/ |
SimpleCollisionComponent.java | 62 final float halfWidth = parentObject.width / 2.0f; 65 parentObject.getPosition().x = mHitPoint.x - halfWidth;
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateVPTests.cpp | 289 const float halfWidth = (float)WIDTH / 2; 296 { 0.0f, 0.0f, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, 297 { halfWidth, 0.0f, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, 298 { halfWidth, halfHeight, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, 299 { 0.0f, halfHeight, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f } 305 { { (deInt32)halfWidth, quarterHeight }, { quarterWidth, quarterHeight } }, 306 { { (deInt32)halfWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } },
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Frustum.java | 183 public boolean boundsInFrustum (float x, float y, float z, float halfWidth, float halfHeight, float halfDepth) {
185 if (planes[i].testPoint(x + halfWidth, y + halfHeight, z + halfDepth) != PlaneSide.Back) continue;
186 if (planes[i].testPoint(x + halfWidth, y + halfHeight, z - halfDepth) != PlaneSide.Back) continue;
187 if (planes[i].testPoint(x + halfWidth, y - halfHeight, z + halfDepth) != PlaneSide.Back) continue;
188 if (planes[i].testPoint(x + halfWidth, y - halfHeight, z - halfDepth) != PlaneSide.Back) continue;
189 if (planes[i].testPoint(x - halfWidth, y + halfHeight, z + halfDepth) != PlaneSide.Back) continue;
190 if (planes[i].testPoint(x - halfWidth, y + halfHeight, z - halfDepth) != PlaneSide.Back) continue;
191 if (planes[i].testPoint(x - halfWidth, y - halfHeight, z + halfDepth) != PlaneSide.Back) continue;
192 if (planes[i].testPoint(x - halfWidth, y - halfHeight, z - halfDepth) != PlaneSide.Back) continue;
|