/external/skia/src/effects/ |
SkTableMaskFilter.cpp | 44 int dstWidth = dst->fBounds.width(); 45 int extraZeros = dst->fRowBytes - dstWidth; 48 for (int x = dstWidth - 1; x >= 0; --x) { 56 dstP += dstWidth;
|
SkBlurMask.cpp | 785 int dstWidth = dst->fBounds.width(); 789 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); 792 ComputeBlurredScanline(horizontalScanline, profile.get(), dstWidth, sigma); 796 for (int x = 0 ; x < dstWidth ; x++) { 810 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; 824 uint8_t *dst_scanline = dp + y*dstWidth + pad; 829 uint8_t *dst_scanline = dp + y*dstWidth + pad; 902 int dstWidth = dst->fBounds.width(); [all...] |
/hardware/ti/omap4-aah/libI420colorconvert/ |
ColorConvert.cpp | 33 int dstWidth = srcRect.right - srcRect.left + 1; 35 size_t dst_y_size = dstWidth * dstHeight; 36 size_t dst_uv_stride = dstWidth / 2; 37 size_t dst_uv_size = dstWidth / 2 * dstHeight / 2; 43 memcpy(pDst_y, pSrc_y, dstWidth); 45 pDst_y += dstWidth; 48 size_t tmp = (dstWidth + 1) / 2; 67 int dstWidth, int dstHeight, ARect dstRect, 74 pDst_y += dstWidth; 78 uint8_t* pDst_uv = (uint8_t*)dstBits + dstWidth * dstHeight [all...] |
/hardware/ti/omap4xxx/libI420colorconvert/ |
ColorConvert.cpp | 33 int dstWidth = srcRect.right - srcRect.left + 1; 35 size_t dst_y_size = dstWidth * dstHeight; 36 size_t dst_uv_stride = dstWidth / 2; 37 size_t dst_uv_size = dstWidth / 2 * dstHeight / 2; 43 memcpy(pDst_y, pSrc_y, dstWidth); 45 pDst_y += dstWidth; 48 size_t tmp = (dstWidth + 1) / 2; 67 int dstWidth, int dstHeight, ARect dstRect, 74 pDst_y += dstWidth; 78 uint8_t* pDst_uv = (uint8_t*)dstBits + dstWidth * dstHeight [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_gen_mipmap.c | 223 uint dstWidth, dstHeight, dstDepth; 225 dstWidth = u_minify(pt->width0, dstLevel); 249 _mesa_init_teximage_fields(ctx, dstImage, dstWidth, dstHeight,
|
/external/skia/src/codec/ |
SkJpegCodec.cpp | 247 const unsigned int dstWidth = size.width(); 262 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { 265 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) {
|
SkSwizzler.cpp | 62 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 74 for (int x = 1; x < dstWidth; x++) { 87 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 98 for (int x = 1; x < dstWidth; x++) { 108 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 119 for (int x = 1; x < dstWidth; x++) { 131 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 142 for (int x = 1; x < dstWidth; x++) { 156 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 167 for (int x = 1; x < dstWidth; x++) [all...] |
/hardware/intel/common/utils/ISV/include/ |
isv_worker.h | 73 uint32_t dstWidth;
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_fbupdate.cpp | 529 const uint32_t dstWidth = displayFrame.right - displayFrame.left; 531 const uint32_t layerClock = getLayerClock(dstWidth, dstHeight, cropHeight);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
DetermineFovActivity.java | 230 float dstWidth = drawRect.right - drawRect.left + 1; 232 float centerX = drawRect.left + dstWidth / 2; 238 float focalLength = focalLengthPixels(mFovDegrees, dstWidth); 240 float projectedMarkerLeft = dstWidth / 2 - dx; 241 float projectedMarkerRight = dstWidth / 2 + dx;
|
/external/mesa3d/src/mesa/swrast/ |
s_blit.c | 43 NAME(GLint srcWidth, GLint dstWidth, \ 52 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \ 53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 73 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \ 74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 116 const GLint dstWidth = ABS(dstX1 - dstX0); 142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, 258 dstWidth, dstHeight, 273 dstBuffer = malloc(pixelSize * dstWidth); 317 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
ShadowPainter.java | 88 int dstWidth = image.getWidth(); 94 int xStop = dstWidth - right; 106 int lastPixelOffset = right * dstWidth; 110 for (int y = 0, bufferOffset = 0; y < dstHeight; y++, bufferOffset = y * dstWidth) { 139 for (int x = 0, bufferOffset = 0; x < dstWidth; x++, bufferOffset = x) { 142 for (int y = 0; y < shadowSize; y++, bufferOffset += dstWidth) { 150 for (int y = yStart; y < yStop; y++, bufferOffset += dstWidth) {
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
AnnOverlayPlane.cpp | 360 uint32_t dstWidth = w; 368 dstWidth, dstHeight, 381 if (srcWidth == dstWidth && srcHeight == dstHeight) { 385 xscaleFract = ((srcWidth - 1) << 12) / dstWidth;
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
AnnOverlayPlane.cpp | 415 uint32_t dstWidth = w; 424 dstWidth, dstHeight, 449 if (srcWidth == dstWidth && srcHeight == dstHeight) { 453 xscaleFract = ((srcWidth - 1) << 12) / dstWidth;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
MockTvInputService.java | 309 int dstWidth = c.getWidth(); 313 new Rect(10, 10, dstWidth - 10, dstHeight - 10), null);
|
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
AccelerometerPlayActivity.java | 357 final int dstWidth = (int) (sBallDiameter * mMetersToPixelsX + 0.5f); 359 mBitmap = Bitmap.createScaledBitmap(ball, dstWidth, dstHeight, true);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/ |
Pixmap.java | 303 * @param dstWidth The target width
305 public void drawPixmap (Pixmap pixmap, int srcx, int srcy, int srcWidth, int srcHeight, int dstx, int dsty, int dstWidth,
307 image(pixmap.getCanvasElement(), srcx, srcy, srcWidth, srcHeight, dstx, dsty, dstWidth, dstHeight);
472 private void image (CanvasElement image, int srcX, int srcY, int srcWidth, int srcHeight, int dstX, int dstY, int dstWidth, int dstHeight) {
478 context.rect(dstX, dstY, dstWidth, dstHeight);
485 context.drawImage(image, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);
|
/external/mesa3d/src/mesa/main/ |
mipmap.c | 151 GLint dstWidth, GLvoid *dstRow) 153 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; 154 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; 160 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth); 168 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 181 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 193 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 204 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 215 for (i = j = 0, k = k0; i < (GLuint) dstWidth; [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
OverlayPlaneBase.cpp | 1033 uint32_t dstWidth = w; 1041 dstWidth, dstHeight); 1044 if (srcWidth == dstWidth && srcHeight == dstHeight) { 1048 xscaleFract = ((srcWidth - 1) << 12) / dstWidth; [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
OverlayPlaneBase.cpp | 1013 uint32_t dstWidth = w; 1018 dstWidth, dstHeight); 1021 if (srcWidth == dstWidth && srcHeight == dstHeight) { 1025 xscaleFract = ((srcWidth - 1) << 12) / dstWidth; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | 364 int dstWidth = image.getWidth(); 370 int xStop = dstWidth - right; 382 int lastPixelOffset = right * dstWidth; 386 for (int y = 0, bufferOffset = 0; y < dstHeight; y++, bufferOffset = y * dstWidth) { 415 for (int x = 0, bufferOffset = 0; x < dstWidth; x++, bufferOffset = x) { 418 for (int y = 0; y < shadowSize; y++, bufferOffset += dstWidth) { 426 for (int y = yStart; y < yStop; y++, bufferOffset += dstWidth) { [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_mdpcomp.cpp | [all...] |
hwc_utils.cpp | 606 int dstWidth = ctx->dpyAttr[dpy].xres; 613 getAspectRatioPosition(dstWidth, dstHeight, srcWidth, 622 displayFrame.right = dstWidth; 833 int dstWidth = ctx->dpyAttr[dpy].xres; 838 hwc_rect outRect = {0, 0, dstWidth, dstHeight}; 845 getAspectRatioPosition(dstWidth, dstHeight, srcWidth, [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_mdpcomp.cpp | [all...] |
hwc_utils.cpp | 593 int dstWidth = ctx->dpyAttr[dpy].xres; 600 getAspectRatioPosition(dstWidth, dstHeight, srcWidth, 609 displayFrame.right = dstWidth; [all...] |