/third_party/skia/docs/examples/ |
D | Alpha_Constants_b.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 8 srcPixels.resize(source.height() * source.rowBytes()); in draw() 10 &srcPixels.front(), source.rowBytes()); in draw() 14 SkPMColor pixel = srcPixels[y * source.width() + x]; in draw() 17 srcPixels[y * source.width() + x] = SK_ColorGREEN; in draw()
|
D | Alpha_Constants_a.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 8 srcPixels.resize(source.height() * source.rowBytes()); in draw() 10 &srcPixels.front(), source.rowBytes()); in draw() 14 int32_t* blockStart = &srcPixels.front() + y * source.width() * 16 + x * 16; in draw() 24 blockStart = &srcPixels.front() + y * source.width() * 16 + x * 16; in draw()
|
D | Bitmap_readPixels_3.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 8 srcPixels.resize(source.height() * source.width() * 8); in draw() 12 &srcPixels.front() + i * source.width(), source.rowBytes() * 2); in draw() 18 &srcPixels.front(), source.rowBytes() * 2); in draw()
|
D | Image_readPixels_2.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 11 srcPixels.resize(image->height() * rowBytes); in draw() 15 &srcPixels.front() + x * image->height() * quarterWidth + in draw() 23 &srcPixels.front(), rowBytes); in draw()
|
D | Bitmap_readPixels_2.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 8 srcPixels.resize(source.height() * source.rowBytes()); in draw() 12 &srcPixels.front() + x * source.height() * source.width() / 4 + in draw() 20 &srcPixels.front(), source.rowBytes()); in draw()
|
D | Color_Constants_d.cpp | 7 std::vector<uint32_t> srcPixels; in draw() local 10 srcPixels.resize(width * height); in draw() 12 SkPixmap pixmap(imageInfo, &srcPixels.front(), imageInfo.minRowBytes()); in draw()
|
D | Color_Constants_b.cpp | 7 std::vector<uint32_t> srcPixels; in draw() local 10 srcPixels.resize(width * height); in draw() 12 SkPixmap pixmap(imageInfo, &srcPixels.front(), imageInfo.minRowBytes()); in draw()
|
D | Color_Constants_c.cpp | 7 std::vector<uint32_t> srcPixels; in draw() local 10 srcPixels.resize(width * height); in draw() 12 SkPixmap pixmap(imageInfo, &srcPixels.front(), imageInfo.minRowBytes()); in draw()
|
D | Pixmap_readPixels_3.cpp | 8 std::vector<int32_t> srcPixels; in draw() local 10 srcPixels.resize(image->height() * rowBytes); in draw() 11 SkPixmap pixmap(info, (const void*) &srcPixels.front(), rowBytes); in draw()
|
D | Bitmap_writePixels.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 10 srcPixels.resize(height * width * 4); in draw() 11 SkPixmap pixmap(SkImageInfo::MakeN32Premul(width, height), (const void*) &srcPixels.front(), in draw()
|
D | Pixmap_readPixels_4.cpp | 8 std::vector<int32_t> srcPixels; in draw() local 10 srcPixels.resize(image->height() * rowBytes); in draw() 11 SkPixmap pixmap(info, (const void*) &srcPixels.front(), rowBytes); in draw()
|
/third_party/flutter/skia/docs/examples/ |
D | Alpha_Constants_b.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 8 srcPixels.resize(source.height() * source.rowBytes()); in draw() 10 &srcPixels.front(), source.rowBytes()); in draw() 14 SkPMColor pixel = srcPixels[y * source.width() + x]; in draw() 17 srcPixels[y * source.width() + x] = SK_ColorGREEN; in draw()
|
D | Alpha_Constants_a.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 8 srcPixels.resize(source.height() * source.rowBytes()); in draw() 10 &srcPixels.front(), source.rowBytes()); in draw() 14 int32_t* blockStart = &srcPixels.front() + y * source.width() * 16 + x * 16; in draw() 24 blockStart = &srcPixels.front() + y * source.width() * 16 + x * 16; in draw()
|
D | Bitmap_readPixels_3.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 8 srcPixels.resize(source.height() * source.width() * 8); in draw() 12 &srcPixels.front() + i * source.width(), source.rowBytes() * 2); in draw() 18 &srcPixels.front(), source.rowBytes() * 2); in draw()
|
D | Bitmap_readPixels_2.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 8 srcPixels.resize(source.height() * source.rowBytes()); in draw() 12 &srcPixels.front() + x * source.height() * source.width() / 4 + in draw() 20 &srcPixels.front(), source.rowBytes()); in draw()
|
D | Image_readPixels_2.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 11 srcPixels.resize(image->height() * rowBytes); in draw() 15 &srcPixels.front() + x * image->height() * quarterWidth + in draw() 23 &srcPixels.front(), rowBytes); in draw()
|
D | Color_Constants_b.cpp | 7 std::vector<uint32_t> srcPixels; in draw() local 10 srcPixels.resize(width * height); in draw() 12 SkPixmap pixmap(imageInfo, &srcPixels.front(), imageInfo.minRowBytes()); in draw()
|
D | Color_Constants_c.cpp | 7 std::vector<uint32_t> srcPixels; in draw() local 10 srcPixels.resize(width * height); in draw() 12 SkPixmap pixmap(imageInfo, &srcPixels.front(), imageInfo.minRowBytes()); in draw()
|
D | Color_Constants_d.cpp | 7 std::vector<uint32_t> srcPixels; in draw() local 10 srcPixels.resize(width * height); in draw() 12 SkPixmap pixmap(imageInfo, &srcPixels.front(), imageInfo.minRowBytes()); in draw()
|
D | Bitmap_writePixels.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 10 srcPixels.resize(height * width * 4); in draw() 11 SkPixmap pixmap(SkImageInfo::MakeN32Premul(width, height), (const void*) &srcPixels.front(), in draw()
|
D | Image_scalePixels.cpp | 7 std::vector<int32_t> srcPixels; in draw() local 11 srcPixels.resize(quarterHeight * rowBytes); in draw() 13 &srcPixels.front(), rowBytes); in draw()
|
D | Pixmap_readPixels_4.cpp | 8 std::vector<int32_t> srcPixels; in draw() local 10 srcPixels.resize(image->height() * rowBytes); in draw() 11 SkPixmap pixmap(info, (const void*) &srcPixels.front(), rowBytes); in draw()
|
D | Pixmap_readPixels_2.cpp | 8 std::vector<int32_t> srcPixels; in draw() local 10 srcPixels.resize(image->height() * rowBytes); in draw() 11 SkPixmap pixmap(info, (const void*) &srcPixels.front(), rowBytes); in draw()
|
/third_party/flutter/skia/src/core/ |
D | SkConvertPixels.cpp | 18 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in rect_memcpy() argument 30 srcPixels, srcRB, dstInfo.minRowBytes(), dstInfo.height()); in rect_memcpy() 35 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in swizzle_or_premul() argument 63 fn((uint32_t*)dstPixels, (const uint32_t*)srcPixels, dstInfo.width()); in swizzle_or_premul() 65 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in swizzle_or_premul() 182 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB) { in SkConvertPixels() argument 190 if (fn(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, srcRB, steps)) { in SkConvertPixels() 194 convert_with_pipeline(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, srcRB, steps); in SkConvertPixels()
|
/third_party/skia/src/core/ |
D | SkConvertPixels.cpp | 18 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in rect_memcpy() argument 30 srcPixels, srcRB, dstInfo.minRowBytes(), dstInfo.height()); in rect_memcpy() 35 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in swizzle_or_premul() argument 63 fn((uint32_t*)dstPixels, (const uint32_t*)srcPixels, dstInfo.width()); in swizzle_or_premul() 65 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in swizzle_or_premul() 223 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB) { in SkConvertPixels() argument 238 if (fn(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, srcRB, steps)) { in SkConvertPixels() 242 convert_with_pipeline(dstInfo, dstPixels, dstStride, srcInfo, srcPixels, srcStride, steps); in SkConvertPixels()
|