Home
last modified time | relevance | path

Searched refs:srcPixels (Results 1 – 25 of 49) sorted by relevance

12

/third_party/skia/docs/examples/
DAlpha_Constants_b.cpp7 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()
DAlpha_Constants_a.cpp7 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()
DBitmap_readPixels_3.cpp7 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()
DImage_readPixels_2.cpp7 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()
DBitmap_readPixels_2.cpp7 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()
DColor_Constants_d.cpp7 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()
DColor_Constants_b.cpp7 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()
DColor_Constants_c.cpp7 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()
DPixmap_readPixels_4.cpp8 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()
DImage_scalePixels.cpp7 std::vector<int32_t> srcPixels; in draw() local
11 srcPixels.resize(quarterHeight * rowBytes); in draw()
13 &srcPixels.front(), rowBytes); in draw()
DPixmap_readPixels_3.cpp8 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/
DSkConvertPixels.cpp18 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/flutter/skia/docs/examples/
DAlpha_Constants_b.cpp7 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()
DAlpha_Constants_a.cpp7 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()
DBitmap_readPixels_3.cpp7 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()
DBitmap_readPixels_2.cpp7 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()
DImage_readPixels_2.cpp7 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()
DColor_Constants_b.cpp7 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()
DColor_Constants_d.cpp7 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()
DColor_Constants_c.cpp7 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()
DBitmap_writePixels.cpp7 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()
DImage_scalePixels.cpp7 std::vector<int32_t> srcPixels; in draw() local
11 srcPixels.resize(quarterHeight * rowBytes); in draw()
13 &srcPixels.front(), rowBytes); in draw()
DPixmap_readPixels_4.cpp8 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()
DPixmap_readPixels_2.cpp8 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/skia/src/core/
DSkConvertPixels.cpp18 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()

12