PageRenderTime 18ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/compiler/android/jni/ftk/SkBitmap_RLEPixels.h

http://ftk.googlecode.com/
C++ Header | 19 lines | 14 code | 5 blank | 0 comment | 0 complexity | dd79fb13589a83e4230473d6c799462b MD5 | raw file
 1#ifndef SkBitmap_RLEPixels_DEFINED
 2#define SkBitmap_RLEPixels_DEFINED
 3
 4#include "SkChunkAlloc.h"
 5
 6class SkBitmap_RLEPixels {
 7public:
 8    SkBitmap_RLEPixels(int width, int height);
 9    ~SkBitmap_RLEPixels();
10    
11    uint8_t* yptrs() const { return fYPtrs; }
12    uint8_t* allocChunk(size_t chunk);
13    
14private:
15    SkChunkAlloc    fChunk;
16    uint8_t**       fYPtrs;
17};
18
19#endif