/external/skqp/src/core/ |
D | SkConvertPixels.cpp | 17 static bool rect_memcpy(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in rect_memcpy() argument 29 SkRectMemcpy(dstPixels, dstRB, in rect_memcpy() 34 static bool swizzle_or_premul(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in swizzle_or_premul() argument 63 fn((uint32_t*)dstPixels, (const uint32_t*)srcPixels, dstInfo.width()); in swizzle_or_premul() 64 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in swizzle_or_premul() 193 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in SkConvertPixels() argument 202 if (fn(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, srcRB, steps)) { in SkConvertPixels() 206 convert_with_pipeline(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, srcRB, steps); in SkConvertPixels()
|
D | SkBlurMask.cpp | 564 uint8_t* dstPixels = SkMask::AllocImage(dstSize); in BlurGroundTruth() local 565 SkAutoMaskFreeImage autoFreeDstPixels(dstPixels); in BlurGroundTruth() 619 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth() 625 dst->fImage = dstPixels; in BlurGroundTruth() 631 dstPixels + pad*dst->fRowBytes + pad, dst->fRowBytes, in BlurGroundTruth() 637 dstPixels + pad*dst->fRowBytes + pad, dst->fRowBytes, in BlurGroundTruth() 650 dstPixels + pad*dst->fRowBytes + pad, in BlurGroundTruth() 652 SkMask::FreeImage(dstPixels); in BlurGroundTruth()
|
D | SkConvertPixels.h | 16 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/external/skia/docs/examples/ |
D | Image_readPixels.cpp | 10 std::vector<int32_t> dstPixels; in draw() local 11 dstPixels.resize(height * width * 4); in draw() 15 if (image->readPixels(nullptr, info, &dstPixels.front(), width * 4, x, y)) { in draw() 16 SkPixmap dstPixmap(info, &dstPixels.front(), width * 4); in draw()
|
D | Pixmap_readPixels_2.cpp | 14 std::vector<int32_t> dstPixels; in draw() local 15 dstPixels.resize(image->height() * rowBytes); in draw() 16 pixmap.readPixels(info, &dstPixels.front(), rowBytes, offset, 0); in draw() 18 SkPixmap dstmap(info, &dstPixels.front(), rowBytes); in draw()
|
D | Bitmap_readPixels.cpp | 21 std::vector<int16_t> dstPixels; in draw() local 22 dstPixels.resize(height * width); in draw() 23 bitmap.readPixels(dstInfo, &dstPixels.front(), width * 2, 0, 0); in draw() 24 SkPixmap dstPixmap(dstInfo, &dstPixels.front(), width * 2); in draw()
|
D | Pixmap_readPixels.cpp | 23 std::vector<int32_t> dstPixels; in draw() local 24 dstPixels.resize(height * width * 2); in draw() 26 srcPixmap.readPixels(dstInfo, &dstPixels.front(), width * 2); in draw() 27 SkPixmap dstPixmap(dstInfo, &dstPixels.front(), width * 2); in draw()
|
D | Pixmap_readPixels_4.cpp | 14 std::vector<int32_t> dstPixels; in draw() local 15 dstPixels.resize(image->height() * rowBytes); in draw() 16 SkPixmap dstmap(info, &dstPixels.front(), rowBytes); in draw()
|
D | Pixmap_readPixels_3.cpp | 14 std::vector<int32_t> dstPixels; in draw() local 15 dstPixels.resize(image->height() * rowBytes); in draw() 16 SkPixmap dstmap(info, &dstPixels.front(), rowBytes); in draw()
|
D | Pixmap_scalePixels.cpp | 16 std::vector<int32_t> dstPixels; in draw() local 17 dstPixels.resize(image->height() * rowBytes); in draw() 18 SkPixmap dstmap(info, &dstPixels.front(), rowBytes); in draw()
|
/external/skia/src/core/ |
D | SkConvertPixels.cpp | 17 static bool rect_memcpy(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in rect_memcpy() argument 29 SkRectMemcpy(dstPixels, dstRB, in rect_memcpy() 34 static bool swizzle_or_premul(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in swizzle_or_premul() argument 63 fn((uint32_t*)dstPixels, (const uint32_t*)srcPixels, dstInfo.width()); in swizzle_or_premul() 64 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in swizzle_or_premul() 221 bool SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in SkConvertPixels() argument 237 if (fn(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, srcRB, steps)) { in SkConvertPixels() 241 convert_with_pipeline(dstInfo, dstPixels, dstStride, srcInfo, srcPixels, srcStride, steps); in SkConvertPixels()
|
D | SkBlurMask.cpp | 559 uint8_t* dstPixels = SkMask::AllocImage(dstSize); in BlurGroundTruth() local 560 SkAutoMaskFreeImage autoFreeDstPixels(dstPixels); in BlurGroundTruth() 614 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth() 620 dst->fImage = dstPixels; in BlurGroundTruth() 626 dstPixels + pad*dst->fRowBytes + pad, dst->fRowBytes, in BlurGroundTruth() 632 dstPixels + pad*dst->fRowBytes + pad, dst->fRowBytes, in BlurGroundTruth() 645 dstPixels + pad*dst->fRowBytes + pad, in BlurGroundTruth() 647 SkMask::FreeImage(dstPixels); in BlurGroundTruth()
|
D | SkConvertPixels.h | 17 const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/external/skqp/tests/ |
D | CopySurfaceTest.cpp | 40 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 42 dstPixels.get()[i] = ~i; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 81 dstPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 172 uint32_t d = dstPixels.get()[y * kW + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | BitmapCopyTest.cpp | 175 SkPMColor dstPixels[16]; in DEF_TEST() local 193 clear_4x4_pixels(dstPixels); in DEF_TEST() 197 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes, in DEF_TEST() 208 SkPMColor dstC = dstPixels[y*4+x]; in DEF_TEST()
|
/external/skia/tests/ |
D | CopySurfaceTest.cpp | 45 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 47 dstPixels.get()[i] = ~i; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 82 GrPixmap dstPM(ii, dstPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 189 uint32_t d = dstPixels.get()[y * kW + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | BitmapCopyTest.cpp | 171 SkPMColor dstPixels[16]; in DEF_TEST() local 189 clear_4x4_pixels(dstPixels); in DEF_TEST() 192 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes, in DEF_TEST() 203 SkPMColor dstC = dstPixels[y*4+x]; in DEF_TEST()
|
/external/skqp/fuzz/ |
D | FuzzEncoders.cpp | 90 std::vector<int32_t> dstPixels; in DEF_FUZZ() local 92 dstPixels.resize(img->height() * rowBytes); in DEF_FUZZ() 94 &dstPixels.front(), rowBytes); in DEF_FUZZ()
|
/external/skia/fuzz/ |
D | FuzzEncoders.cpp | 90 std::vector<int32_t> dstPixels; in DEF_FUZZ() local 92 dstPixels.resize(img->height() * rowBytes); in DEF_FUZZ() 94 &dstPixels.front(), rowBytes); in DEF_FUZZ()
|
/external/skqp/docs/ |
D | SkPixmap_Reference.bmh | 1222 #Method bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const 1249 std::vector<int32_t> dstPixels; 1250 dstPixels.resize(height * width * 2); 1252 srcPixmap.readPixels(dstInfo, &dstPixels.front(), width * 2); 1253 SkPixmap dstPixmap(dstInfo, &dstPixels.front(), width * 2); 1264 #Method bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, 1267 Copies a Rect of pixels to dstPixels. Copy starts at (srcX, srcY), and does not 1288 #Param dstPixels destination pixel storage ## 1293 #Return true if pixels are copied to dstPixels ## 1305 std::vector<int32_t> dstPixels; [all …]
|
/external/skqp/include/core/ |
D | SkPixmap.h | 560 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() argument 561 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels() 590 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX,
|
/external/skia/include/core/ |
D | SkPixmap.h | 563 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() argument 564 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels() 593 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX,
|
/external/skqp/gm/ |
D | encode-alpha-jpeg.cpp | 17 static inline void read_into_pixmap(SkPixmap* dst, SkImageInfo dstInfo, void* dstPixels, in read_into_pixmap() argument 19 dst->reset(dstInfo, dstPixels, dstInfo.minRowBytes()); in read_into_pixmap()
|
/external/skia/gm/ |
D | encode_alpha_jpeg.cpp | 26 static inline void read_into_pixmap(SkPixmap* dst, SkImageInfo dstInfo, void* dstPixels, in read_into_pixmap() argument 28 dst->reset(dstInfo, dstPixels, dstInfo.minRowBytes()); in read_into_pixmap()
|
/external/skia/src/gpu/ |
D | GrDataUtils.h | 51 void GrTwoColorBC1Compress(const SkPixmap& pixmap, SkColor otherColor, char* dstPixels);
|