HomeSort by relevance Sort by last modified time
    Searched refs:requiredPreviousFrameIndex (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/
ImageDecoderTest.cpp 84 TEST(ImageDecoderTest, requiredPreviousFrameIndex)
98 EXPECT_EQ(kNotFound, frameBuffers[0].requiredPreviousFrameIndex());
100 EXPECT_EQ(0u, frameBuffers[1].requiredPreviousFrameIndex());
102 EXPECT_EQ(1u, frameBuffers[2].requiredPreviousFrameIndex());
104 EXPECT_EQ(1u, frameBuffers[3].requiredPreviousFrameIndex());
105 EXPECT_EQ(1u, frameBuffers[4].requiredPreviousFrameIndex());
106 EXPECT_EQ(4u, frameBuffers[5].requiredPreviousFrameIndex());
118 EXPECT_EQ(kNotFound, frameBuffers[2].requiredPreviousFrameIndex());
123 EXPECT_EQ(1u, frameBuffers[2].requiredPreviousFrameIndex());
133 EXPECT_EQ(0u, frameBuffers[1].requiredPreviousFrameIndex());
    [all...]
ImageDecoder.cpp 186 return prevBuffer->requiredPreviousFrameIndex();
194 || (prevBuffer->requiredPreviousFrameIndex() == kNotFound)) ? kNotFound : prevFrame;
ImageFrame.h 126 size_t requiredPreviousFrameIndex() const
  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/
GIFImageDecoder.cpp 233 } else if (buffer.requiredPreviousFrameIndex() != kNotFound) {
238 const ImageFrame* prevBuffer = &m_frameBufferCache[buffer.requiredPreviousFrameIndex()];
265 clearExceptFrame = m_frameBufferCache[clearExceptFrame].requiredPreviousFrameIndex();
330 frameToDecode = m_frameBufferCache[frameToDecode].requiredPreviousFrameIndex();
356 size_t requiredPreviousFrameIndex = buffer->requiredPreviousFrameIndex();
357 if (requiredPreviousFrameIndex == kNotFound) {
362 const ImageFrame* prevBuffer = &m_frameBufferCache[requiredPreviousFrameIndex];
  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/
WEBPImageDecoder.cpp 126 frameToDecode = m_frameBufferCache[frameToDecode].requiredPreviousFrameIndex();
279 const size_t requiredPreviousFrameIndex = buffer.requiredPreviousFrameIndex();
280 if (requiredPreviousFrameIndex == kNotFound) {
286 const ImageFrame& prevBuffer = m_frameBufferCache[requiredPreviousFrameIndex];
318 clearExceptFrame = m_frameBufferCache[clearExceptFrame].requiredPreviousFrameIndex();
427 if ((m_formatFlags & ANIMATION_FLAG) && frameIndex && buffer.alphaBlendSource() == ImageFrame::BlendAtopPreviousFrame && buffer.requiredPreviousFrameIndex() != kNotFound) {
  /external/chromium_org/third_party/WebKit/Source/web/tests/
GIFImageDecoderTest.cpp 391 // of requiredPreviousFrameIndex before decoding.
399 EXPECT_EQ(kNotFound, decoder->frameBufferAtIndex(0)->requiredPreviousFrameIndex());
402 EXPECT_EQ(i - 1, decoder->frameBufferAtIndex(i)->requiredPreviousFrameIndex());
406 EXPECT_EQ(kNotFound, decoder->frameBufferAtIndex(i)->requiredPreviousFrameIndex());
WEBPImageDecoderTest.cpp 513 // of requiredPreviousFrameIndex before decoding.
521 EXPECT_EQ(kNotFound, decoder->frameBufferAtIndex(0)->requiredPreviousFrameIndex());
524 EXPECT_EQ(i - 1, decoder->frameBufferAtIndex(i)->requiredPreviousFrameIndex());
528 EXPECT_EQ(kNotFound, decoder->frameBufferAtIndex(i)->requiredPreviousFrameIndex());

Completed in 91 milliseconds