/external/skia/src/effects/ |
SkTableMaskFilter.cpp | 66 int dstWidth = dst->fBounds.width(); 67 int extraZeros = dst->fRowBytes - dstWidth; 70 for (int x = dstWidth - 1; x >= 0; --x) { 78 dstP += dstWidth;
|
SkMagnifierImageFilter.cpp | 152 int dstWidth = dst.width(), dstHeight = dst.height(); 154 for (int x = 0; x < dstWidth; ++x) { 155 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset;
|
SkAlphaThresholdFilter.cpp | 231 int dstWidth = dst.width(), dstHeight = dst.height(); 236 for (int x = 0; x < dstWidth; ++x) { 262 dptr[y * dstWidth + x] = outputColor;
|
SkBlurMask.cpp | 328 int dstWidth = dst->fBounds.width(); 332 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); 335 ComputeBlurredScanline(horizontalScanline, profile, dstWidth, sigma); 339 for (int x = 0 ; x < dstWidth ; x++) { 353 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; 367 uint8_t *dst_scanline = dp + y*dstWidth + pad; 372 uint8_t *dst_scanline = dp + y*dstWidth + pad; 445 int dstWidth = dst->fBounds.width(); 503 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output
|
/external/skqp/src/effects/ |
SkTableMaskFilter.cpp | 66 int dstWidth = dst->fBounds.width(); 67 int extraZeros = dst->fRowBytes - dstWidth; 70 for (int x = dstWidth - 1; x >= 0; --x) { 78 dstP += dstWidth;
|
SkMagnifierImageFilter.cpp | 152 int dstWidth = dst.width(), dstHeight = dst.height(); 154 for (int x = 0; x < dstWidth; ++x) { 155 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset;
|
SkAlphaThresholdFilter.cpp | 231 int dstWidth = dst.width(), dstHeight = dst.height(); 236 for (int x = 0; x < dstWidth; ++x) { 262 dptr[y * dstWidth + x] = outputColor;
|
SkBlurMask.cpp | 326 int dstWidth = dst->fBounds.width(); 330 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); 333 ComputeBlurredScanline(horizontalScanline, profile.get(), dstWidth, sigma); 337 for (int x = 0 ; x < dstWidth ; x++) { 351 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; 365 uint8_t *dst_scanline = dp + y*dstWidth + pad; 370 uint8_t *dst_scanline = dp + y*dstWidth + pad; 443 int dstWidth = dst->fBounds.width(); 501 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output
|
/external/mesa3d/src/mesa/drivers/common/ |
meta_generate_mipmap.c | 277 GLsizei dstWidth, dstHeight, dstDepth; 293 dstWidth = minify(srcWidth, 1); 297 if (dstWidth == srcWidth && 323 _mesa_set_viewport(ctx, 0, 0, 0, dstWidth, dstHeight); 354 assert(dstWidth == ctx->DrawBuffer->Width);
|
/external/mesa3d/src/mesa/main/ |
copyimage.c | 468 int dstWidth, dstHeight, dstDepth; 550 dstWidth = srcWidth * dst_bw / src_bw; 560 dstX, dstY, dstZ, dstWidth, dstHeight, dstDepth,
|
/external/skia/src/codec/ |
SkHeifCodec.cpp | 219 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); 225 dstWidth = fSwizzler->swizzleWidth(); 234 dstWidth = fSwizzler->swizzleWidth(); 247 this->applyColorXform(dst, swizzleDst, dstWidth, kOpaque_SkAlphaType); 294 int dstWidth = dstInfo.width(); 299 dstWidth = fSwizzler->swizzleWidth(); 306 xformBytes = dstWidth * sizeof(uint32_t);
|
SkJpegCodec.cpp | 464 const unsigned int dstWidth = size.width(); 479 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { 482 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { 515 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); 521 dstWidth = fSwizzler->swizzleWidth(); 530 dstWidth = fSwizzler->swizzleWidth(); 544 this->applyColorXform(dst, swizzleDst, dstWidth, kOpaque_SkAlphaType); 622 int dstWidth = dstInfo.width(); 627 dstWidth = fSwizzler->swizzleWidth(); 634 xformBytes = dstWidth * sizeof(uint32_t) [all...] |
SkSwizzler.cpp | 84 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 96 for (int x = 1; x < dstWidth; x++) { 109 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 120 for (int x = 1; x < dstWidth; x++) { 132 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 143 for (int x = 1; x < dstWidth; x++) { 155 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 175 for (int x = 1; x < dstWidth; x++) { 186 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 197 for (int x = 1; x < dstWidth; x++) [all...] |
/external/skqp/src/codec/ |
SkHeifCodec.cpp | 219 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); 225 dstWidth = fSwizzler->swizzleWidth(); 234 dstWidth = fSwizzler->swizzleWidth(); 247 this->applyColorXform(dst, swizzleDst, dstWidth, kOpaque_SkAlphaType); 294 int dstWidth = dstInfo.width(); 299 dstWidth = fSwizzler->swizzleWidth(); 306 xformBytes = dstWidth * sizeof(uint32_t);
|
SkJpegCodec.cpp | 463 const unsigned int dstWidth = size.width(); 478 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { 481 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { 514 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); 520 dstWidth = fSwizzler->swizzleWidth(); 529 dstWidth = fSwizzler->swizzleWidth(); 543 this->applyColorXform(dst, swizzleDst, dstWidth, kOpaque_SkAlphaType); 621 int dstWidth = dstInfo.width(); 626 dstWidth = fSwizzler->swizzleWidth(); 633 xformBytes = dstWidth * sizeof(uint32_t) [all...] |
SkSwizzler.cpp | 84 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 96 for (int x = 1; x < dstWidth; x++) { 109 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 120 for (int x = 1; x < dstWidth; x++) { 132 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 143 for (int x = 1; x < dstWidth; x++) { 155 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 175 for (int x = 1; x < dstWidth; x++) { 186 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, 197 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 | 44 NAME(GLint srcWidth, GLint dstWidth, \ 53 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \ 54 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 74 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \ 75 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 122 const GLint dstWidth = ABS(dstX1 - dstX0); 148 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, 194 dstBuffer = malloc(MAX_PIXEL_BYTES * dstWidth); 289 dstWidth, dstHeight, 335 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX) [all...] |
/frameworks/layoutlib/bridge/src/android/view/ |
ShadowPainter.java | 90 int dstWidth = image.getWidth(); 96 int xStop = dstWidth - right; 108 int lastPixelOffset = right * dstWidth; 112 for (int y = 0, bufferOffset = 0; y < dstHeight; y++, bufferOffset = y * dstWidth) { 141 for (int x = 0, bufferOffset = 0; x < dstWidth; x++, bufferOffset = x) { 144 for (int y = 0; y < shadowSize; y++, bufferOffset += dstWidth) { 152 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);
|