Home
last modified time | relevance | path

Searched refs:dstCT (Results 1 – 16 of 16) sorted by relevance

/external/skqp/src/core/
DSkPaintPriv.cpp46 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither() argument
53 if (dstCT == kRGB_565_SkColorType || dstCT == kARGB_4444_SkColorType) { in ShouldDither()
DSkRasterPipelineBlitter.cpp92 SkColorType dstCT = dst.colorType(); in SkCreateRasterPipelineBlitter() local
112 if (shader->appendStages({&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, ctm})) { in SkCreateRasterPipelineBlitter()
/external/skia/src/core/
DSkPaintPriv.cpp48 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither() argument
55 if (dstCT == kRGB_565_SkColorType || dstCT == kARGB_4444_SkColorType) { in ShouldDither()
DSkRasterPipelineBlitter.cpp94 SkColorType dstCT = dst.colorType(); in SkCreateRasterPipelineBlitter() local
116 {&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, matrixProvider})) { in SkCreateRasterPipelineBlitter()
/external/skia/src/codec/
DSkWebpCodec.cpp178 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/
DSkWebpCodec.cpp194 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/
DReadWritePixelsGpuTest.cpp820 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 …]
DReadPixelsTest.cpp498 for (SkColorType dstCT : kColorTypes) { in DEF_TEST() local
505 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
/external/skia/src/gpu/
DGrSurfaceContext.cpp652 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/
Dsk_tool_utils.h236 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
/external/skia/tools/
DToolUtils.h257 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
/external/skqp/tests/
DReadPixelsTest.cpp675 for (SkColorType dstCT : kColorTypes) { in DEF_TEST() local
682 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
/external/skqp/dm/
DDM.cpp674 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()
DDMSrcSink.cpp970 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/
Dwacky_yuv_formats.cpp519 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/
DDM.cpp761 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()