/external/skqp/src/codec/ |
D | SkSwizzler.cpp | 84 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_grayscale() argument 96 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_grayscale() 109 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_n32() argument 120 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_n32() 132 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_565() argument 143 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_565() 155 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_f16() argument 175 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_f16() 186 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_small_index_to_565() argument 197 for (int x = 1; x < dstWidth; x++) { in swizzle_small_index_to_565() [all …]
|
D | SkHeifCodec.cpp | 219 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local 225 dstWidth = fSwizzler->swizzleWidth(); in readRows() 234 dstWidth = fSwizzler->swizzleWidth(); in readRows() 247 this->applyColorXform(dst, swizzleDst, dstWidth, kOpaque_SkAlphaType); in readRows() 294 int dstWidth = dstInfo.width(); in allocateStorage() local 299 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 306 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
|
D | SkSwizzler.h | 103 int dstWidth, int bpp, int deltaSrc, int offset, 109 int dstWidth, int bpp, int deltaSrc, int offset, 211 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP);
|
D | SkJpegCodec.cpp | 463 const unsigned int dstWidth = size.width(); in onDimensionsSupported() local 478 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported() 481 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported() 514 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local 520 dstWidth = fSwizzler->swizzleWidth(); in readRows() 529 dstWidth = fSwizzler->swizzleWidth(); in readRows() 543 this->applyColorXform(dst, swizzleDst, dstWidth, kOpaque_SkAlphaType); in readRows() 621 int dstWidth = dstInfo.width(); in allocateStorage() local 626 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 633 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
|
/external/skia/src/codec/ |
D | SkSwizzler.cpp | 88 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_grayscale() argument 100 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_grayscale() 113 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_n32() argument 124 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_n32() 136 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_565() argument 147 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_565() 159 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_f16() argument 179 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_f16() 190 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_small_index_to_565() argument 201 for (int x = 1; x < dstWidth; x++) { in swizzle_small_index_to_565() [all …]
|
D | SkHeifCodec.cpp | 219 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local 225 dstWidth = fSwizzler->swizzleWidth(); in readRows() 234 dstWidth = fSwizzler->swizzleWidth(); in readRows() 247 this->applyColorXform(dst, swizzleDst, dstWidth, kOpaque_SkAlphaType); in readRows() 294 int dstWidth = dstInfo.width(); in allocateStorage() local 299 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 306 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
|
D | SkSwizzler.h | 111 int dstWidth, int bpp, int deltaSrc, int offset, 117 int dstWidth, int bpp, int deltaSrc, int offset, 219 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP);
|
D | SkJpegCodec.cpp | 464 const unsigned int dstWidth = size.width(); in onDimensionsSupported() local 479 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported() 482 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported() 515 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local 521 dstWidth = fSwizzler->swizzleWidth(); in readRows() 530 dstWidth = fSwizzler->swizzleWidth(); in readRows() 544 this->applyColorXform(dst, swizzleDst, dstWidth, kOpaque_SkAlphaType); in readRows() 622 int dstWidth = dstInfo.width(); in allocateStorage() local 627 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 634 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
|
/external/mesa3d/src/mesa/main/ |
D | mipmap.c | 152 GLint dstWidth, GLvoid *dstRow) in do_row() argument 154 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row() 155 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row() 169 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 182 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 194 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 205 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 216 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 229 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 241 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() [all …]
|
D | mipmap.h | 39 GLint dstWidth, GLint dstHeight, GLint dstDepth, 55 GLint *dstWidth, GLint *dstHeight, GLint *dstDepth);
|
D | copyimage.c | 468 int dstWidth, dstHeight, dstDepth; in _mesa_CopyImageSubData() local 550 dstWidth = srcWidth * dst_bw / src_bw; in _mesa_CopyImageSubData() 560 dstX, dstY, dstZ, dstWidth, dstHeight, dstDepth, in _mesa_CopyImageSubData()
|
/external/mesa3d/src/mesa/swrast/ |
D | 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); in blit_nearest() local 148 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, in blit_nearest() 194 dstBuffer = malloc(MAX_PIXEL_BYTES * dstWidth); in blit_nearest() 289 dstWidth, dstHeight, in blit_nearest() 335 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX); in blit_nearest() [all …]
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 328 int dstWidth = dst->fBounds.width(); in BlurRect() local 332 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); in BlurRect() 335 ComputeBlurredScanline(horizontalScanline, profile, dstWidth, sigma); in BlurRect() 339 for (int x = 0 ; x < dstWidth ; x++) { in BlurRect() 353 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect() 367 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect() 372 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect() 445 int dstWidth = dst->fBounds.width(); in BlurGroundTruth() local 503 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth()
|
D | SkTableMaskFilter.cpp | 66 int dstWidth = dst->fBounds.width(); in filterMask() local 67 int extraZeros = dst->fRowBytes - dstWidth; in filterMask() 70 for (int x = dstWidth - 1; x >= 0; --x) { in filterMask() 78 dstP += dstWidth; in filterMask()
|
D | SkMagnifierImageFilter.cpp | 152 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 154 for (int x = 0; x < dstWidth; ++x) { in onFilterImage() 155 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset; in onFilterImage()
|
D | SkAlphaThresholdFilter.cpp | 231 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 236 for (int x = 0; x < dstWidth; ++x) { in onFilterImage() 262 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
|
/external/skqp/src/effects/ |
D | SkBlurMask.cpp | 326 int dstWidth = dst->fBounds.width(); in BlurRect() local 330 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); in BlurRect() 333 ComputeBlurredScanline(horizontalScanline, profile.get(), dstWidth, sigma); in BlurRect() 337 for (int x = 0 ; x < dstWidth ; x++) { in BlurRect() 351 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect() 365 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect() 370 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect() 443 int dstWidth = dst->fBounds.width(); in BlurGroundTruth() local 501 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth()
|
D | SkTableMaskFilter.cpp | 66 int dstWidth = dst->fBounds.width(); in filterMask() local 67 int extraZeros = dst->fRowBytes - dstWidth; in filterMask() 70 for (int x = dstWidth - 1; x >= 0; --x) { in filterMask() 78 dstP += dstWidth; in filterMask()
|
D | SkMagnifierImageFilter.cpp | 152 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 154 for (int x = 0; x < dstWidth; ++x) { in onFilterImage() 155 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset; in onFilterImage()
|
D | SkAlphaThresholdFilter.cpp | 231 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 236 for (int x = 0; x < dstWidth; ++x) { in onFilterImage() 262 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
D | ImageUtils.java | 296 final int dstWidth, in getTransformationMatrix() argument 322 if (inWidth != dstWidth || inHeight != dstHeight) { in getTransformationMatrix() 323 final float scaleFactorX = dstWidth / (float) inWidth; in getTransformationMatrix() 339 matrix.postTranslate(dstWidth / 2.0f, dstHeight / 2.0f); in getTransformationMatrix()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta_generate_mipmap.c | 277 GLsizei dstWidth, dstHeight, dstDepth; in _mesa_meta_GenerateMipmap() local 293 dstWidth = minify(srcWidth, 1); in _mesa_meta_GenerateMipmap() 297 if (dstWidth == srcWidth && in _mesa_meta_GenerateMipmap() 323 _mesa_set_viewport(ctx, 0, 0, 0, dstWidth, dstHeight); in _mesa_meta_GenerateMipmap() 354 assert(dstWidth == ctx->DrawBuffer->Width); in _mesa_meta_GenerateMipmap()
|
/external/deqp/framework/delibs/deimage/ |
D | deImage.c | 117 deImage* deImage_scale (const deImage* srcImage, int dstWidth, int dstHeight) in deImage_scale() argument 121 deImage* result = deImage_create(dstWidth, dstHeight, srcImage->format); in deImage_scale() 126 for (x = 0; x < dstWidth; x++) in deImage_scale() 128 float xFloat = ((float)x + 0.5f) / (float)dstWidth * (float)srcImage->width - 0.5f; in deImage_scale()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowBitmap.java | 57 … public static Bitmap createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) { in createScaledBitmap() argument 61 shadowBitmap.appendDescription(" scaled to " + dstWidth + " x " + dstHeight); in createScaledBitmap() 65 shadowBitmap.setWidth(dstWidth); in createScaledBitmap()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBitmap.java | 229 public static Bitmap createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) { in createScaledBitmap() argument 230 if (dstWidth == src.getWidth() && dstHeight == src.getHeight() && !filter) { in createScaledBitmap() 238 shadowBitmap.appendDescription(" scaled to " + dstWidth + " x " + dstHeight); in createScaledBitmap() 245 shadowBitmap.width = dstWidth; in createScaledBitmap()
|