/external/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()
|
D | SkBlurMask.cpp | 563 const uint8_t* srcPixels = src.fImage; in BlurGroundTruth() local 579 const uint8_t* srcptr = srcPixels + y * srcWidth; in BlurGroundTruth() 632 SkMask::AlphaIter<SkMask::kA8_Format>(srcPixels), src.fRowBytes, in BlurGroundTruth() 638 SkMask::AlphaIter<SkMask::kA8_Format>(srcPixels), src.fRowBytes, in BlurGroundTruth() 649 SkMask::AlphaIter<SkMask::kA8_Format>(srcPixels), src.fRowBytes, in BlurGroundTruth()
|
D | SkConvertPixels.h | 17 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes);
|
D | SkPixmap.cpp | 146 const void* srcPixels = this->addr(rec.fX, rec.fY); in readPixels() local 148 SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, this->rowBytes()); in readPixels()
|
/external/skqp/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() 194 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB) { 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 | 563 const uint8_t* srcPixels = src.fImage; in BlurGroundTruth() local 579 const uint8_t* srcptr = srcPixels + y * srcWidth; in BlurGroundTruth() 632 SkMask::AlphaIter<SkMask::kA8_Format>(srcPixels), src.fRowBytes, in BlurGroundTruth() 638 SkMask::AlphaIter<SkMask::kA8_Format>(srcPixels), src.fRowBytes, in BlurGroundTruth() 649 SkMask::AlphaIter<SkMask::kA8_Format>(srcPixels), src.fRowBytes, in BlurGroundTruth()
|
D | SkConvertPixels.h | 17 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes);
|
D | SkPixmap.cpp | 145 const void* srcPixels = this->addr(rec.fX, rec.fY); in readPixels() local 147 SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, this->rowBytes()); in readPixels()
|
/external/skqp/tests/ |
D | ApplyGammaTest.cpp | 109 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 112 srcPixels.get()[y*kW+x] = SkPreMultiplyARGB(x, y, x, 0xFF); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 117 bm.installPixels(ii, srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 156 uint32_t s = srcPixels.get()[y * kW + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | CopySurfaceTest.cpp | 35 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 37 srcPixels.get()[i] = i; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 78 srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 163 uint32_t s = srcPixels.get()[sy * kW + sx]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | BitmapCopyTest.cpp | 169 SkPMColor srcPixels[16]; in DEF_TEST() local 170 fill_4x4_pixels(srcPixels); in DEF_TEST() 172 srcBM.installPixels(srcInfo, srcPixels, rowBytes); in DEF_TEST()
|
D | ReadPixelsTest.cpp | 616 const void* srcPixels = five_reference_pixels(srcInfo.colorType()); in test_conversion() local 617 SkPixmap srcPixmap(srcInfo, srcPixels, srcInfo.minRowBytes()); in test_conversion()
|
/external/skia/tests/ |
D | ApplyGammaTest.cpp | 109 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 112 srcPixels.get()[y*kW+x] = SkPreMultiplyARGB(x, y, x, 0xFF); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 117 bm.installPixels(ii, srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 156 uint32_t s = srcPixels.get()[y * kW + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | CopySurfaceTest.cpp | 35 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 37 srcPixels.get()[i] = i; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 78 srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 161 uint32_t s = srcPixels.get()[sy * kW + sx]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | BitmapCopyTest.cpp | 169 SkPMColor srcPixels[16]; in DEF_TEST() local 170 fill_4x4_pixels(srcPixels); in DEF_TEST() 172 srcBM.installPixels(srcInfo, srcPixels, rowBytes); in DEF_TEST()
|
D | ReadPixelsTest.cpp | 616 const void* srcPixels = five_reference_pixels(srcInfo.colorType()); in test_conversion() local 617 SkPixmap srcPixmap(srcInfo, srcPixels, srcInfo.minRowBytes()); in test_conversion()
|
/external/skqp/docs/ |
D | SkColor_Reference.bmh | 305 std::vector<int32_t> srcPixels; 306 srcPixels.resize(source.height() * source.rowBytes()); 308 &srcPixels.front(), source.rowBytes()); 312 int32_t* blockStart = &srcPixels.front() + y * source.width() * 16 + x * 16; 322 blockStart = &srcPixels.front() + y * source.width() * 16 + x * 16; 346 std::vector<int32_t> srcPixels; 347 srcPixels.resize(source.height() * source.rowBytes()); 349 &srcPixels.front(), source.rowBytes()); 353 SkPMColor pixel = srcPixels[y * source.width() + x]; 356 srcPixels[y * source.width() + x] = SK_ColorGREEN; [all …]
|
D | SkPixmap_Reference.bmh | 1299 std::vector<int32_t> srcPixels; 1301 srcPixels.resize(image->height() * rowBytes); 1302 SkPixmap pixmap(info, (const void*) &srcPixels.front(), rowBytes); 1353 std::vector<int32_t> srcPixels; 1355 srcPixels.resize(image->height() * rowBytes); 1356 SkPixmap pixmap(info, (const void*) &srcPixels.front(), rowBytes); 1384 std::vector<int32_t> srcPixels; 1386 srcPixels.resize(image->height() * rowBytes); 1387 SkPixmap pixmap(info, (const void*) &srcPixels.front(), rowBytes); 1418 std::vector<int32_t> srcPixels; [all …]
|
D | SkBitmap_Reference.bmh | 2328 std::vector<int32_t> srcPixels; 2329 srcPixels.resize(source.height() * source.rowBytes()); 2333 &srcPixels.front() + x * source.height() * source.width() / 4 + 2341 &srcPixels.front(), source.rowBytes()); 2379 std::vector<int32_t> srcPixels; 2380 srcPixels.resize(source.height() * source.width() * 8); 2384 &srcPixels.front() + i * source.width(), source.rowBytes() * 2); 2390 &srcPixels.front(), source.rowBytes() * 2); 2434 std::vector<int32_t> srcPixels; 2437 srcPixels.resize(height * width * 4); [all …]
|
D | SkImage_Reference.bmh | 1307 std::vector<int32_t> srcPixels; 1311 srcPixels.resize(image->height() * rowBytes); 1315 &srcPixels.front() + x * image->height() * quarterWidth + 1323 &srcPixels.front(), rowBytes); 1342 std::vector<int32_t> srcPixels; 1346 srcPixels.resize(quarterHeight * rowBytes); 1348 &srcPixels.front(), rowBytes);
|
/external/skia/docs/ |
D | SkColor_Reference.bmh | 305 std::vector<int32_t> srcPixels; 306 srcPixels.resize(source.height() * source.rowBytes()); 308 &srcPixels.front(), source.rowBytes()); 312 int32_t* blockStart = &srcPixels.front() + y * source.width() * 16 + x * 16; 322 blockStart = &srcPixels.front() + y * source.width() * 16 + x * 16; 346 std::vector<int32_t> srcPixels; 347 srcPixels.resize(source.height() * source.rowBytes()); 349 &srcPixels.front(), source.rowBytes()); 353 SkPMColor pixel = srcPixels[y * source.width() + x]; 356 srcPixels[y * source.width() + x] = SK_ColorGREEN; [all …]
|
D | SkPixmap_Reference.bmh | 1299 std::vector<int32_t> srcPixels; 1301 srcPixels.resize(image->height() * rowBytes); 1302 SkPixmap pixmap(info, (const void*) &srcPixels.front(), rowBytes); 1353 std::vector<int32_t> srcPixels; 1355 srcPixels.resize(image->height() * rowBytes); 1356 SkPixmap pixmap(info, (const void*) &srcPixels.front(), rowBytes); 1384 std::vector<int32_t> srcPixels; 1386 srcPixels.resize(image->height() * rowBytes); 1387 SkPixmap pixmap(info, (const void*) &srcPixels.front(), rowBytes); 1418 std::vector<int32_t> srcPixels; [all …]
|
D | SkBitmap_Reference.bmh | 2328 std::vector<int32_t> srcPixels; 2329 srcPixels.resize(source.height() * source.rowBytes()); 2333 &srcPixels.front() + x * source.height() * source.width() / 4 + 2341 &srcPixels.front(), source.rowBytes()); 2379 std::vector<int32_t> srcPixels; 2380 srcPixels.resize(source.height() * source.width() * 8); 2384 &srcPixels.front() + i * source.width(), source.rowBytes() * 2); 2390 &srcPixels.front(), source.rowBytes() * 2); 2434 std::vector<int32_t> srcPixels; 2437 srcPixels.resize(height * width * 4); [all …]
|
D | SkImage_Reference.bmh | 1287 std::vector<int32_t> srcPixels; 1291 srcPixels.resize(image->height() * rowBytes); 1295 &srcPixels.front() + x * image->height() * quarterWidth + 1303 &srcPixels.front(), rowBytes); 1322 std::vector<int32_t> srcPixels; 1326 srcPixels.resize(quarterHeight * rowBytes); 1328 &srcPixels.front(), rowBytes);
|