/external/skia/include/core/ |
SkMallocPixelRef.h | 29 static SkMallocPixelRef* NewDirect(const SkImageInfo&, void* addr, 42 static SkMallocPixelRef* NewAllocate(const SkImageInfo& info, 48 static SkMallocPixelRef* NewZeroed(const SkImageInfo& info, 66 static SkMallocPixelRef* NewWithProc(const SkImageInfo& info, 81 static SkMallocPixelRef* NewWithData(const SkImageInfo& info, 90 SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) override; 95 SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) override; 100 SkMallocPixelRef(const SkImageInfo&, void* addr, size_t rb, SkColorTable*, 111 const SkImageInfo&, 121 SkMallocPixelRef(const SkImageInfo&, void* addr, size_t rb, SkColorTable* [all...] |
SkSurface.h | 44 static SkSurface* NewRasterDirect(const SkImageInfo&, void* pixels, size_t rowBytes, 51 static SkSurface* NewRasterDirectReleaseProc(const SkImageInfo&, void* pixels, size_t rowBytes, 64 static SkSurface* NewRaster(const SkImageInfo&, size_t rowBytes, const SkSurfaceProps*); 69 static SkSurface* NewRaster(const SkImageInfo&, const SkSurfaceProps* = NULL); 72 * Helper version of NewRaster. It creates a SkImageInfo with the 77 return NewRaster(SkImageInfo::MakeN32Premul(width, height), props); 130 GrContext*, SkBudgeted, const SkImageInfo&, int sampleCount, 133 static SkSurface* NewRenderTarget(GrContext* gr, SkBudgeted b, const SkImageInfo& info) { 230 SkSurface* newSurface(const SkImageInfo&); 272 const void* peekPixels(SkImageInfo* info, size_t* rowBytes) [all...] |
SkImageInfo.h | 168 struct SK_API SkImageInfo { 170 SkImageInfo() 178 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at, 180 return SkImageInfo(width, height, ct, at, pt); 186 static SkImageInfo MakeN32(int width, int height, SkAlphaType at, 188 return SkImageInfo(width, height, kN32_SkColorType, at, pt); 194 static SkImageInfo MakeN32Premul(int width, int height, 196 return SkImageInfo(width, height, kN32_SkColorType, kPremul_SkAlphaType, pt); 202 static SkImageInfo MakeN32Premul(const SkISize& size, 207 static SkImageInfo MakeA8(int width, int height) [all...] |
SkImageGenerator.h | 13 #include "SkImageInfo.h" 91 const SkImageInfo& getInfo() const { return fInfo; } 122 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 129 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes); 230 bool tryGenerateBitmap(SkBitmap* bm, const SkImageInfo& info, SkBitmap::Allocator* allocator) { 238 void generateBitmap(SkBitmap* bm, const SkImageInfo& info) { 245 SkImageGenerator(const SkImageInfo& info); 249 virtual bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 266 bool tryGenerateBitmap(SkBitmap* bm, const SkImageInfo* optionalInfo, SkBitmap::Allocator*); 269 const SkImageInfo fInfo [all...] |
/external/skia/tests/ |
ImageIsOpaqueTest.cpp | 19 static void test_flatten(skiatest::Reporter* reporter, const SkImageInfo& info) { 21 int32_t storage[(sizeof(SkImageInfo)*2) / sizeof(int32_t)]; 27 SkImageInfo info2; 41 SkImageInfo info = SkImageInfo::Make(100, 200, 57 SkImageInfo infoTransparent = SkImageInfo::MakeN32Premul(5, 5); 61 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); 69 SkImageInfo infoTransparent = SkImageInfo::MakeN32Premul(5, 5) [all...] |
PDFInvalidBitmapTest.cpp | 11 #include "SkImageInfo.h" 24 InvalidPixelRef(const SkImageInfo& info) : SkPixelRef(info) {} 32 SkBitmap make_invalid_bitmap(const SkImageInfo& imageInfo) { 41 SkImageInfo::Make(100, 100, colorType, kPremul_SkAlphaType)); 52 canvas->drawBitmap(make_invalid_bitmap(SkImageInfo()), 0, 0);
|
PixelRefTest.cpp | 21 SkImageInfo info; 24 info = SkImageInfo::MakeN32Premul(0, 0); 31 info = SkImageInfo::MakeN32Premul(10, 10); 38 info = SkImageInfo::MakeN32Premul(-10, -10); 48 SkImageInfo info = SkImageInfo::MakeN32Premul(0, 0); 55 info = SkImageInfo::MakeN32Premul(10, 10); 70 SkImageInfo info = SkImageInfo::MakeN32Premul(10, 10);
|
/external/skia/src/codec/ |
SkSampler.h | 48 static void Fill(const SkImageInfo& info, void* dst, size_t rowBytes, 54 virtual void fill(const SkImageInfo& info, void* dst, size_t rowBytes,
|
SkBmpMaskCodec.h | 9 #include "SkImageInfo.h" 31 SkBmpMaskCodec(const SkImageInfo& srcInfo, SkStream* stream, 37 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, 41 SkCodec::Result prepareToDecode(const SkImageInfo& dstInfo, 52 int decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes,
|
SkMaskSwizzler.h | 28 static SkMaskSwizzler* CreateMaskSwizzler(const SkImageInfo& dstInfo, 29 const SkImageInfo& srcInfo, 42 void fill(const SkImageInfo& info, void* dst, size_t rowBytes, uint32_t colorOrIndex, 44 const SkImageInfo fillInfo = info.makeWH(fDstWidth, info.height());
|
SkWbmpCodec.h | 27 Result onGetPixels(const SkImageInfo&, void*, size_t, 34 SkSwizzler* initializeSwizzler(const SkImageInfo& info, const SkPMColor* ctable, 46 SkWbmpCodec(const SkImageInfo&, SkStream*); 57 Result onStartScanlineDecode(const SkImageInfo& dstInfo, const Options& options,
|
SkWebpCodec.h | 13 #include "SkImageInfo.h" 26 Result onGetPixels(const SkImageInfo&, void*, size_t, const Options&, SkPMColor*, int*, int*) 36 SkWebpCodec(const SkImageInfo&, SkStream*);
|
SkBmpRLECodec.h | 10 #include "SkImageInfo.h" 38 SkBmpRLECodec(const SkImageInfo& srcInfo, SkStream* stream, 47 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, 51 SkCodec::Result prepareToDecode(const SkImageInfo& dstInfo, 78 const SkImageInfo& dstInfo, uint32_t x, uint32_t y, 84 const SkImageInfo& dstInfo, uint32_t x, uint32_t y, 90 int decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes,
|
SkBmpStandardCodec.h | 10 #include "SkImageInfo.h" 40 SkBmpStandardCodec(const SkImageInfo& srcInfo, SkStream* stream, 47 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, 55 SkCodec::Result prepareToDecode(const SkImageInfo& dstInfo, 75 void initializeSwizzler(const SkImageInfo& dstInfo, const Options& opts); 77 int decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, 85 void decodeIcoMask(SkStream* stream, const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes);
|
SkJpegCodec.h | 12 #include "SkImageInfo.h" 45 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options&, 93 SkJpegCodec(const SkImageInfo& srcInfo, SkStream* stream, JpegDecoderMgr* decoderMgr); 100 bool setOutputColorSpace(const SkImageInfo& dst); 103 void initializeSwizzler(const SkImageInfo& dstInfo, const Options& options); 105 Result onStartScanlineDecode(const SkImageInfo& dstInfo, const Options& options,
|
SkIcoCodec.h | 9 #include "SkImageInfo.h" 39 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options&, 50 Result onStartScanlineDecode(const SkImageInfo& dstInfo, const SkCodec::Options& options, 74 SkIcoCodec(const SkImageInfo& srcInfo, SkTArray<SkAutoTDelete<SkCodec>, true>* embeddedCodecs);
|
SkGifCodec.h | 10 #include "SkImageInfo.h" 59 Result onGetPixels(const SkImageInfo&, void*, size_t, const Options&, 113 void initializeColorTable(const SkImageInfo& dstInfo, SkPMColor* colorPtr, 120 Result prepareToDecode(const SkImageInfo& dstInfo, SkPMColor* inputColorPtr, 132 void initializeSwizzler(const SkImageInfo& dstInfo, 145 Result onStartScanlineDecode(const SkImageInfo& dstInfo, const Options& opts, 191 SkGifCodec(const SkImageInfo& srcInfo, SkStream* stream, GifFileType* gif, uint32_t transIndex,
|
/external/skia/src/core/ |
SkSpanProcs.h | 13 struct SkImageInfo; 21 SkLoadSpanProc SkLoadSpanProc_Choose(const SkImageInfo&);
|
/external/skia/src/image/ |
SkReadPixelsRec.h | 11 #include "SkImageInfo.h" 17 SkReadPixelsRec(const SkImageInfo& info, void* pixels, size_t rowBytes, int x, int y) 27 SkImageInfo fInfo;
|
/external/skia/src/utils/ |
SkImageGeneratorUtils.h | 18 static SkImageGenerator* NewEmpty(const SkImageInfo&);
|
SkImageGeneratorUtils.cpp | 13 GeneratorFromEmpty(const SkImageInfo& info) : SkImageGenerator(info) {} 16 SkImageGenerator* SkImageGeneratorUtils::NewEmpty(const SkImageInfo& info) { 31 bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 54 GeneratorFromTexture(GrContext* ctx, GrTexture* tex, const SkImageInfo& info) 93 SkImageInfo info = SkImageInfo::Make(desc.fWidth, desc.fHeight, ct, at, cpt); 106 GeneratorFromImage(const SkImage* image, const SkImageInfo& info) 110 bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 128 const SkImageInfo info = SkImageInfo::Make(image->width(), image->height(), ct, at) [all...] |
/external/skia/include/codec/ |
SkAndroidCodec.h | 48 const SkImageInfo& getInfo() const { return fInfo; } 165 * (specified in the SkImageInfo), then the caller must provide 227 SkCodec::Result getAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 237 SkCodec::Result getAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes); 239 SkCodec::Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { 253 virtual SkCodec::Result onGetAndroidPixels(const SkImageInfo& info, void* pixels, 260 const SkImageInfo& fInfo;
|
SkCodec.h | 14 #include "SkImageInfo.h" 99 const SkImageInfo& getInfo() const { return fSrcInfo; } 271 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options*, 278 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes); 370 Result startScanlineDecode(const SkImageInfo& dstInfo, const SkCodec::Options* options, 377 Result startScanlineDecode(const SkImageInfo& dstInfo); 388 * a scanline based on the SkImageInfo used to create this object. 505 SkCodec(const SkImageInfo&, SkStream*); 529 virtual Result onGetPixels(const SkImageInfo& info, 618 const SkImageInfo& dstInfo() const { return fDstInfo; [all...] |
/frameworks/base/core/jni/android/graphics/ |
Bitmap.h | 22 #include <SkImageInfo.h> 51 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable); 53 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable); 54 Bitmap(void* address, int fd, const SkImageInfo& info, size_t rowBytes, 57 const SkImageInfo& info() const; 72 void reconfigure(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable); 73 void reconfigure(const SkImageInfo& info);
|
/external/skia/include/gpu/ |
SkGrPixelRef.h | 23 SkROLockPixelsPixelRef(const SkImageInfo&); 44 SkGrPixelRef(const SkImageInfo&, GrSurface*);
|