Home
last modified time | relevance | path

Searched refs:srcImg (Results 1 – 10 of 10) sorted by relevance

/external/skia/gm/
Dencode-alpha-jpeg.cpp46 sk_sp<SkImage> srcImg = GetResourceAsImage("images/rainbow-gradient.png"); in onDraw() local
47 if (!srcImg) { in onDraw()
52 fStorage.reset(srcImg->width() * srcImg->height() * in onDraw()
56 SkImageInfo info = SkImageInfo::MakeN32Premul(srcImg->width(), srcImg->height(), in onDraw()
58 read_into_pixmap(&src, info, fStorage.get(), srcImg); in onDraw()
68 read_into_pixmap(&src, info, fStorage.get(), srcImg); in onDraw()
75 info = SkImageInfo::Make(srcImg->width(), srcImg->height(), kRGBA_F16_SkColorType, in onDraw()
77 read_into_pixmap(&src, info, fStorage.get(), srcImg); in onDraw()
85 read_into_pixmap(&src, info, fStorage.get(), srcImg); in onDraw()
/external/skqp/gm/
Dencode-alpha-jpeg.cpp46 sk_sp<SkImage> srcImg = GetResourceAsImage("images/rainbow-gradient.png"); in onDraw() local
47 if (!srcImg) { in onDraw()
50 fStorage.reset(srcImg->width() * srcImg->height() * in onDraw()
54 SkImageInfo info = SkImageInfo::MakeN32Premul(srcImg->width(), srcImg->height(), in onDraw()
56 read_into_pixmap(&src, info, fStorage.get(), srcImg); in onDraw()
66 read_into_pixmap(&src, info, fStorage.get(), srcImg); in onDraw()
74 info = SkImageInfo::Make(srcImg->width(), srcImg->height(), kRGBA_F16_SkColorType, in onDraw()
76 read_into_pixmap(&src, info, fStorage.get(), srcImg); in onDraw()
84 read_into_pixmap(&src, info, fStorage.get(), srcImg); in onDraw()
/external/llvm/test/CodeGen/Hexagon/
Dswp-epilog-reuse.ll7 define void @test(float* noalias %srcImg, i32 %width, float* noalias %dstImg) {
16 %add.ptr367 = getelementptr inbounds float, float* %srcImg, i32 undef
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dswp-epilog-reuse.ll7 define void @test(float* noalias %srcImg, i32 %width, float* noalias %dstImg) {
16 %add.ptr367 = getelementptr inbounds float, float* %srcImg, i32 undef
/external/skqp/tests/
DImageFilterTest.cpp538 sk_sp<SkSpecialImage> srcImg(create_empty_special_image(context, 100)); in test_crop_rects() local
539 SkASSERT(srcImg); in test_crop_rects()
552 sk_sp<SkSpecialImage> resultImg(filter->filterImage(srcImg.get(), ctx, &offset)); in test_crop_rects()
978 sk_sp<SkSpecialImage> srcImg(create_empty_special_image(context, 1)); in test_imagefilter_merge_result_size() local
985 sk_sp<SkSpecialImage> resultImg(merge->filterImage(srcImg.get(), ctx, &offset)); in test_imagefilter_merge_result_size()
1145 sk_sp<SkSpecialImage> srcImg(create_empty_special_image(context, 100)); in test_big_kernel() local
1146 SkASSERT(srcImg); in test_big_kernel()
1151 sk_sp<SkSpecialImage> resultImg(filter->filterImage(srcImg.get(), ctx, &offset)); in test_big_kernel()
1216 sk_sp<SkSpecialImage> srcImg(create_empty_special_image(context, 2)); in test_clipped_picture_imagefilter() local
1224 sk_sp<SkSpecialImage> resultImage(imageFilter->filterImage(srcImg.get(), ctx, &offset)); in test_clipped_picture_imagefilter()
[all …]
/external/skia/tests/
DImageFilterTest.cpp538 sk_sp<SkSpecialImage> srcImg(create_empty_special_image(context, 100)); in test_crop_rects() local
539 SkASSERT(srcImg); in test_crop_rects()
552 sk_sp<SkSpecialImage> resultImg(filter->filterImage(srcImg.get(), ctx, &offset)); in test_crop_rects()
976 sk_sp<SkSpecialImage> srcImg(create_empty_special_image(context, 1)); in test_imagefilter_merge_result_size() local
983 sk_sp<SkSpecialImage> resultImg(merge->filterImage(srcImg.get(), ctx, &offset)); in test_imagefilter_merge_result_size()
1143 sk_sp<SkSpecialImage> srcImg(create_empty_special_image(context, 100)); in test_big_kernel() local
1144 SkASSERT(srcImg); in test_big_kernel()
1149 sk_sp<SkSpecialImage> resultImg(filter->filterImage(srcImg.get(), ctx, &offset)); in test_big_kernel()
1214 sk_sp<SkSpecialImage> srcImg(create_empty_special_image(context, 2)); in test_clipped_picture_imagefilter() local
1222 sk_sp<SkSpecialImage> resultImage(imageFilter->filterImage(srcImg.get(), ctx, &offset)); in test_clipped_picture_imagefilter()
[all …]
/external/skia/src/gpu/
DSkGpuDevice.cpp172 sk_sp<SkSpecialImage> SkGpuDevice::filterTexture(SkSpecialImage* srcImg, in filterTexture() argument
176 SkASSERT(srcImg->isTextureBacked()); in filterTexture()
191 return filter->filterImage(srcImg, ctx, offset); in filterTexture()
1021 sk_sp<SkSpecialImage> srcImg = this->makeSpecial(bitmap); in drawSprite() local
1022 if (!srcImg) { in drawSprite()
1026 this->drawSpecial(srcImg.get(), left, top, paint, nullptr, SkMatrix::I()); in drawSprite()
1293 sk_sp<SkSpecialImage> srcImg(dev->snapSpecial()); in drawDevice() local
1294 if (!srcImg) { in drawDevice()
1298 this->drawSpecial(srcImg.get(), left, top, paint, nullptr, SkMatrix::I()); in drawDevice()
/external/skqp/src/gpu/
DSkGpuDevice.cpp177 sk_sp<SkSpecialImage> SkGpuDevice::filterTexture(SkSpecialImage* srcImg, in filterTexture() argument
181 SkASSERT(srcImg->isTextureBacked()); in filterTexture()
196 return filter->filterImage(srcImg, ctx, offset); in filterTexture()
1059 sk_sp<SkSpecialImage> srcImg = this->makeSpecial(bitmap); in drawSprite() local
1060 if (!srcImg) { in drawSprite()
1064 this->drawSpecial(srcImg.get(), left, top, paint, nullptr, SkMatrix::I()); in drawSprite()
1327 sk_sp<SkSpecialImage> srcImg(dev->snapSpecial()); in drawDevice() local
1328 if (!srcImg) { in drawDevice()
1332 this->drawSpecial(srcImg.get(), left, top, paint, nullptr, SkMatrix::I()); in drawDevice()
/external/skia/src/pdf/
DSkPDFDevice.cpp2018 void SkPDFDevice::drawSpecial(SkSpecialImage* srcImg, int x, int y, const SkPaint& paint, in drawSpecial() argument
2023 SkASSERT(!srcImg->isTextureBacked()); in drawSpecial()
2039 SkImageFilter::OutputProperties outputProperties(kN32_SkColorType, srcImg->getColorSpace()); in drawSpecial()
2042 sk_sp<SkSpecialImage> resultImg(filter->filterImage(srcImg, ctx, &offset)); in drawSpecial()
2051 if (srcImg->getROPixels(&resultBM)) { in drawSpecial()
/external/skqp/src/pdf/
DSkPDFDevice.cpp2031 void SkPDFDevice::drawSpecial(SkSpecialImage* srcImg, int x, int y, const SkPaint& paint, in drawSpecial() argument
2036 SkASSERT(!srcImg->isTextureBacked()); in drawSpecial()
2052 SkImageFilter::OutputProperties outputProperties(kN32_SkColorType, srcImg->getColorSpace()); in drawSpecial()
2055 sk_sp<SkSpecialImage> resultImg(filter->filterImage(srcImg, ctx, &offset)); in drawSpecial()
2064 if (srcImg->getROPixels(&resultBM)) { in drawSpecial()