Home
last modified time | relevance | path

Searched refs:dstCT (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/src/codec/
H A 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()
/third_party/skia/src/core/
H A DSkPaintPriv.cpp52 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither() argument
59 if (dstCT == kRGB_565_SkColorType || dstCT == kARGB_4444_SkColorType) { in ShouldDither()
H A DSkRasterPipelineBlitter.cpp99 SkColorType dstCT = dst.colorType(); in SkCreateRasterPipelineBlitter() local
121 {&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, matrixProvider})) { in SkCreateRasterPipelineBlitter()
/third_party/skia/tests/
H A DReadWritePixelsGpuTest.cpp824 const auto dstCT = dstInfo.colorType(); in gpu_write_pixels_test_driver()
856 ToolUtils::colortype_name(dstCT), ToolUtils::alphatype_name(dstAT), in gpu_write_pixels_test_driver()
874 ToolUtils::colortype_name(dstCT), in gpu_write_pixels_test_driver()
881 int rgbBits = std::min({min_rgb_channel_bits(writeCT), min_rgb_channel_bits(dstCT), 8}); in gpu_write_pixels_test_driver()
888 alpha_channel_bits(dstCT), in gpu_write_pixels_test_driver()
904 ToolUtils::colortype_name(dstCT), in gpu_write_pixels_test_driver()
952 ToolUtils::colortype_name(dstCT), in gpu_write_pixels_test_driver()
995 const auto dstCT = static_cast<SkColorType>(dct); in gpu_write_pixels_test_driver() local
996 const auto dstInfo = SkImageInfo::Make(kW, kH, dstCT, dstAT, SkColorSpace::MakeSRGB()); in gpu_write_pixels_test_driver()
1001 if (SkColorTypeIsAlwaysOpaque(dstCT) in gpu_write_pixels_test_driver()
[all...]
H A DReadPixelsTest.cpp498 for (SkColorType dstCT : kColorTypes) { in DEF_TEST()
505 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
/third_party/skia/src/gpu/
H A DSurfaceContext.cpp563 auto dstCT = SkColorTypeToGrColorType(info.colorType()); in asyncRescaleAndReadPixels() local
564 if (dstCT == GrColorType::kUnknown) { in asyncRescaleAndReadPixels()
575 colorTypeOfFinalContext = dstCT; in asyncRescaleAndReadPixels()
577 this->caps()->getDefaultBackendFormat(dstCT, GrRenderable::kYes); in asyncRescaleAndReadPixels()
581 dstCT); in asyncRescaleAndReadPixels()
587 // Fail if read color type does not have all of dstCT's color channels and those missing color in asyncRescaleAndReadPixels()
589 uint32_t dstChannels = GrColorTypeChannelFlags(dstCT); in asyncRescaleAndReadPixels()
1234 SurfaceContext::PixelTransferResult SurfaceContext::transferPixels(GrColorType dstCT, in transferPixels() argument
1249 proxy->backendFormat(), dstCT); in transferPixels()
1250 // Fail if read color type does not have all of dstCT' in transferPixels()
[all...]
/third_party/skia/tools/
H A DToolUtils.h249 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
/third_party/skia/gm/
H A Dwacky_yuv_formats.cpp516 static SkBitmap make_16(const SkBitmap& src, SkColorType dstCT, in make_16() argument
522 result.allocPixels(SkImageInfo::Make(src.dimensions(), dstCT, kUnpremul_SkAlphaType)); in make_16()
/third_party/skia/dm/
H A DDM.cpp756 for (auto dstCT : { CodecSrc::kNonNative8888_Always_DstColorType, in push_codec_srcs()
759 push_codec_src(path, CodecSrc::kAnimated_Mode, dstCT, at, 1.0f); in push_codec_srcs()

Completed in 12 milliseconds