Home | History | Annotate | Download | only in images

Lines Matching defs:ctable

164 // call only if color_type is PALETTE. Returns true if the ctable has alpha
967 static inline int pack_palette(SkColorTable* ctable,
970 SkAutoLockColors alc(ctable);
972 const int ctCount = ctable->count();
977 ctable. PNG allows num_trans < num_palette, but all of the trans
979 reorder the indices and ctable so that all non-opaque colors came
981 I'm leaving the indices and ctable order as is, and just looking
982 at the tail of the ctable for opaqueness.
1064 // don't specify alpha if we're a palette, even if our ctable has alpha
1079 SkColorTable* ctable = bitmap.getColorTable();
1080 if (NULL != ctable) {
1081 if (ctable->count() == 0) {
1085 bitDepth = computeBitDepth(ctable->count());