Home
last modified time | relevance | path

Searched refs:ImageDesc (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/images/
DSkMovie_gif.cpp153 GifWord copyWidth = frame->ImageDesc.Width; in blitInterlace()
154 if (frame->ImageDesc.Left + copyWidth > width) { in blitInterlace()
155 copyWidth = width - frame->ImageDesc.Left; in blitInterlace()
158 GifWord copyHeight = frame->ImageDesc.Height; in blitInterlace()
159 if (frame->ImageDesc.Top + copyHeight > height) { in blitInterlace()
160 copyHeight = height - frame->ImageDesc.Top; in blitInterlace()
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()
[all …]
DSkImageDecoder_libgif.cpp288 const GifImageDesc& desc = image->ImageDesc;
/external/giflib/
Dgifalloc.c207 register int RasterSize = Image->ImageDesc.Height * Image->ImageDesc.Width; in GifApplyTranslation()
288 if (sp->ImageDesc.ColorMap != NULL) { in FreeLastSavedImage()
289 GifFreeMapObject(sp->ImageDesc.ColorMap); in FreeLastSavedImage()
290 sp->ImageDesc.ColorMap = NULL; in FreeLastSavedImage()
338 if (sp->ImageDesc.ColorMap != NULL) { in GifMakeSavedImage()
339 sp->ImageDesc.ColorMap = GifMakeMapObject( in GifMakeSavedImage()
340 CopyFrom->ImageDesc.ColorMap->ColorCount, in GifMakeSavedImage()
341 CopyFrom->ImageDesc.ColorMap->Colors); in GifMakeSavedImage()
342 if (sp->ImageDesc.ColorMap == NULL) { in GifMakeSavedImage()
350 CopyFrom->ImageDesc.Height * in GifMakeSavedImage()
[all …]
Ddgif_lib.c403 memcpy(&sp->ImageDesc, &GifFile->Image, sizeof(GifImageDesc)); in DGifGetImageDesc()
405 sp->ImageDesc.ColorMap = GifMakeMapObject( in DGifGetImageDesc()
408 if (sp->ImageDesc.ColorMap == NULL) { in DGifGetImageDesc()
1084 if (sp->ImageDesc.Width < 0 && sp->ImageDesc.Height < 0 && in DGifSlurp()
1085 sp->ImageDesc.Width > (INT_MAX / sp->ImageDesc.Height)) { in DGifSlurp()
1088 ImageSize = sp->ImageDesc.Width * sp->ImageDesc.Height; in DGifSlurp()
1100 if (sp->ImageDesc.Interlace) { in DGifSlurp()
1111 j < sp->ImageDesc.Height; in DGifSlurp()
1114 sp->RasterBits+j*sp->ImageDesc.Width, in DGifSlurp()
1115 sp->ImageDesc.Width) == GIF_ERROR) in DGifSlurp()
Degif_lib.c1089 int SavedHeight = sp->ImageDesc.Height; in EGifSpew()
1090 int SavedWidth = sp->ImageDesc.Width; in EGifSpew()
1102 sp->ImageDesc.Left, in EGifSpew()
1103 sp->ImageDesc.Top, in EGifSpew()
1106 sp->ImageDesc.Interlace, in EGifSpew()
1107 sp->ImageDesc.ColorMap) == GIF_ERROR) in EGifSpew()
1110 if (sp->ImageDesc.Interlace) { in EGifSpew()
Dgif_lib.h64 GifImageDesc ImageDesc; member
/external/skia/src/codec/
DSkCodec_libgif.cpp305 const GifImageDesc& desc = image->ImageDesc;