/external/skqp/src/core/ |
D | SkPaintPriv.cpp | 46 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither() argument 53 if (dstCT == kRGB_565_SkColorType || dstCT == kARGB_4444_SkColorType) { in ShouldDither()
|
D | SkRasterPipelineBlitter.cpp | 92 SkColorType dstCT = dst.colorType(); in SkCreateRasterPipelineBlitter() local 112 if (shader->appendStages({&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, ctm})) { in SkCreateRasterPipelineBlitter()
|
/external/skia/src/core/ |
D | SkPaintPriv.cpp | 48 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither() argument 55 if (dstCT == kRGB_565_SkColorType || dstCT == kARGB_4444_SkColorType) { in ShouldDither()
|
D | SkRasterPipelineBlitter.cpp | 94 SkColorType dstCT = dst.colorType(); in SkCreateRasterPipelineBlitter() local 116 {&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, matrixProvider})) { in SkCreateRasterPipelineBlitter()
|
/external/skia/src/codec/ |
D | SkWebpCodec.cpp | 178 static WEBP_CSP_MODE webp_decode_mode(SkColorType dstCT, bool premultiply) { in webp_decode_mode() argument 179 switch (dstCT) { in webp_decode_mode() 316 static void blend_line(SkColorType dstCT, void* dst, in blend_line() argument 326 p.append_load_dst(dstCT, &dst_ctx); in blend_line() 341 p.append_store(dstCT, &dst_ctx); in blend_line() 511 const auto dstCT = dstInfo.colorType(); in onGetPixels() local 528 blend_line(dstCT, dst, dstCT, xformDst, in onGetPixels() 540 blend_line(dstCT, dst, webpDst.colorType(), src, in onGetPixels()
|
/external/skqp/src/codec/ |
D | SkWebpCodec.cpp | 194 static WEBP_CSP_MODE webp_decode_mode(SkColorType dstCT, bool premultiply) { in webp_decode_mode() argument 195 switch (dstCT) { in webp_decode_mode() 336 static void blend_line(SkColorType dstCT, void* dst, in blend_line() argument 346 p.append_load_dst(dstCT, &dst_ctx); in blend_line() 361 p.append_store(dstCT, &dst_ctx); in blend_line() 532 const auto dstCT = dstInfo.colorType(); in onGetPixels() local 549 blend_line(dstCT, dst, dstCT, xformDst, in onGetPixels() 561 blend_line(dstCT, dst, webpDst.colorType(), src, in onGetPixels()
|
/external/skia/tests/ |
D | ReadWritePixelsGpuTest.cpp | 820 const auto dstCT = dstInfo.colorType(); in gpu_write_pixels_test_driver() local 852 ToolUtils::colortype_name(dstCT), ToolUtils::alphatype_name(dstAT), in gpu_write_pixels_test_driver() 870 ToolUtils::colortype_name(dstCT), in gpu_write_pixels_test_driver() 877 int rgbBits = std::min({min_rgb_channel_bits(writeCT), min_rgb_channel_bits(dstCT), 8}); in gpu_write_pixels_test_driver() 884 alpha_channel_bits(dstCT), in gpu_write_pixels_test_driver() 900 ToolUtils::colortype_name(dstCT), in gpu_write_pixels_test_driver() 948 ToolUtils::colortype_name(dstCT), in gpu_write_pixels_test_driver() 991 const auto dstCT = static_cast<SkColorType>(dct); in gpu_write_pixels_test_driver() local 992 const auto dstInfo = SkImageInfo::Make(kW, kH, dstCT, dstAT, SkColorSpace::MakeSRGB()); in gpu_write_pixels_test_driver() 997 if (SkColorTypeIsAlwaysOpaque(dstCT) && dstCTTestedThoroughly[dstCT] && in gpu_write_pixels_test_driver() [all …]
|
D | ReadPixelsTest.cpp | 498 for (SkColorType dstCT : kColorTypes) { in DEF_TEST() local 505 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
|
/external/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 652 auto dstCT = SkColorTypeToGrColorType(info.colorType()); in asyncRescaleAndReadPixels() local 653 if (dstCT == GrColorType::kUnknown) { in asyncRescaleAndReadPixels() 664 colorTypeOfFinalContext = dstCT; in asyncRescaleAndReadPixels() 666 this->caps()->getDefaultBackendFormat(dstCT, GrRenderable::kYes); in asyncRescaleAndReadPixels() 670 dstCT); in asyncRescaleAndReadPixels() 678 uint32_t dstChannels = GrColorTypeChannelFlags(dstCT); in asyncRescaleAndReadPixels() 1310 GrSurfaceContext::PixelTransferResult GrSurfaceContext::transferPixels(GrColorType dstCT, in transferPixels() argument 1325 proxy->backendFormat(), dstCT); in transferPixels() 1328 uint32_t dstChannels = GrColorTypeChannelFlags(dstCT); in transferPixels() 1362 if (supportedRead.fColorType != dstCT || flip) { in transferPixels() [all …]
|
/external/skqp/tools/ |
D | sk_tool_utils.h | 236 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
|
/external/skia/tools/ |
D | ToolUtils.h | 257 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
|
/external/skqp/tests/ |
D | ReadPixelsTest.cpp | 675 for (SkColorType dstCT : kColorTypes) { in DEF_TEST() local 682 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
|
/external/skqp/dm/ |
D | DM.cpp | 674 for (auto dstCT : { CodecSrc::kNonNative8888_Always_DstColorType, in push_codec_srcs() 677 push_codec_src(path, CodecSrc::kAnimated_Mode, dstCT, at, 1.0f); in push_codec_srcs()
|
D | DMSrcSink.cpp | 970 void clamp_if_necessary(const SkBitmap& bitmap, SkColorType dstCT) { in clamp_if_necessary() argument 971 if (kRGBA_F16_SkColorType != bitmap.colorType() || kRGBA_F16_SkColorType == dstCT) { in clamp_if_necessary()
|
/external/skia/gm/ |
D | wacky_yuv_formats.cpp | 519 static SkBitmap make_16(const SkBitmap& src, SkColorType dstCT, in make_16() argument 525 result.allocPixels(SkImageInfo::Make(src.dimensions(), dstCT, kUnpremul_SkAlphaType)); in make_16()
|
/external/skia/dm/ |
D | DM.cpp | 761 for (auto dstCT : { CodecSrc::kNonNative8888_Always_DstColorType, in push_codec_srcs() 764 push_codec_src(path, CodecSrc::kAnimated_Mode, dstCT, at, 1.0f); in push_codec_srcs()
|