/third_party/flutter/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 | 250 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local 256 dstWidth = fSwizzler->swizzleWidth(); in readRows() 265 dstWidth = fSwizzler->swizzleWidth(); in readRows() 278 this->applyColorXform(dst, swizzleDst, dstWidth); in readRows() 406 int dstWidth = dstInfo.width(); in allocateStorage() local 411 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 418 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
|
D | SkSwizzler.h | 106 int dstWidth, int bpp, int deltaSrc, int offset, 112 int dstWidth, int bpp, int deltaSrc, int offset, 214 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() 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); in readRows() 618 int dstWidth = dstInfo.width(); in allocateStorage() local 623 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 630 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
|
/third_party/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 | 251 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local 257 dstWidth = fSwizzler->swizzleWidth(); in readRows() 266 dstWidth = fSwizzler->swizzleWidth(); in readRows() 279 this->applyColorXform(dst, swizzleDst, dstWidth); in readRows() 401 int dstWidth = dstInfo.width(); in allocateStorage() local 406 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 413 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
|
D | SkSwizzler.h | 106 int dstWidth, int bpp, int deltaSrc, int offset, 112 int dstWidth, int bpp, int deltaSrc, int offset, 214 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP);
|
D | SkJpegCodec.cpp | 412 const unsigned int dstWidth = size.width(); in onDimensionsSupported() local 427 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported() 430 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported() 464 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local 470 dstWidth = fSwizzler->swizzleWidth(); in readRows() 479 dstWidth = fSwizzler->swizzleWidth(); in readRows() 493 this->applyColorXform(dst, swizzleDst, dstWidth); in readRows() 569 int dstWidth = dstInfo.width(); in allocateStorage() local 574 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 581 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
|
/third_party/mesa3d/src/mesa/main/ |
D | mipmap.c | 178 GLint dstWidth, GLvoid *dstRow) in do_row() argument 180 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row() 181 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row() 195 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 208 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 220 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 231 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 242 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 255 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 267 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() [all …]
|
/third_party/ffmpeg/libswscale/ |
D | hscale_fast_bilinear.c | 23 void ff_hyscale_fast_c(SwsContext *c, int16_t *dst, int dstWidth, in ff_hyscale_fast_c() argument 28 for (i = 0; i < dstWidth; i++) { in ff_hyscale_fast_c() 34 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) in ff_hyscale_fast_c() 39 int dstWidth, const uint8_t *src1, in ff_hcscale_fast_c() argument 44 for (i = 0; i < dstWidth; i++) { in ff_hcscale_fast_c() 51 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) { in ff_hcscale_fast_c()
|
D | swscale_internal.h | 572 int16_t *dst, int dstWidth, 575 int16_t *dst1, int16_t *dst2, int dstWidth, 890 void ff_hyscale_fast_c(SwsContext *c, int16_t *dst, int dstWidth, 893 int dstWidth, const uint8_t *src1, 899 int dstWidth, const uint8_t *src, 902 int dstWidth, const uint8_t *src1,
|
/third_party/flutter/skia/src/effects/ |
D | SkTableMaskFilter.cpp | 65 int dstWidth = dst->fBounds.width(); in filterMask() local 66 int extraZeros = dst->fRowBytes - dstWidth; in filterMask() 69 for (int x = dstWidth - 1; x >= 0; --x) { in filterMask() 77 dstP += dstWidth; in filterMask()
|
/third_party/skia/src/effects/ |
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()
|
/third_party/skia/src/core/ |
D | SkBlurMask.cpp | 442 int dstWidth = dst->fBounds.width(); in BlurRect() local 446 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); in BlurRect() 449 ComputeBlurredScanline(horizontalScanline, profile, dstWidth, sigma); in BlurRect() 453 for (int x = 0 ; x < dstWidth ; x++) { in BlurRect() 467 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect() 478 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect() 483 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect() 556 int dstWidth = dst->fBounds.width(); in BlurGroundTruth() local 614 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth()
|
D | SkImageInfo.cpp | 183 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument 194 if (!dstR.intersect({0, 0, dstWidth, dstHeight})) { in trim()
|
/third_party/flutter/skia/src/core/ |
D | SkBlurMask.cpp | 444 int dstWidth = dst->fBounds.width(); in BlurRect() local 448 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); in BlurRect() 451 ComputeBlurredScanline(horizontalScanline, profile, dstWidth, sigma); in BlurRect() 455 for (int x = 0 ; x < dstWidth ; x++) { in BlurRect() 469 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect() 483 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect() 488 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect() 561 int dstWidth = dst->fBounds.width(); in BlurGroundTruth() local 619 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth()
|
D | SkImageInfo.cpp | 141 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument 152 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) { in trim()
|
/third_party/vk-gl-cts/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()
|
/third_party/ffmpeg/libswscale/x86/ |
D | hscale_fast_bilinear_simd.c | 193 int dstWidth, const uint8_t *src, in ff_hyscale_fast_mmxext() argument 278 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) in ff_hyscale_fast_mmxext() 283 int dstWidth, const uint8_t *src1, in ff_hcscale_fast_mmxext() argument 355 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) { in ff_hcscale_fast_mmxext()
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 176 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 178 for (int x = 0; x < dstWidth; ++x) { in onFilterImage() 179 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset; in onFilterImage()
|
D | SkAlphaThresholdFilter.cpp | 228 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 233 for (int x = 0; x < dstWidth; ++x) { in onFilterImage() 259 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 235 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 237 for (int x = 0; x < dstWidth; ++x) { in onFilterImage() 238 SkScalar x_dist = std::min(x, dstWidth - x - 1) * invInset; in onFilterImage()
|
D | SkAlphaThresholdImageFilter.cpp | 265 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 270 for (int x = 0; x < dstWidth; ++x) { in onFilterImage() 296 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
|
/third_party/flutter/skia/src/ports/skia_ohos/ |
D | FontConfig_ohos.cpp | 248 int dstWidth = dstStyle.width(); in getFontStyleDifference() local 257 if (dstWidth <= normalWidth) { in getFontStyleDifference() 258 if (srcWidth <= dstWidth) { in getFontStyleDifference() 259 widthDiff = dstWidth - srcWidth; in getFontStyleDifference() 261 widthDiff = srcWidth - dstWidth + 5; in getFontStyleDifference() 264 if (srcWidth >= dstWidth) { in getFontStyleDifference() 265 widthDiff = srcWidth - dstWidth; in getFontStyleDifference() 267 widthDiff = dstWidth - srcWidth + 5; in getFontStyleDifference()
|
/third_party/skia/src/ports/skia_ohos/ |
D | FontConfig_ohos.cpp | 243 int dstWidth = dstStyle.width(); in getFontStyleDifference() local 252 if (dstWidth <= normalWidth) { in getFontStyleDifference() 253 if (srcWidth <= dstWidth) { in getFontStyleDifference() 254 widthDiff = dstWidth - srcWidth; in getFontStyleDifference() 256 widthDiff = srcWidth - dstWidth + 5; in getFontStyleDifference() 259 if (srcWidth >= dstWidth) { in getFontStyleDifference() 260 widthDiff = srcWidth - dstWidth; in getFontStyleDifference() 262 widthDiff = dstWidth - srcWidth + 5; in getFontStyleDifference()
|