Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkGifCodec.cpp179 uint32_t transIndex; in ReadHeader() local
180 SkCodec::Result result = ReadUpToFirstImage(gif, &transIndex); in ReadHeader()
212 SkAlphaType alphaType = (transIndex < 256) ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in ReadHeader()
219 *codecOut = new SkGifCodec(imageInfo, streamDeleter.detach(), gif.detach(), transIndex, in ReadHeader()
243 uint32_t transIndex, const SkIRect& frameRect, bool frameIsSubset) in SkGifCodec() argument
251 , fTransIndex(transIndex) in SkGifCodec()
271 SkCodec::Result SkGifCodec::ReadUpToFirstImage(GifFileType* gif, uint32_t* transIndex) { argument
292 *transIndex = find_trans_index(saveExt);
DSkGifCodec.h84 static Result ReadUpToFirstImage(GifFileType* gif, uint32_t* transIndex);
191 SkGifCodec(const SkImageInfo& srcInfo, SkStream* stream, GifFileType* gif, uint32_t transIndex,
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DAnimatedGifEncoder.java50 private int transIndex; // transparent index in color table field in AnimatedGifEncoder
205 transIndex = 0; in finish()
336 transIndex = findClosest(transparent); in analyzePixels()
338 transIndex = findClosest(Color.TRANSPARENT); in analyzePixels()
438 out.write(transIndex); // transparent color index in writeGraphicCtrlExt()
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifFrame.java15 int transIndex; field in GifFrame
DGifDecoder.java278 if (header.bgIndex == currentFrame.transIndex) { in getNextFrame()
285 save = act[currentFrame.transIndex]; in getNextFrame()
287 act[currentFrame.transIndex] = 0; in getNextFrame()
303 act[currentFrame.transIndex] = save; in getNextFrame()
DGifHeaderParser.java167 header.currentFrame.transIndex = read(); in readGraphicControlExt()
/external/glide/third_party/gif_encoder/
DREADME.third_party14 Support setting transIndex based on the presence of transparent pixels in the Bitmap.