Lines Matching refs:ctable

38             const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
42 reconfigure(info, rowBytes, ctable);
52 void reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) {
54 ctable = nullptr;
57 if (mColorTable != ctable) {
59 mColorTable = ctable;
130 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
135 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
142 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
147 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
154 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
159 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
253 SkColorTable* ctable) {
261 mPixelRef->reconfigure(info, rowBytes, ctable);
612 SkColorTable* ctable) {
615 const SkPMColor* colors = ctable->readColors();
622 SkColorTable* ctable) {
625 const SkPMColor* colors = ctable->readColors();
634 SkColorTable* ctable) {
637 const SkPMColor* colors = ctable->readColors();
967 SkColorTable* ctable = NULL;
981 ctable = new SkColorTable(src, count);
990 SkSafeUnref(ctable);
1010 SkSafeUnref(ctable);
1017 ctable, dupFd, const_cast<void*>(blob.data()), !isMutable);
1018 SkSafeUnref(ctable);
1043 nativeBitmap = GraphicsJNI::allocateJavaPixelRef(env, bitmap.get(), ctable);
1044 SkSafeUnref(ctable);
1086 SkColorTable* ctable = bitmap.getColorTable();
1087 if (ctable != NULL) {
1088 int count = ctable->count();
1091 ctable->readColors(), count * sizeof(SkPMColor));
1093 p->writeInt32(0); // indicate no ctable
1211 SkColorTable* ctable = bitmap.getColorTable();
1215 proc(d, src, width, ctable);