Searched refs:dstPixels (Results 1 - 25 of 48) sorted by relevance

12

/external/skia/src/core/
H A DSkConvertPixels.cpp56 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 DSkConvertPixels.h16 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
/external/skqp/src/core/
H A DSkConvertPixels.cpp56 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 DSkConvertPixels.h16 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
/external/skia/tests/
H A DColorSpaceXformTest.cpp79 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 DCopySurfaceTest.cpp39 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 DBitmapCopyTest.cpp169 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 DColorSpaceXformTest.cpp79 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 DCopySurfaceTest.cpp39 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 DBitmapCopyTest.cpp169 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 DSkPixmap.h516 /** 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 DSkBitmap.h914 /** 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 DSkPixmap.h523 /** 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 DSkBitmap.h924 /** 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 DSkCGUtils.h45 * 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 DSkImage_Gpu.h55 bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes,
H A DSkImage_Base.h44 virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
/external/skqp/include/utils/mac/
H A DSkCGUtils.h45 * 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 DSkImage_Gpu.h55 bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes,
H A DSkImage_Base.h44 virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
H A DSkSurface.cpp177 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 Dencode-alpha-jpeg.cpp17 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 Dencode-alpha-jpeg.cpp16 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 DSkBlurMask.cpp448 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 DSkBlurMask.cpp446 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,

Completed in 637 milliseconds

12