/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
GifBitmapProvider.java | 1 package com.bumptech.glide.load.resource.gif;
|
GifDrawableLoadProvider.java | 1 package com.bumptech.glide.load.resource.gif; 18 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} that can be used to display an animated GIF.
|
GifDrawableResource.java | 1 package com.bumptech.glide.load.resource.gif; 7 * A resource wrapping an {@link com.bumptech.glide.load.resource.gif.GifDrawable}.
|
GifFrameModelLoader.java | 1 package com.bumptech.glide.load.resource.gif;
|
GifFrameResourceDecoder.java | 1 package com.bumptech.glide.load.resource.gif; 26 return "GifFrameResourceDecoder.com.bumptech.glide.load.resource.gif";
|
GifDrawableTransformation.java | 1 package com.bumptech.glide.load.resource.gif; 12 * and can apply it to every frame of any {@link com.bumptech.glide.load.resource.gif.GifDrawable}. 29 // our gif, here we create a stand in for a frame and pass it to the transformation to see what the final
|
GifFrameManager.java | 1 package com.bumptech.glide.load.resource.gif;
|
GifResourceDecoder.java | 1 package com.bumptech.glide.load.resource.gif; 24 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} from {@link java.io.InputStream} data. 71 // If we couldn't decode the GIF, we will end up with a frame count of 0.
|
GifResourceEncoder.java | 1 package com.bumptech.glide.load.resource.gif; 23 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} to cache. 80 Log.v(TAG, "Encoded gif with " + decoder.getFrameCount() + " frames and " + drawable.getData().length
|
GifDrawable.java | 1 package com.bumptech.glide.load.resource.gif; 23 * An animated {@link android.graphics.drawable.Drawable} that plays the frames of an animated GIF. 44 /** The number of times we've looped over all the frames in the gif. */ 46 /** The number of times to loop through the gif animation. */ 66 * @param gifHeader The header data for this gif. 67 * @param data The full bytes of the gif. 68 * @param firstFrame The decoded and transformed first frame of this gif. 104 throw new NullPointerException("The first frame of the GIF must not be null"); 328 throw new NullPointerException("The first frame of the GIF must not be null");
|
/prebuilts/go/darwin-x86/src/image/gif/ |
reader_test.go | 5 package gif package 16 // header, palette and trailer are parts of a valid 2x1 GIF image. 51 // then this should result in an invalid GIF image. First, write a 139 // testGIF is a simple GIF that we can modify to test different scenarios. 169 gif := make([]byte, len(testGIF)) 170 copy(gif, testGIF) 172 gif[32] = 2 173 want := "gif: frame bounds larger than image bounds" 174 try(t, gif, want) 178 gif[32] = [all...] |
writer.go | 5 package gif package 49 // encoder encodes an image to the GIF format. 56 g GIF 65 // blockWriter writes the block structure of GIF image data, which 188 e.err = errors.New("gif: cannot encode image block with empty palette") 194 e.err = errors.New("gif: image block is too large to encode") 198 e.err = errors.New("gif: image block is out of bounds") 289 // EncodeAll writes the images in g to w in GIF format with the 291 func EncodeAll(w io.Writer, g *GIF) error { 293 return errors.New("gif: must provide at least one image" [all...] |
writer_test.go | 5 package gif package 30 func readGIF(filename string) (*GIF, error) { 72 {"../testdata/video-001.gif", 0}, 73 {"../testdata/video-001.interlaced.gif", 0}, 108 m0, err := readImg("../testdata/video-001.gif") 158 "../testdata/video-001.gif", 159 "../testdata/video-005.gray.gif", 165 g0 := &GIF{ 182 // The GIF.Disposal, GIF.Config and GIF.BackgroundIndex fields were adde [all...] |
reader.go | 5 // Package gif implements a GIF image decoder and encoder. 7 // The GIF specification is at http://www.w3.org/Graphics/GIF/spec-gif89a.txt. 8 package gif package 21 errNotEnough = errors.New("gif: not enough image data") 22 errTooMuch = errors.New("gif: too much image data") 23 errBadPixel = errors.New("gif: invalid pixel value") 66 // decoder is the type used to decode a GIF file. 96 // blockReader parses the block structure of GIF image data, whic [all...] |
/prebuilts/go/linux-x86/src/image/gif/ |
reader_test.go | 5 package gif package 16 // header, palette and trailer are parts of a valid 2x1 GIF image. 51 // then this should result in an invalid GIF image. First, write a 139 // testGIF is a simple GIF that we can modify to test different scenarios. 169 gif := make([]byte, len(testGIF)) 170 copy(gif, testGIF) 172 gif[32] = 2 173 want := "gif: frame bounds larger than image bounds" 174 try(t, gif, want) 178 gif[32] = [all...] |
writer.go | 5 package gif package 49 // encoder encodes an image to the GIF format. 56 g GIF 65 // blockWriter writes the block structure of GIF image data, which 188 e.err = errors.New("gif: cannot encode image block with empty palette") 194 e.err = errors.New("gif: image block is too large to encode") 198 e.err = errors.New("gif: image block is out of bounds") 289 // EncodeAll writes the images in g to w in GIF format with the 291 func EncodeAll(w io.Writer, g *GIF) error { 293 return errors.New("gif: must provide at least one image" [all...] |
writer_test.go | 5 package gif package 30 func readGIF(filename string) (*GIF, error) { 72 {"../testdata/video-001.gif", 0}, 73 {"../testdata/video-001.interlaced.gif", 0}, 108 m0, err := readImg("../testdata/video-001.gif") 158 "../testdata/video-001.gif", 159 "../testdata/video-005.gray.gif", 165 g0 := &GIF{ 182 // The GIF.Disposal, GIF.Config and GIF.BackgroundIndex fields were adde [all...] |
reader.go | 5 // Package gif implements a GIF image decoder and encoder. 7 // The GIF specification is at http://www.w3.org/Graphics/GIF/spec-gif89a.txt. 8 package gif package 21 errNotEnough = errors.New("gif: not enough image data") 22 errTooMuch = errors.New("gif: too much image data") 23 errBadPixel = errors.New("gif: invalid pixel value") 66 // decoder is the type used to decode a GIF file. 96 // blockReader parses the block structure of GIF image data, whic [all...] |
/external/skia/src/images/ |
SkImageDecoder_libgif.cpp | 41 "images.gif.suppressDecoderWarnings", true, 42 "Suppress GIF warnings and errors when calling image decode " 46 /* Implement the GIF interlace algorithm in an iterator. 118 static const ColorMapObject* find_colormap(const GifFileType* gif) { 119 const ColorMapObject* cmap = gif->Image.ColorMap; 121 cmap = gif->SColorMap; 173 * Skip rows in the source gif image. 174 * @param gif Source image. 175 * @param dst Scratch output needed by gif library call. Must be >= width bytes. 180 static bool skip_src_rows(GifFileType* gif, uint8_t* dst, int width, int rowsToSkip) 245 GifFileType* gif = DGifOpen(sk_stream, DecodeCallBackProc); local [all...] |
SkMovie_gif.cpp | 347 const GifFileType* gif = fGIF; local 348 if (nullptr == gif) 351 if (gif->ImageCount < 1) { 355 const int width = gif->SWidth; 356 const int height = gif->SHeight; 395 if (gif->SColorMap != nullptr) { 396 const GifColorType& col = gif->SColorMap->Colors[fGIF->SBackGroundColor]; 407 if (!trans && gif->SColorMap != nullptr) { 425 drawFrame(bm, cur, gif->SColorMap);
|
/frameworks/ex/framesequence/jni/ |
FrameSequence_gif.cpp | 51 ALOGW("Gif load failed"); 56 ALOGW("Gif slurp failed"); 220 GifFileType* gif = mFrameSequence.getGif(); local 221 if (!gif) { 250 DGifSavedExtensionToGCB(gif, i, &gcb); 251 const SavedImage& frame = gif->SavedImages[i]; 268 DGifSavedExtensionToGCB(gif, i - 1, &prevGcb); 269 const SavedImage& prevFrame = gif->SavedImages[i - 1]; 305 const ColorMapObject* cmap = gif->SColorMap; 328 const int maxFrame = gif->ImageCount [all...] |