Lines Matching refs:cmap
119 static void copyLine(uint32_t* dst, const unsigned char* src, const ColorMapObject* cmap, in copyLine() argument
124 const GifColorType& col = cmap->Colors[*src]; in copyLine()
132 const ColorMapObject* cmap, int transparent, int copyWidth, in copyInterlaceGroup() argument
140 copyLine(dst, src, cmap, transparent, copyWidth); in copyInterlaceGroup()
148 static void blitInterlace(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap, in blitInterlace() argument
167 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 0); in blitInterlace()
170 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 4); in blitInterlace()
173 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 4, 2); in blitInterlace()
175 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 2, 1); in blitInterlace()
179 static void blitNormal(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap, in blitNormal() argument
197 copyLine(dst, src, cmap, transparent, copyWidth); in blitNormal()
225 static void drawFrame(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap) in drawFrame() argument
242 cmap = frame->ImageDesc.ColorMap; in drawFrame()
245 if (cmap == NULL || cmap->ColorCount != (1 << cmap->BitsPerPixel)) { in drawFrame()
253 blitInterlace(bm, frame, cmap, transparent); in drawFrame()
258 blitNormal(bm, frame, cmap, transparent); in drawFrame()