Home
last modified time | relevance | path

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

12345

/external/skia/src/core/
DSkCoreBlitters.h19 SkRasterBlitter(const SkPixmap& device) : fDevice(device) {} in SkRasterBlitter()
22 const SkPixmap fDevice;
35 SkShaderBlitter(const SkPixmap& device, const SkPaint& paint,
56 SkA8_Coverage_Blitter(const SkPixmap& device, const SkPaint& paint);
62 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
67 SkA8_Blitter(const SkPixmap& device, const SkPaint& paint);
73 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
86 SkA8_Shader_Blitter(const SkPixmap& device, const SkPaint& paint,
108 SkARGB32_Blitter(const SkPixmap& device, const SkPaint& paint);
114 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
[all …]
DSkSpriteBlitter.h22 SkSpriteBlitter(const SkPixmap& source);
24 virtual void setup(const SkPixmap& dst, int left, int top, const SkPaint&);
35 static SkSpriteBlitter* ChooseD16(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
36 static SkSpriteBlitter* ChooseL32(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
37 static SkSpriteBlitter* ChooseS32(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
38 static SkSpriteBlitter* ChooseF16(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
41 SkPixmap fDst;
42 const SkPixmap fSource;
DSkPixmap.cpp23 void SkAutoPixmapUnlock::reset(const SkPixmap& pm, void (*unlock)(void*), void* ctx) { in reset()
35 void SkPixmap::reset() { in reset()
42 void SkPixmap::reset(const SkImageInfo& info, const void* addr, size_t rowBytes, SkColorTable* ct) { in reset()
52 bool SkPixmap::reset(const SkMask& src) { in reset()
62 void SkPixmap::setColorSpace(sk_sp<SkColorSpace> cs) { in setColorSpace()
66 bool SkPixmap::extractSubset(SkPixmap* result, const SkIRect& subset) const { in extractSubset()
87 bool SkPixmap::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int x, int y) in readPixels()
113 bool SkPixmap::erase(SkColor color, const SkIRect& inArea) const { in erase()
211 bool SkPixmap::erase(const SkColor4f& origColor, const SkIRect* subset) const { in erase()
212 SkPixmap pm; in erase()
[all …]
DSkDeviceLooper.h33 SkDeviceLooper(const SkPixmap& base, const SkRasterClip&, const SkIRect& bounds, bool aa);
36 const SkPixmap& getPixmap() const { in getPixmap()
63 const SkPixmap& fBaseDst;
73 SkPixmap fSubsetDst;
76 const SkPixmap* fCurrDst;
DSkBlitter_Sprite.cpp12 SkSpriteBlitter::SkSpriteBlitter(const SkPixmap& source) in SkSpriteBlitter()
15 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()
88 SkSpriteBlitter_Src_SrcOver(const SkPixmap& src) in SkSpriteBlitter_Src_SrcOver()
91 void setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) override { in setup()
142 SkBlitter* SkBlitter::ChooseSprite(const SkPixmap& dst, const SkPaint& paint, in ChooseSprite()
143 const SkPixmap& source, int left, int top, SkArenaAlloc* allocator) { in ChooseSprite()
DSkLinearBitmapPipeline.h36 const SkPixmap& srcPixmap,
41 const SkPixmap& srcPixmap,
50 const SkPixmap& srcPixmap,
95 PixelAccessorInterface* chooseSpecificAccessor(const SkPixmap& srcPixmap,
99 const SkPixmap& srcPixmap,
107 const SkPixmap& srcPixmap,
DSkBlitter.h21 class SkPixmap; variable
73 virtual const SkPixmap* justAnOpaqueColor(uint32_t* value);
138 static SkBlitter* Choose(const SkPixmap& dst,
144 static SkBlitter* ChooseSprite(const SkPixmap& dst,
146 const SkPixmap& src,
166 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
189 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
223 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
255 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
DSkBitmapScaler.h36 static bool Resize(const SkPixmap& dst, const SkPixmap& src, ResizeMethod method);
42 static bool Resize(SkBitmap* result, const SkPixmap& src, ResizeMethod method,
DSkSpriteBlitter4f.cpp16 Sprite_4f(const SkPixmap& src, const SkPaint& paint) : INHERITED(src) { in Sprite_4f()
37 Sprite_F16(const SkPixmap& src, const SkPaint& paint) : INHERITED(src, paint) { in Sprite_F16()
65 SkSpriteBlitter* SkSpriteBlitter::ChooseF16(const SkPixmap& source, const SkPaint& paint, in ChooseF16()
86 Sprite_sRGB(const SkPixmap& src, const SkPaint& paint) : INHERITED(src, paint) { in Sprite_sRGB()
115 SkSpriteBlitter* SkSpriteBlitter::ChooseS32(const SkPixmap& source, const SkPaint& paint, in ChooseS32()
DSkSpriteBlitter_ARGB32.cpp21 Sprite_D32_S32(const SkPixmap& src, U8CPU alpha) : INHERITED(src) { in Sprite_D32_S32()
63 Sprite_D32_XferFilter(const SkPixmap& source, const SkPaint& paint) : SkSpriteBlitter(source) { in Sprite_D32_XferFilter()
89 void setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) override { in setup()
116 Sprite_D32_S32A_XferFilter(const SkPixmap& source, const SkPaint& paint) in Sprite_D32_S32A_XferFilter()
162 Sprite_D32_S4444_XferFilter(const SkPixmap& source, const SkPaint& paint) in Sprite_D32_S4444_XferFilter()
209 Sprite_D32_S4444_Opaque(const SkPixmap& source) : SkSpriteBlitter(source) {} in Sprite_D32_S4444_Opaque()
237 Sprite_D32_S4444(const SkPixmap& source) : SkSpriteBlitter(source) {} in Sprite_D32_S4444()
256 SkSpriteBlitter* SkSpriteBlitter::ChooseL32(const SkPixmap& source, const SkPaint& paint, in ChooseL32()
DSkBitmapScaler.cpp202 static bool valid_for_resize(const SkPixmap& source, int dstW, int dstH) { in valid_for_resize()
208 bool SkBitmapScaler::Resize(const SkPixmap& result, const SkPixmap& source, ResizeMethod method) { in Resize()
232 bool SkBitmapScaler::Resize(SkBitmap* resultPtr, const SkPixmap& source, ResizeMethod method, in Resize()
246 SkPixmap resultPM; in Resize()
DSkSpanProcs.h15 class SkPixmap; variable
18 typedef void (*SkLoadSpanProc)(const SkPixmap&, int x, int y, SkPM4f span[], int count);
DSkSpanProcs.cpp19 static void load_l32(const SkPixmap& src, int x, int y, SkPM4f span[], int count) { in load_l32()
29 static void load_s32(const SkPixmap& src, int x, int y, SkPM4f span[], int count) { in load_s32()
39 static void load_f16(const SkPixmap& src, int x, int y, SkPM4f span[], int count) { in load_f16()
DSkBlitter_RGB16.cpp59 SkRGB16_Blitter(const SkPixmap& device, const SkPaint& paint);
66 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
87 SkRGB16_Opaque_Blitter(const SkPixmap& device, const SkPaint& paint);
101 SkRGB16_Black_Blitter(const SkPixmap& device, const SkPaint& paint);
112 SkRGB16_Shader_Blitter(const SkPixmap& device, const SkPaint& paint,
134 SkRGB16_Shader_Xfermode_Blitter(const SkPixmap& device, const SkPaint& paint,
154 SkRGB16_Black_Blitter::SkRGB16_Black_Blitter(const SkPixmap& device, const SkPaint& paint) in SkRGB16_Black_Blitter()
260 SkRGB16_Opaque_Blitter::SkRGB16_Opaque_Blitter(const SkPixmap& device, const SkPaint& paint) in SkRGB16_Opaque_Blitter()
506 SkRGB16_Blitter::SkRGB16_Blitter(const SkPixmap& device, const SkPaint& paint) in SkRGB16_Blitter()
543 const SkPixmap* SkRGB16_Blitter::justAnOpaqueColor(uint32_t* value) { in justAnOpaqueColor()
[all …]
/external/skia/src/images/
DSkImageEncoderPriv.h18 bool SkEncodeImageAsJPEG(SkWStream*, const SkPixmap&, const SkEncodeOptions&);
19 bool SkEncodeImageAsJPEG(SkWStream*, const SkPixmap&, int quality);
25 bool SkEncodeImageAsPNG(SkWStream*, const SkPixmap&, const SkEncodeOptions&);
31 bool SkEncodeImageAsWEBP(SkWStream*, const SkPixmap&, const SkEncodeOptions&);
32 bool SkEncodeImageAsWEBP(SkWStream*, const SkPixmap&, int quality);
38 bool SkEncodeImageWithCG(SkWStream*, const SkPixmap&, SkEncodedImageFormat);
44 bool SkEncodeImageWithWIC(SkWStream*, const SkPixmap&, SkEncodedImageFormat, int quality);
/external/skia/include/core/
DSkPixmap.h23 class SK_API SkPixmap {
25 SkPixmap() in SkPixmap() function
29 SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes,
62 bool SK_WARN_UNUSED_RESULT extractSubset(SkPixmap* subset, const SkIRect& area) const;
190 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels()
193 bool readPixels(const SkPixmap& dst) const { in readPixels()
204 bool scalePixels(const SkPixmap& dst, SkFilterQuality) const;
229 SkAutoPixmapUnlock(const SkPixmap& pm, void (*unlock)(void*), void* ctx) in SkAutoPixmapUnlock()
237 const SkPixmap& pixmap() const { in pixmap()
261 void reset(const SkPixmap& pm, void (*unlock)(void*), void* ctx);
[all …]
DSkBitmap.h319 bool installPixels(const SkPixmap&);
552 SkPixmap pixmap; in getColor()
649 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const;
650 bool readPixels(const SkPixmap& dst) const { in readPixels()
660 bool writePixels(const SkPixmap& src, int dstX, int dstY) { in writePixels()
663 bool writePixels(const SkPixmap& src) { in writePixels()
729 bool peekPixels(SkPixmap*) const;
782 bool writePixels(const SkPixmap& src, int x, int y, SkTransferFunctionBehavior behavior);
DSkImage.h51 static sk_sp<SkImage> MakeRasterCopy(const SkPixmap&);
63 static sk_sp<SkImage> MakeFromRaster(const SkPixmap&, RasterReleaseProc, ReleaseContext);
214 bool peekPixels(SkPixmap* pixmap) const;
265 bool readPixels(const SkPixmap& dst, int srcX, int srcY,
275 bool scalePixels(const SkPixmap& dst, SkFilterQuality, CachingHint = kAllow_CachingHint) const;
DSkImageEncoder.h31 SK_API bool SkEncodeImage(SkWStream* dst, const SkPixmap& src,
38 SkPixmap pixmap; in SkEncodeImage()
DSkPixelSerializer.h35 SkData* encode(const SkPixmap& pixmap) { return this->onEncode(pixmap); } in encode()
48 virtual SkData* onEncode(const SkPixmap&) = 0;
/external/skia/gm/
DSkLinearBitmapPipelineGM.cpp23 SkPixmap pm; in fill_in_bits()
51 SkPixmap pmsrc; in draw_rect_orig()
57 SkPixmap pmdst; in draw_rect_orig()
62 sk_sp<SkImage> image(SkImage::MakeRasterCopy(SkPixmap(info, pmsrc.addr32(), pmsrc.rowBytes()))); in draw_rect_orig()
93 SkPixmap pmsrc; in draw_rect_fp()
99 SkPixmap pmdst; in draw_rect_fp()
Dshowmiplevels.cpp138 SkPixmap prevPM; in drawLevels()
169 drawLevels(canvas, orig, [](const SkPixmap& prev, const SkPixmap& curr) { in drawSet()
183 SkPixmap basePM; in drawSet()
188 drawLevels(canvas, orig, [method](const SkPixmap& prev, const SkPixmap& curr) { in drawSet()
/external/skia/src/gpu/
DSkGr.cpp100 SkPixmap pixmap; in GrUploadBitmapToTextureProxy()
107 static const SkPixmap* compute_desc(const GrCaps& caps, const SkPixmap& pixmap, in compute_desc()
109 SkBitmap* tmpBitmap, SkPixmap* tmpPixmap) { in compute_desc()
110 const SkPixmap* pmap = &pixmap; in compute_desc()
126 SkPixmap linSrcPixmap(linSrcInfo, pixmap.addr(), pixmap.rowBytes(), pixmap.ctable()); in compute_desc()
162 const SkPixmap& pixmap, in GrUploadPixmapToTextureProxy()
169 SkPixmap tmpPixmap; in GrUploadPixmapToTextureProxy()
172 if (const SkPixmap* pmap = compute_desc(*resourceProvider->caps(), pixmap, &desc, in GrUploadPixmapToTextureProxy()
213 const SkPixmap& pixmap = srcUnlocker.pixmap(); in GrGenerateMipMapsAndUploadToTextureProxy()
/external/skia/src/image/
DSkImage_Raster.cpp90 bool onPeekPixels(SkPixmap*) const override;
174 bool SkImage_Raster::onPeekPixels(SkPixmap* pm) const { in onPeekPixels()
269 sk_sp<SkImage> SkImage::MakeRasterCopy(const SkPixmap& pmap) { in MakeRasterCopy()
298 sk_sp<SkImage> SkImage::MakeFromRaster(const SkPixmap& pmap, RasterReleaseProc proc, in MakeFromRaster()
325 SkPixmap pmap; in SkMakeImageFromRasterBitmap()
358 static inline void do_color_xform_non_linear_blending(SkBitmap* dst, const SkPixmap& src) { in do_color_xform_non_linear_blending()
408 SkPixmap src; in onMakeColorSpace()
/external/skia/include/utils/mac/
DSkCGUtils.h27 class SkPixmap; variable
30 SK_API CGContextRef SkCreateCGContext(const SkPixmap&);

12345