Home
last modified time | relevance | path

Searched refs:SkPixmap (Results 1 – 25 of 436) sorted by relevance

12345678910>>...18

/external/skia/src/core/
DSkCoreBlitters.h20 SkRasterBlitter(const SkPixmap& device) : fDevice(device) {} in SkRasterBlitter()
23 const SkPixmap fDevice;
36 SkShaderBlitter(const SkPixmap& device, const SkPaint& paint,
57 SkA8_Coverage_Blitter(const SkPixmap& device, const SkPaint& paint);
63 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
73 SkARGB32_Blitter(const SkPixmap& device, const SkPaint& paint);
79 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
98 SkARGB32_Opaque_Blitter(const SkPixmap& device, const SkPaint& paint) in SkARGB32_Opaque_Blitter()
110 SkARGB32_Black_Blitter(const SkPixmap& device, const SkPaint& paint) in SkARGB32_Black_Blitter()
122 SkARGB32_Shader_Blitter(const SkPixmap& device, const SkPaint& paint,
[all …]
DSkSpriteBlitter.h22 SkSpriteBlitter(const SkPixmap& source);
24 virtual bool setup(const SkPixmap& dst, int left, int top, const SkPaint&);
35 static SkSpriteBlitter* ChooseL32(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
36 static SkSpriteBlitter* ChooseL565(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
37 static SkSpriteBlitter* ChooseLA8(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
40 SkPixmap fDst;
41 const SkPixmap fSource;
DSkPixmapPriv.h21 static bool Orient(const SkPixmap& dst, const SkPixmap& src, SkEncodedOrigin);
36 static bool Orient(const SkPixmap& dst, SkEncodedOrigin origin, Fn&& decode) { in Orient()
38 const SkPixmap* tmp = &dst; in Orient()
58 static void ResetPixmapKeepInfo(SkPixmap* pm, const void* address, size_t rowBytes) { in ResetPixmapKeepInfo()
DSkPixmap.cpp35 void SkPixmap::reset() { in reset()
41 void SkPixmap::reset(const SkImageInfo& info, const void* addr, size_t rowBytes) { in reset()
50 bool SkPixmap::reset(const SkMask& src) { in reset()
60 void SkPixmap::setColorSpace(sk_sp<SkColorSpace> cs) { in setColorSpace()
64 bool SkPixmap::extractSubset(SkPixmap* result, const SkIRect& subset) const { in extractSubset()
88 static const void* fast_getaddr(const SkPixmap& pm, int x, int y) { in fast_getaddr()
93 float SkPixmap::getAlphaf(int x, int y) const { in getAlphaf()
158 bool SkPixmap::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in readPixels()
175 bool SkPixmap::erase(SkColor color, const SkIRect& subset) const { in erase()
179 bool SkPixmap::erase(const SkColor4f& color, SkColorSpace* cs, const SkIRect* subset) const { in erase()
[all …]
DSkBlitter_Sprite.cpp19 SkSpriteBlitter::SkSpriteBlitter(const SkPixmap& source) in SkSpriteBlitter()
22 bool SkSpriteBlitter::setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) { in setup()
61 static bool Supports(const SkPixmap& dst, const SkPixmap& src, const SkPaint& paint) { in Supports()
78 SkSpriteBlitter_Memcpy(const SkPixmap& src) in SkSpriteBlitter_Memcpy()
104 SkRasterPipelineSpriteBlitter(const SkPixmap& src, SkArenaAlloc* alloc, in SkRasterPipelineSpriteBlitter()
113 bool setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) override { in setup()
175 SkBlitter* SkBlitter::ChooseSprite(const SkPixmap& dst, const SkPaint& paint, in ChooseSprite()
176 const SkPixmap& source, int left, int top, in ChooseSprite()
DSkBlitter.h23 class SkPixmap; variable
78 virtual const SkPixmap* justAnOpaqueColor(uint32_t* value);
143 static SkBlitter* Choose(const SkPixmap& dst,
150 static SkBlitter* ChooseSprite(const SkPixmap& dst,
152 const SkPixmap& src,
157 static bool UseRasterPipelineBlitter(const SkPixmap&, const SkPaint&, const SkMatrix&);
172 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
195 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
229 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
261 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
[all …]
DSkBitmapDevice.h28 class SkPixmap; variable
67 const SkPixmap* accessCoverage() const { in accessCoverage()
115 bool onReadPixels(const SkPixmap&, int x, int y) override;
116 bool onWritePixels(const SkPixmap&, int, int) override;
117 bool onPeekPixels(SkPixmap*) override;
118 bool onAccessPixels(SkPixmap*) override;
/external/skqp/src/core/
DSkCoreBlitters.h20 SkRasterBlitter(const SkPixmap& device) : fDevice(device) {} in SkRasterBlitter()
23 const SkPixmap fDevice;
36 SkShaderBlitter(const SkPixmap& device, const SkPaint& paint,
57 SkA8_Coverage_Blitter(const SkPixmap& device, const SkPaint& paint);
63 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
73 SkARGB32_Blitter(const SkPixmap& device, const SkPaint& paint);
79 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
98 SkARGB32_Opaque_Blitter(const SkPixmap& device, const SkPaint& paint) in SkARGB32_Opaque_Blitter()
110 SkARGB32_Black_Blitter(const SkPixmap& device, const SkPaint& paint) in SkARGB32_Black_Blitter()
122 SkARGB32_Shader_Blitter(const SkPixmap& device, const SkPaint& paint,
[all …]
DSkSpriteBlitter.h22 SkSpriteBlitter(const SkPixmap& source);
24 virtual void setup(const SkPixmap& dst, int left, int top, const SkPaint&);
35 static SkSpriteBlitter* ChooseL32(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
36 static SkSpriteBlitter* ChooseL565(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
37 static SkSpriteBlitter* ChooseLA8(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
40 SkPixmap fDst;
41 const SkPixmap fSource;
DSkPixmapPriv.h21 static bool Orient(const SkPixmap& dst, const SkPixmap& src, SkEncodedOrigin);
35 static bool Orient(const SkPixmap& dst, SkEncodedOrigin origin, in Orient()
36 std::function<bool(const SkPixmap&)> decode) { in Orient()
38 const SkPixmap* tmp = &dst; in Orient()
58 static void ResetPixmapKeepInfo(SkPixmap* pm, const void* address, size_t rowBytes) { in ResetPixmapKeepInfo()
DSkPixmap.cpp33 void SkPixmap::reset() { in reset()
39 void SkPixmap::reset(const SkImageInfo& info, const void* addr, size_t rowBytes) { in reset()
48 bool SkPixmap::reset(const SkMask& src) { in reset()
58 void SkPixmap::setColorSpace(sk_sp<SkColorSpace> cs) { in setColorSpace()
62 bool SkPixmap::extractSubset(SkPixmap* result, const SkIRect& subset) const { in extractSubset()
86 static const void* fast_getaddr(const SkPixmap& pm, int x, int y) { in fast_getaddr()
91 float SkPixmap::getAlphaf(int x, int y) const { in getAlphaf()
134 bool SkPixmap::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in readPixels()
151 bool SkPixmap::erase(SkColor color, const SkIRect& subset) const { in erase()
155 bool SkPixmap::erase(const SkColor4f& color, const SkIRect* subset) const { in erase()
[all …]
DSkBlitter_Sprite.cpp17 SkSpriteBlitter::SkSpriteBlitter(const SkPixmap& source) in SkSpriteBlitter()
20 void SkSpriteBlitter::setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) { in setup()
58 static bool Supports(const SkPixmap& dst, const SkPixmap& src, const SkPaint& paint) { in Supports()
75 SkSpriteBlitter_Memcpy(const SkPixmap& src) in SkSpriteBlitter_Memcpy()
101 SkRasterPipelineSpriteBlitter(const SkPixmap& src, SkArenaAlloc* alloc) in SkRasterPipelineSpriteBlitter()
108 void setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) override { in setup()
168 SkBlitter* SkBlitter::ChooseSprite(const SkPixmap& dst, const SkPaint& paint, in ChooseSprite()
169 const SkPixmap& source, int left, int top, SkArenaAlloc* allocator) { in ChooseSprite()
DSkBlitter.h23 class SkPixmap; variable
84 virtual const SkPixmap* justAnOpaqueColor(uint32_t* value);
149 static SkBlitter* Choose(const SkPixmap& dst,
155 static SkBlitter* ChooseSprite(const SkPixmap& dst,
157 const SkPixmap& src,
162 static bool UseRasterPipelineBlitter(const SkPixmap&, const SkPaint&, const SkMatrix&);
177 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
200 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
234 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
266 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
[all …]
DSkBitmapDevice.h28 class SkPixmap; variable
67 const SkPixmap* accessCoverage() const { in accessCoverage()
120 bool onReadPixels(const SkPixmap&, int x, int y) override;
121 bool onWritePixels(const SkPixmap&, int, int) override;
122 bool onPeekPixels(SkPixmap*) override;
123 bool onAccessPixels(SkPixmap*) override;
/external/skia/src/images/
DSkImageEncoder.cpp15 bool SkJpegEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() argument
16 std::unique_ptr<SkEncoder> SkJpegEncoder::Make(SkWStream*, const SkPixmap&, const Options&) { in Make() argument
22 bool SkPngEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() argument
23 std::unique_ptr<SkEncoder> SkPngEncoder::Make(SkWStream*, const SkPixmap&, const Options&) { in Make() argument
29 bool SkWebpEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() argument
33 SkPixmap pixmap; in SkEncodeImage()
37 bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, in SkEncodeImage()
105 sk_sp<SkData> SkEncodePixmap(const SkPixmap& src, SkEncodedImageFormat format, int quality) { in SkEncodePixmap()
111 SkPixmap pixmap; in SkEncodeBitmap()
DSkImageEncoderPriv.h14 static inline bool SkPixmapIsValid(const SkPixmap& src) { in SkPixmapIsValid()
27 bool SkEncodeImageWithCG(SkWStream*, const SkPixmap&, SkEncodedImageFormat);
33 bool SkEncodeImageWithWIC(SkWStream*, const SkPixmap&, SkEncodedImageFormat, int quality);
39 bool SkEncodeImageWithNDK(SkWStream*, const SkPixmap&, SkEncodedImageFormat, int quality);
/external/skqp/src/images/
DSkImageEncoder.cpp14 bool SkJpegEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() argument
15 std::unique_ptr<SkEncoder> SkJpegEncoder::Make(SkWStream*, const SkPixmap&, const Options&) { in Make() argument
21 bool SkPngEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() argument
22 std::unique_ptr<SkEncoder> SkPngEncoder::Make(SkWStream*, const SkPixmap&, const Options&) { in Make() argument
28 bool SkWebpEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; } in Encode() argument
31 bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, in SkEncodeImage()
80 sk_sp<SkData> SkEncodePixmap(const SkPixmap& src, SkEncodedImageFormat format, int quality) { in SkEncodePixmap()
86 SkPixmap pixmap; in SkEncodeBitmap()
DSkImageEncoderPriv.h14 static inline bool SkPixmapIsValid(const SkPixmap& src) { in SkPixmapIsValid()
27 bool SkEncodeImageWithCG(SkWStream*, const SkPixmap&, SkEncodedImageFormat);
33 bool SkEncodeImageWithWIC(SkWStream*, const SkPixmap&, SkEncodedImageFormat, int quality);
/external/skqp/docs/
DSkPixmap_Reference.bmh4 #Class SkPixmap
27 #Method SkPixmap()
38 SkPixmap pixmap;
53 #SeeAlso SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes) reset() SkAlphaType S…
59 #Method SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes)
68 SkImage::MakeRasterCopy takes const SkPixmap& as an argument. The example
69 constructs a SkPixmap from the brace-delimited parameters.
83 #SeeAlso SkPixmap() reset() SkAlphaType SkColorType
100 SkPixmap pixmap(SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType),
115 #SeeAlso SkPixmap() SkAlphaType SkColorType
[all …]
/external/skqp/bench/
DEncodeBench.cpp24 using Encoder = bool (*)(SkWStream*, const SkPixmap&);
40 SkPixmap pixmap; in onDraw()
55 static bool encode_jpeg(SkWStream* dst, const SkPixmap& src) { in encode_jpeg()
61 static bool encode_webp_lossy(SkWStream* dst, const SkPixmap& src) { in encode_webp_lossy()
68 static bool encode_webp_lossless(SkWStream* dst, const SkPixmap& src) { in encode_webp_lossless()
76 const SkPixmap& src, in encode_png()
85 #define PNG(FLAG, ZLIBLEVEL) [](SkWStream* d, const SkPixmap& s) { \
/external/skia/bench/
DEncodeBench.cpp24 using Encoder = bool (*)(SkWStream*, const SkPixmap&);
40 SkPixmap pixmap; in onDraw()
55 static bool encode_jpeg(SkWStream* dst, const SkPixmap& src) { in encode_jpeg()
61 static bool encode_webp_lossy(SkWStream* dst, const SkPixmap& src) { in encode_webp_lossy()
68 static bool encode_webp_lossless(SkWStream* dst, const SkPixmap& src) { in encode_webp_lossless()
76 const SkPixmap& src, in encode_png()
85 #define PNG(FLAG, ZLIBLEVEL) [](SkWStream* d, const SkPixmap& s) { \
/external/skia/tools/skqp/src/
Dskqp_model.h41 SkQP::RenderOutcome Check(const SkPixmap& minImg,
42 const SkPixmap& maxImg,
43 const SkPixmap& img,
55 ModelResult CheckAgainstModel(const char* name, const SkPixmap& image,
/external/skqp/tools/skqp/src/
Dskqp_model.h41 SkQP::RenderOutcome Check(const SkPixmap& minImg,
42 const SkPixmap& maxImg,
43 const SkPixmap& img,
55 ModelResult CheckAgainstModel(const char* name, const SkPixmap& image,
/external/skqp/include/core/
DSkPixmap.h40 class SK_API SkPixmap {
50 SkPixmap() in SkPixmap() function
72 SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes) in SkPixmap() function
123 bool SK_WARN_UNUSED_RESULT extractSubset(SkPixmap* subset, const SkIRect& area) const;
615 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels()
636 bool readPixels(const SkPixmap& dst) const { in readPixels()
666 bool scalePixels(const SkPixmap& dst, SkFilterQuality filterQuality) const;
/external/skia/include/core/
DSkPixmap.h30 class SK_API SkPixmap {
40 SkPixmap() in SkPixmap() function
62 SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes) in SkPixmap() function
119 bool SK_WARN_UNUSED_RESULT extractSubset(SkPixmap* subset, const SkIRect& area) const;
618 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels()
639 bool readPixels(const SkPixmap& dst) const { in readPixels()
662 bool scalePixels(const SkPixmap& dst, const SkSamplingOptions&) const;

12345678910>>...18