Home
last modified time | relevance | path

Searched refs:gifIn (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/jni/
DGifTranscoder.cpp81 GifFileType* gifIn; in transcode() local
87 gifIn = DGifOpenFileName(pathIn, &error); in transcode()
88 if (gifIn) { in transcode()
89 closer.setGifIn(gifIn); in transcode()
106 if (resizeBoxFilter(gifIn, gifOut)) { in transcode()
116 bool GifTranscoder::resizeBoxFilter(GifFileType* gifIn, GifFileType* gifOut) { in resizeBoxFilter() argument
117 ASSERT(gifIn != NULL, "gifIn cannot be NULL"); in resizeBoxFilter()
120 if (gifIn->SWidth < 0 || gifIn->SHeight < 0) { in resizeBoxFilter()
121 LOGE("Input GIF has invalid size: %d x %d", gifIn->SWidth, gifIn->SHeight); in resizeBoxFilter()
127 gifIn->SWidth / 2, in resizeBoxFilter()
[all …]
DGifTranscoder.h52 static bool resizeBoxFilter(GifFileType* gifIn, GifFileType* gifOut);
55 static bool readImage(GifFileType* gifIn, GifByteType* rasterBits);
58 static bool renderImage(GifFileType* gifIn,
78 static GifByteType computeNewColorIndex(GifFileType* gifIn,
95 static ColorMapObject* getColorMap(GifFileType* gifIn);
111 void setGifIn(GifFileType* gifIn);