Home
last modified time | relevance | path

Searched refs:currentFrame (Results 1 – 13 of 13) sorted by relevance

/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifHeaderParser.java90 if (header.currentFrame == null) { in readContents()
91 header.currentFrame = new GifFrame(); in readContents()
102 header.currentFrame = new GifFrame(); in readContents()
153 header.currentFrame.dispose = (packed & 0x1c) >> 2; in readGraphicControlExt()
154 if (header.currentFrame.dispose == 0) { in readGraphicControlExt()
156 header.currentFrame.dispose = 1; in readGraphicControlExt()
158 header.currentFrame.transparency = (packed & 1) != 0; in readGraphicControlExt()
165 header.currentFrame.delay = delayInHundredthsOfASecond * 10; in readGraphicControlExt()
167 header.currentFrame.transIndex = read(); in readGraphicControlExt()
177 header.currentFrame.ix = readShort(); in readBitmap()
[all …]
DGifDecoder.java266 GifFrame currentFrame = header.frames.get(framePointer); in getNextFrame() local
274 if (currentFrame.lct == null) { in getNextFrame()
277 act = currentFrame.lct; in getNextFrame()
278 if (header.bgIndex == currentFrame.transIndex) { in getNextFrame()
284 if (currentFrame.transparency) { in getNextFrame()
285 save = act[currentFrame.transIndex]; in getNextFrame()
287 act[currentFrame.transIndex] = 0; in getNextFrame()
299 Bitmap result = setPixels(currentFrame, previousFrame); in getNextFrame()
302 if (currentFrame.transparency) { in getNextFrame()
303 act[currentFrame.transIndex] = save; in getNextFrame()
[all …]
DGifHeader.java17 GifFrame currentFrame; field in GifHeader
/external/skia/third_party/gif/
DSkGifImageReader.cpp424 SkGIFFrameContext* currentFrame = m_frames[frameIndex].get(); in decode() local
426 return currentFrame->decode(&m_streamBuffer, m_client, frameComplete); in decode()
465 auto* currentFrame = m_frames.back().get(); in parse() local
467 currentFrame->setDataSize(this->getOneByte()); in parse()
606 SkGIFFrameContext* currentFrame = m_frames.back().get(); in parse() local
608 currentFrame->setTransparentPixel(currentComponent[3]); in parse()
619currentFrame->setDisposalMethod((SkCodecAnimation::DisposalMethod) rawDisposalMethod); in parse()
624 currentFrame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kRestorePrevious); in parse()
628 currentFrame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kKeep); in parse()
631 currentFrame->setDuration(GETINT16(currentComponent + 1) * 10); in parse()
[all …]
/external/skqp/third_party/gif/
DSkGifImageReader.cpp424 SkGIFFrameContext* currentFrame = m_frames[frameIndex].get(); in decode() local
426 return currentFrame->decode(&m_streamBuffer, m_client, frameComplete); in decode()
465 auto* currentFrame = m_frames.back().get(); in parse() local
467 currentFrame->setDataSize(this->getOneByte()); in parse()
606 SkGIFFrameContext* currentFrame = m_frames.back().get(); in parse() local
608 currentFrame->setTransparentPixel(currentComponent[3]); in parse()
619currentFrame->setDisposalMethod((SkCodecAnimation::DisposalMethod) rawDisposalMethod); in parse()
624 currentFrame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kRestorePrevious); in parse()
628 currentFrame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kKeep); in parse()
631 currentFrame->setDuration(GETINT16(currentComponent + 1) * 10); in parse()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DSpriteComponent.java101 AnimationFrame currentFrame = currentAnimation.getFrame(mAnimationTime); in update() local
102 if (currentFrame != null) { in update()
107 if (mVisible && currentFrame.texture != null && factory != null) { in update()
116 bitmap.setTexture(currentFrame.texture); in update()
124 mCollisionComponent.setCollisionVolumes(currentFrame.attackVolumes, in update()
125 currentFrame.vulnerabilityVolumes); in update()
/external/eigen/demos/opengl/
Dquaternion_demo.cpp277 Frame currentFrame; in animate() local
282 currentFrame = lo->second; in animate()
288 currentFrame = hi->second; in animate()
294 currentFrame = ::lerpFrame<EulerAngles<float> >(s, lo->second, hi->second); in animate()
296 currentFrame = ::lerpFrame<Eigen::Quaternionf>(s, lo->second, hi->second); in animate()
302 currentFrame.orientation.coeffs().normalize(); in animate()
305 currentFrame.orientation = currentFrame.orientation.inverse(); in animate()
306 currentFrame.position = - (currentFrame.orientation * currentFrame.position); in animate()
307 mCamera.setFrame(currentFrame); in animate()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifResourceEncoder.java61 Bitmap currentFrame = decoder.getNextFrame(); in encode() local
62 …Resource<Bitmap> transformedResource = getTransformedFrame(currentFrame, transformation, drawable); in encode()
112 …private Resource<Bitmap> getTransformedFrame(Bitmap currentFrame, Transformation<Bitmap> transform… in getTransformedFrame() argument
115 Resource<Bitmap> bitmapResource = factory.buildFrameResource(currentFrame, bitmapPool); in getTransformedFrame()
DGifDrawable.java228 Bitmap currentFrame = frameManager.getCurrentFrame(); in draw() local
229 Bitmap toDraw = currentFrame != null ? currentFrame : state.firstFrame; in draw()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DXUnresolvedVariable.java116 int currentFrame = vars.getStackFrame(); in execute() local
136 vars.unlink(currentFrame); in execute()
/external/apache-xml/src/main/java/org/apache/xpath/
DVariableStack.java255 public void unlink(int currentFrame) in unlink() argument
258 _currentFrameBottom = currentFrame; in unlink()
/external/deqp/modules/egl/
DteglSwapBuffersWithDamageTests.cpp500 const Frame& currentFrame = frameSequence[frameNdx]; in iterate() local
501 vector<EGLint> damageRegion = getDamageRegion(currentFrame); in iterate()
503 m_gles2Renderer->render(width, height, currentFrame); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiIncrementalPresentTests.cpp370 size_t currentFrame, in createCommandBuffer() argument
414 for (size_t frameNdx = imageNextFrame; frameNdx <= currentFrame; frameNdx++) in createCommandBuffer()