/external/skia/src/core/ |
H A D | SkConvertPixels.cpp | 56 void swizzle_and_multiply(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 85 proc((uint32_t*) dstPixels, srcPixels, dstInfo.width()); 86 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); 122 static inline void apply_color_xform(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 156 SkAssertResult(xform->apply(dstFormat, dstPixels, srcFormat, srcPixels, dstInfo.width(), 158 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); 348 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 356 SkRectMemcpy(dstPixels, dstR [all...] |
H A D | SkConvertPixels.h | 16 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/external/skqp/src/core/ |
H A D | SkConvertPixels.cpp | 56 void swizzle_and_multiply(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 85 proc((uint32_t*) dstPixels, srcPixels, dstInfo.width()); 86 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); 122 static inline void apply_color_xform(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 156 SkAssertResult(xform->apply(dstFormat, dstPixels, srcFormat, srcPixels, dstInfo.width(), 158 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); 348 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 356 SkRectMemcpy(dstPixels, dstR [all...] |
H A D | SkConvertPixels.h | 16 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/external/skia/tests/ |
H A D | ColorSpaceXformTest.cpp | 79 uint32_t dstPixels[width]; local 83 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels, 92 SkGetPackedB32(dstPixels[i]))); 94 SkGetPackedG32(dstPixels[i]))); 96 SkGetPackedR32(dstPixels[i]))); 98 SkGetPackedA32(dstPixels[i]))); 115 uint32_t dstPixels[width]; local 119 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels, 128 SkGetPackedB32(dstPixels[i]), tol)); 130 SkGetPackedG32(dstPixels[ [all...] |
H A D | CopySurfaceTest.cpp | 39 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); 41 dstPixels.get()[i] = ~i; 81 dstDesc, SkBudgeted::kNo, dstPixels.get(), kRowBytes); 152 uint32_t d = dstPixels.get()[y * kW + x];
|
H A D | BitmapCopyTest.cpp | 169 SkPMColor dstPixels[16]; 187 clear_4x4_pixels(dstPixels); 191 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes, 202 SkPMColor dstC = dstPixels[y*4+x];
|
/external/skqp/tests/ |
H A D | ColorSpaceXformTest.cpp | 79 uint32_t dstPixels[width]; local 83 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels, 92 SkGetPackedB32(dstPixels[i]))); 94 SkGetPackedG32(dstPixels[i]))); 96 SkGetPackedR32(dstPixels[i]))); 98 SkGetPackedA32(dstPixels[i]))); 115 uint32_t dstPixels[width]; local 119 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels, 128 SkGetPackedB32(dstPixels[i]), tol)); 130 SkGetPackedG32(dstPixels[ [all...] |
H A D | CopySurfaceTest.cpp | 39 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); 41 dstPixels.get()[i] = ~i; 81 dstDesc, SkBudgeted::kNo, dstPixels.get(), kRowBytes); 152 uint32_t d = dstPixels.get()[y * kW + x];
|
H A D | BitmapCopyTest.cpp | 169 SkPMColor dstPixels[16]; 187 clear_4x4_pixels(dstPixels); 191 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes, 202 SkPMColor dstC = dstPixels[y*4+x];
|
/external/skia/include/core/ |
H A D | SkPixmap.h | 516 /** Copies a SkRect of pixels to dstPixels. Copy starts at (srcX, srcY), and does not 541 @param dstPixels destination pixel storage 547 @return true if pixels are copied to dstPixels 549 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 552 /** Copies a SkRect of pixels to dstPixels. Copy starts at (0, 0), and does not 570 @param dstPixels destination pixel storage 572 @return true if pixels are copied to dstPixels 574 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { argument 575 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); 578 /** Copies a SkRect of pixels to dstPixels 604 readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, int srcY) const argument [all...] |
H A D | SkBitmap.h | 914 /** Copies SkRect of pixels from SkBitmap pixels to dstPixels. Copy starts at (srcX, srcY), 941 @param dstPixels destination pixel storage 947 @return true if pixels are copied to dstPixels 949 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 952 /** Copies a SkRect of pixels from SkBitmap to dstPixels. Copy starts at (srcX, srcY), 974 @param dstPixels destination pixel storage 978 @return true if pixels are copied to dstPixels 980 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument 982 return this->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY,
|
/external/skqp/include/core/ |
H A D | SkPixmap.h | 523 /** Copies a SkRect of pixels to dstPixels. Copy starts at (srcX, srcY), and does not 548 @param dstPixels destination pixel storage 554 @return true if pixels are copied to dstPixels 556 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 559 /** Copies a SkRect of pixels to dstPixels. Copy starts at (0, 0), and does not 577 @param dstPixels destination pixel storage 579 @return true if pixels are copied to dstPixels 581 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { argument 582 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); 585 /** Copies a SkRect of pixels to dstPixels 611 readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, int srcY) const argument [all...] |
H A D | SkBitmap.h | 924 /** Copies a SkRect of pixels to dstPixels. Copy starts at (srcX, srcY), and does not exceed 951 @param dstPixels destination pixel storage 957 @return true if pixels are copied to dstPixels 959 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 962 /** Copies a SkRect of pixels to dstPixels. Copy starts at (srcX, srcY), and does not exceed 984 @param dstPixels destination pixel storage 988 @return true if pixels are copied to dstPixels 990 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument 992 return this->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY,
|
/external/skia/include/utils/mac/ |
H A D | SkCGUtils.h | 45 * Copy the pixels from src into the memory specified by info/rowBytes/dstPixels. On failure, 48 SK_API bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* dstPixels,
|
/external/skia/src/image/ |
H A D | SkImage_Gpu.h | 55 bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes,
|
H A D | SkImage_Base.h | 44 virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/external/skqp/include/utils/mac/ |
H A D | SkCGUtils.h | 45 * Copy the pixels from src into the memory specified by info/rowBytes/dstPixels. On failure, 48 SK_API bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* dstPixels,
|
/external/skqp/src/image/ |
H A D | SkImage_Gpu.h | 55 bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes,
|
H A D | SkImage_Base.h | 44 virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
H A D | SkSurface.cpp | 177 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument 179 return this->readPixels({dstInfo, dstPixels, dstRowBytes}, srcX, srcY);
|
/external/skia/gm/ |
H A D | encode-alpha-jpeg.cpp | 17 static inline void read_into_pixmap(SkPixmap* dst, SkImageInfo dstInfo, void* dstPixels, argument 19 dst->reset(dstInfo, dstPixels, dstInfo.minRowBytes());
|
/external/skqp/gm/ |
H A D | encode-alpha-jpeg.cpp | 16 static inline void read_into_pixmap(SkPixmap* dst, SkImageInfo dstInfo, void* dstPixels, argument 18 dst->reset(dstInfo, dstPixels, dstInfo.minRowBytes());
|
/external/skia/src/effects/ |
H A D | SkBlurMask.cpp | 448 uint8_t* dstPixels = SkMask::AllocImage(dstSize); local 449 SkAutoTCallVProc<uint8_t, SkMask_FreeImage> autoCall(dstPixels); 503 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output 509 dst->fImage = dstPixels; 521 dstPixels + pad*dst->fRowBytes + pad, 523 SkMask::FreeImage(dstPixels); 525 clamp_with_orig(dstPixels + pad*dst->fRowBytes + pad,
|
/external/skqp/src/effects/ |
H A D | SkBlurMask.cpp | 446 uint8_t* dstPixels = SkMask::AllocImage(dstSize); local 447 SkAutoTCallVProc<uint8_t, SkMask_FreeImage> autoCall(dstPixels); 501 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output 507 dst->fImage = dstPixels; 519 dstPixels + pad*dst->fRowBytes + pad, 521 SkMask::FreeImage(dstPixels); 523 clamp_with_orig(dstPixels + pad*dst->fRowBytes + pad,
|