Home | History | Annotate | Download | only in images

Lines Matching defs:ctable

203 // call only if color_type is PALETTE. Returns true if the ctable has alpha
1061 static inline int pack_palette(SkColorTable* ctable,
1064 SkAutoLockColors alc(ctable);
1066 const int ctCount = ctable->count();
1071 ctable. PNG allows num_trans < num_palette, but all of the trans
1073 reorder the indices and ctable so that all non-opaque colors came
1075 I'm leaving the indices and ctable order as is, and just looking
1076 at the tail of the ctable for opaqueness.
1160 // don't specify alpha if we're a palette, even if our ctable has alpha
1175 SkColorTable* ctable = bitmap.getColorTable();
1176 if (NULL != ctable) {
1177 if (ctable->count() == 0) {
1181 bitDepth = computeBitDepth(ctable->count());