• Home
  • Raw
  • Download

Lines Matching refs:SkBitmap

116         virtual void inspect(int index, SkBitmap::Config config, int width, int height) {}  in inspect()
150 void setPrefConfigTable(const SkBitmap::Config pref[6]);
152 SkBitmap::Allocator* getAllocator() const { return fAllocator; } in getAllocator()
153 SkBitmap::Allocator* setAllocator(SkBitmap::Allocator*);
208 bool decode(SkStream*, SkBitmap* bitmap, SkBitmap::Config pref, Mode);
209 bool decode(SkStream* stream, SkBitmap* bitmap, Mode mode) { in decode()
210 return this->decode(stream, bitmap, SkBitmap::kNo_Config, mode); in decode()
230 virtual bool decodeRegion(SkBitmap* bitmap, SkIRect rect,
231 SkBitmap::Config pref);
251 static bool DecodeFile(const char file[], SkBitmap* bitmap,
252 SkBitmap::Config prefConfig, Mode,
254 static bool DecodeFile(const char file[], SkBitmap* bitmap) { in DecodeFile()
255 return DecodeFile(file, bitmap, SkBitmap::kNo_Config, in DecodeFile()
271 static bool DecodeMemory(const void* buffer, size_t size, SkBitmap* bitmap,
272 SkBitmap::Config prefConfig, Mode,
274 static bool DecodeMemory(const void* buffer, size_t size, SkBitmap* bitmap){ in DecodeMemory()
275 return DecodeMemory(buffer, size, bitmap, SkBitmap::kNo_Config, in DecodeMemory()
291 static bool DecodeStream(SkStream* stream, SkBitmap* bitmap,
292 SkBitmap::Config prefConfig, Mode,
294 static bool DecodeStream(SkStream* stream, SkBitmap* bitmap) { in DecodeStream()
295 return DecodeStream(stream, bitmap, SkBitmap::kNo_Config, in DecodeStream()
304 static SkBitmap::Config GetDeviceConfig();
311 static void SetDeviceConfig(SkBitmap::Config);
319 virtual bool onDecode(SkStream*, SkBitmap* bitmap, Mode) = 0;
330 virtual bool onDecodeRegion(SkBitmap* bitmap, SkIRect rect) { in onDecodeRegion()
348 virtual void cropBitmap(SkBitmap *dest, SkBitmap *src, int sampleSize,
371 bool chooseFromOneChoice(SkBitmap::Config config, int width, int height) const;
377 bool allocPixelRef(SkBitmap*, SkColorTable*) const;
392 SkBitmap::Config getPrefConfig(SrcDepth, bool hasAlpha) const;
399 SkBitmap::Allocator* fAllocator;
401 SkBitmap::Config fDefaultPref; // use if fUsePrefTable is false
402 SkBitmap::Config fPrefTable[6]; // use if fUsePrefTable is true