Home
last modified time | relevance | path

Searched refs:frameIndex (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/codec/
DSkGifCodec.cpp151 void SkGifCodec::initializeColorTable(const SkImageInfo& dstInfo, int frameIndex) { in initializeColorTable() argument
157 sk_sp<SkColorTable> currColorTable = fReader->getColorTable(colorTableColorType, frameIndex); in initializeColorTable()
179 const int frameIndex = opts.fFrameIndex; in prepareToDecode() local
180 if (frameIndex > 0 && kRGB_565_SkColorType == dstInfo.colorType()) { in prepareToDecode()
198 const auto* frame = fReader->frameContext(frameIndex); in prepareToDecode()
200 if (0 == frameIndex) { in prepareToDecode()
212 SkASSERT(frameIndex < fReader->imagesCount()); in prepareToDecode()
223 this->initializeColorTable(dstInfo, frameIndex); in prepareToDecode()
224 this->initializeSwizzler(dstInfo, frameIndex); in prepareToDecode()
230 void SkGifCodec::initializeSwizzler(const SkImageInfo& dstInfo, int frameIndex) { in initializeSwizzler() argument
[all …]
DSkGifCodec.h35 void haveDecodedRow(int frameIndex, const unsigned char* rowBegin,
71 void initializeColorTable(const SkImageInfo& dstInfo, int frameIndex);
87 void initializeSwizzler(const SkImageInfo& dstInfo, int frameIndex);
DSkWuffsCodec.cpp191 Result seekFrame(int frameIndex);
421 static bool independent_frame(SkCodec* codec, int frameIndex) { in independent_frame() argument
422 if (frameIndex == 0) { in independent_frame()
427 SkAssertResult(codec->getFrameInfo(frameIndex, &frameInfo)); in independent_frame()
668 SkCodec::Result SkWuffsCodec::seekFrame(int frameIndex) { in seekFrame() argument
677 if (frameIndex < 0) { in seekFrame()
679 } else if (frameIndex == 0) { in seekFrame()
681 } else if (static_cast<size_t>(frameIndex) < fFrames.size()) { in seekFrame()
682 pos = fFrames[frameIndex].ioPosition(); in seekFrame()
690 const char* status = fDecoder->restart_frame(frameIndex, fIOBuffer.reader_io_position()); in seekFrame()
/external/skqp/src/codec/
DSkGifCodec.cpp151 void SkGifCodec::initializeColorTable(const SkImageInfo& dstInfo, int frameIndex) { in initializeColorTable() argument
157 sk_sp<SkColorTable> currColorTable = fReader->getColorTable(colorTableColorType, frameIndex); in initializeColorTable()
179 const int frameIndex = opts.fFrameIndex; in prepareToDecode() local
180 if (frameIndex > 0 && kRGB_565_SkColorType == dstInfo.colorType()) { in prepareToDecode()
198 const auto* frame = fReader->frameContext(frameIndex); in prepareToDecode()
200 if (0 == frameIndex) { in prepareToDecode()
212 SkASSERT(frameIndex < fReader->imagesCount()); in prepareToDecode()
223 this->initializeColorTable(dstInfo, frameIndex); in prepareToDecode()
224 this->initializeSwizzler(dstInfo, frameIndex); in prepareToDecode()
230 void SkGifCodec::initializeSwizzler(const SkImageInfo& dstInfo, int frameIndex) { in initializeSwizzler() argument
[all …]
DSkGifCodec.h35 void haveDecodedRow(int frameIndex, const unsigned char* rowBegin,
71 void initializeColorTable(const SkImageInfo& dstInfo, int frameIndex);
87 void initializeSwizzler(const SkImageInfo& dstInfo, int frameIndex);
DSkWuffsCodec.cpp188 Result seekFrame(int frameIndex);
410 static bool independent_frame(SkCodec* codec, int frameIndex) { in independent_frame() argument
411 if (frameIndex == 0) { in independent_frame()
416 SkAssertResult(codec->getFrameInfo(frameIndex, &frameInfo)); in independent_frame()
665 SkCodec::Result SkWuffsCodec::seekFrame(int frameIndex) { in seekFrame() argument
674 if (frameIndex < 0) { in seekFrame()
676 } else if (frameIndex == 0) { in seekFrame()
678 } else if (static_cast<size_t>(frameIndex) < fFrames.size()) { in seekFrame()
679 pos = fFrames[frameIndex].ioPosition(); in seekFrame()
687 const char* status = fDecoder->restart_frame(frameIndex, fIOBuffer.reader_io_position()); in seekFrame()
/external/skia/gm/
DanimatedGif.cpp33 void drawFrame(SkCanvas* canvas, int frameIndex) { in drawFrame() argument
35 if (frameIndex >= (int) fFrames.size()) { in drawFrame()
36 fFrames.resize(frameIndex + 1); in drawFrame()
38 SkBitmap& bm = fFrames[frameIndex]; in drawFrame()
44 opts.fFrameIndex = frameIndex; in drawFrame()
45 const int requiredFrame = fFrameInfos[frameIndex].fRequiredFrame; in drawFrame()
59 SkDebugf("Could not getPixels for frame %i: %s", frameIndex, FLAGS_animatedGif[0]); in drawFrame()
122 for (int frameIndex = 0; frameIndex < fTotalFrames; frameIndex++) { in onDraw() local
123 this->drawFrame(canvas, frameIndex); in onDraw()
/external/skqp/gm/
DanimatedGif.cpp45 void drawFrame(SkCanvas* canvas, int frameIndex) { in drawFrame() argument
47 if (frameIndex >= (int) fFrames.size()) { in drawFrame()
48 fFrames.resize(frameIndex + 1); in drawFrame()
50 SkBitmap& bm = fFrames[frameIndex]; in drawFrame()
56 opts.fFrameIndex = frameIndex; in drawFrame()
57 const int requiredFrame = fFrameInfos[frameIndex].fRequiredFrame; in drawFrame()
71 SkDebugf("Could not getPixels for frame %i: %s", frameIndex, FLAGS_animatedGif[0]); in drawFrame()
136 for (int frameIndex = 0; frameIndex < fTotalFrames; frameIndex++) { in onDraw() local
137 this->drawFrame(canvas, frameIndex); in onDraw()
/external/llvm/test/Transforms/LoopVectorize/
Dpr25281.ll21 %frameIndex = phi i32 [ 0, %entry_block ], [ %nextFrameIndex, %for_each_frames_end ]
22 %nextFrameIndex = add nuw nsw i32 %frameIndex, 2
28 %tmp4 = add i32 %frameIndex, %channelIndex
30 %tmp6 = mul i32 %frameIndex, %tmp5
35 %tmp9 = mul i32 %frameIndex, %tmp8
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dpr25281.ll20 %frameIndex = phi i32 [ 0, %entry_block ], [ %nextFrameIndex, %for_each_frames_end ]
21 %nextFrameIndex = add nuw nsw i32 %frameIndex, 2
27 %tmp4 = add i32 %frameIndex, %channelIndex
29 %tmp6 = mul i32 %frameIndex, %tmp5
34 %tmp9 = mul i32 %frameIndex, %tmp8
/external/v4l2_codec2/tests/
DC2VDAComponent_test.cpp491 work->input.ordinal.frameIndex.peekull(), work->result, in TEST_P()
549 if (iteration == 0 && work->input.ordinal.frameIndex.peeku() == in TEST_P()
642 work->input.ordinal.frameIndex = static_cast<uint64_t>(numWorks); in TEST_P()
651 ALOGV("Input: (Dummy EOS) id: %llu", work->input.ordinal.frameIndex.peekull()); in TEST_P()
663 work->input.ordinal.frameIndex.peekull(), in TEST_P()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawable.java251 public void onFrameRead(int frameIndex) { in onFrameRead() argument
263 if (frameIndex == decoder.getFrameCount() - 1) { in onFrameRead()
/external/llvm/include/llvm/CodeGen/
DVirtRegMap.h178 void assignVirt2StackSlot(unsigned virtReg, int frameIndex);
/external/v4l2_codec2/
DC2VDAComponent.cpp52 int32_t frameIndexToBitstreamId(c2_cntr64_t frameIndex) { in frameIndexToBitstreamId() argument
53 return static_cast<int32_t>(frameIndex.peeku() & 0x3FFFFFFF); in frameIndexToBitstreamId()
473 work->input.ordinal.frameIndex.peekull(), work->input.ordinal.timestamp.peekull()); in onQueueWork()
512 int32_t bitstreamId = frameIndexToBitstreamId(work->input.ordinal.frameIndex); in onDequeueWork()
536 mPendingColorAspectsChangeFrameIndex = work->input.ordinal.frameIndex.peeku(); in onDequeueWork()
684 work->input.ordinal.frameIndex.peeku() >= mPendingColorAspectsChangeFrameIndex) { in sendOutputBufferToWorkIfAny()
881 return frameIndexToBitstreamId(w->input.ordinal.frameIndex) == in findPendingWorkByBitstreamId()
1584 ALOGV("Reported finished work index=%llu", work->input.ordinal.frameIndex.peekull()); in reportWorkIfFinished()
/external/skia/third_party/gif/
DSkGifImageReader.cpp422 bool SkGifImageReader::decode(int frameIndex, bool* frameComplete) in decode() argument
424 SkGIFFrameContext* currentFrame = m_frames[frameIndex].get(); in decode()
DSkGifImageReader.h310 bool decode(int frameIndex, bool* frameComplete);
/external/skqp/third_party/gif/
DSkGifImageReader.cpp422 bool SkGifImageReader::decode(int frameIndex, bool* frameComplete) in decode() argument
424 SkGIFFrameContext* currentFrame = m_frames[frameIndex].get(); in decode()
DSkGifImageReader.h310 bool decode(int frameIndex, bool* frameComplete);
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DVirtRegMap.h265 void assignVirt2StackSlot(unsigned virtReg, int frameIndex);
/external/v4l2_codec2/cmds/
Dcodec2.cpp332 work->input.ordinal.frameIndex = numFrames; in play()
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h1292 uint32_t frameIndex);
4477 void SetCurrentFrameIndex(uint32_t frameIndex);
8241 void VmaAllocator_T::SetCurrentFrameIndex(uint32_t frameIndex) in SetCurrentFrameIndex() argument
8243 m_CurrentFrameIndex.store(frameIndex); in SetCurrentFrameIndex()
8620 uint32_t frameIndex) in vmaSetCurrentFrameIndex() argument
8623 VMA_ASSERT(frameIndex != VMA_FRAME_INDEX_LOST); in vmaSetCurrentFrameIndex()
8627 allocator->SetCurrentFrameIndex(frameIndex); in vmaSetCurrentFrameIndex()
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h1292 uint32_t frameIndex);
4477 void SetCurrentFrameIndex(uint32_t frameIndex);
8241 void VmaAllocator_T::SetCurrentFrameIndex(uint32_t frameIndex) in SetCurrentFrameIndex() argument
8243 m_CurrentFrameIndex.store(frameIndex); in SetCurrentFrameIndex()
8620 uint32_t frameIndex) in vmaSetCurrentFrameIndex() argument
8623 VMA_ASSERT(frameIndex != VMA_FRAME_INDEX_LOST); in vmaSetCurrentFrameIndex()
8627 allocator->SetCurrentFrameIndex(frameIndex); in vmaSetCurrentFrameIndex()