Home
last modified time | relevance | path

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

12

/external/oboe/samples/iolib/src/main/cpp/player/
DOneShotSampleSource.cpp38 for (int32_t frameIndex = 0; frameIndex < numWriteFrames; frameIndex++) { in mixAudio() local
39 outBuff[frameIndex] += data[mCurFrameIndex++] * mGain; in mixAudio()
44 for (int32_t frameIndex = 0; frameIndex < numWriteFrames; frameIndex++) { in mixAudio() local
/external/skia/third_party/libgifcodec/
DSkLibGifCodec.cpp156 void SkLibGifCodec::initializeColorTable(const SkImageInfo& dstInfo, int frameIndex) { in initializeColorTable() argument
162 sk_sp<SkColorTable> currColorTable = fReader->getColorTable(colorTableColorType, frameIndex); in initializeColorTable()
184 const int frameIndex = opts.fFrameIndex; in prepareToDecode() local
185 if (frameIndex > 0 && kRGB_565_SkColorType == dstInfo.colorType()) { in prepareToDecode()
203 const auto* frame = fReader->frameContext(frameIndex); in prepareToDecode()
205 if (0 == frameIndex) { in prepareToDecode()
217 SkASSERT(frameIndex < fReader->imagesCount()); in prepareToDecode()
228 this->initializeColorTable(dstInfo, frameIndex); in prepareToDecode()
229 this->initializeSwizzler(dstInfo, frameIndex); in prepareToDecode()
235 void SkLibGifCodec::initializeSwizzler(const SkImageInfo& dstInfo, int frameIndex) { in initializeSwizzler() argument
[all …]
DSkLibGifCodec.h32 void haveDecodedRow(int frameIndex, const unsigned char* rowBegin,
75 void initializeColorTable(const SkImageInfo& dstInfo, int frameIndex);
91 void initializeSwizzler(const SkImageInfo& dstInfo, int frameIndex);
/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/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/zstd/contrib/seekable_format/
Dzstdseek_decompress.c233 …gned long long ZSTD_seekable_getFrameCompressedOffset(ZSTD_seekable* const zs, unsigned frameIndex) in ZSTD_seekable_getFrameCompressedOffset() argument
235 if (frameIndex >= zs->seekTable.tableLen) return ZSTD_SEEKABLE_FRAMEINDEX_TOOLARGE; in ZSTD_seekable_getFrameCompressedOffset()
236 return zs->seekTable.entries[frameIndex].cOffset; in ZSTD_seekable_getFrameCompressedOffset()
239 …ed long long ZSTD_seekable_getFrameDecompressedOffset(ZSTD_seekable* const zs, unsigned frameIndex) in ZSTD_seekable_getFrameDecompressedOffset() argument
241 if (frameIndex >= zs->seekTable.tableLen) return ZSTD_SEEKABLE_FRAMEINDEX_TOOLARGE; in ZSTD_seekable_getFrameDecompressedOffset()
242 return zs->seekTable.entries[frameIndex].dOffset; in ZSTD_seekable_getFrameDecompressedOffset()
245 size_t ZSTD_seekable_getFrameCompressedSize(ZSTD_seekable* const zs, unsigned frameIndex) in ZSTD_seekable_getFrameCompressedSize() argument
247 if (frameIndex >= zs->seekTable.tableLen) return ERROR(frameIndex_tooLarge); in ZSTD_seekable_getFrameCompressedSize()
248 return zs->seekTable.entries[frameIndex + 1].cOffset - in ZSTD_seekable_getFrameCompressedSize()
249 zs->seekTable.entries[frameIndex].cOffset; in ZSTD_seekable_getFrameCompressedSize()
[all …]
Dzstd_seekable.h161 …t ZSTD_seekable_decompressFrame(ZSTD_seekable* zs, void* dst, size_t dstSize, unsigned frameIndex);
166 …ned long long ZSTD_seekable_getFrameCompressedOffset(ZSTD_seekable* const zs, unsigned frameIndex);
167 …d long long ZSTD_seekable_getFrameDecompressedOffset(ZSTD_seekable* const zs, unsigned frameIndex);
168 …DLIB_API size_t ZSTD_seekable_getFrameCompressedSize(ZSTD_seekable* const zs, unsigned frameIndex);
169 …IB_API size_t ZSTD_seekable_getFrameDecompressedSize(ZSTD_seekable* const zs, unsigned frameIndex);
/external/skia/gm/
Danimated_gif.cpp41 void drawFrame(SkCanvas* canvas, int frameIndex) { in drawFrame() argument
43 if (frameIndex >= (int) fFrames.size()) { in drawFrame()
44 fFrames.resize(frameIndex + 1); in drawFrame()
46 SkBitmap& bm = fFrames[frameIndex]; in drawFrame()
52 opts.fFrameIndex = frameIndex; in drawFrame()
53 const int requiredFrame = fFrameInfos[frameIndex].fRequiredFrame; in drawFrame()
67 SkDebugf("Could not getPixels for frame %i: %s", frameIndex, FLAGS_animatedGif[0]); in drawFrame()
130 for (int frameIndex = 0; frameIndex < fTotalFrames; frameIndex++) { in onDraw() local
131 this->drawFrame(canvas, frameIndex); in onDraw()
/external/angle/src/tests/perf_tests/
DUniformsPerf.cpp386 size_t frameIndex = 0; in drawLoop() local
388 for (size_t it = 0; it < params.iterationsPerStep; ++it, frameIndex = (frameIndex == 0 ? 1 : 0)) in drawLoop()
392 glUseProgram(mPrograms[frameIndex]); in drawLoop()
398 setUniformsFunc(mUniformLocations, mMatrixData, uniform, frameIndex); in drawLoop()
416 size_t uniform, size_t frameIndex) { in drawBenchmark() argument
418 matrixData[frameIndex][uniform].data); in drawBenchmark()
427 size_t uniform, size_t frameIndex) { in drawBenchmark() argument
429 matrixData[frameIndex][uniform].data); in drawBenchmark()
438 size_t uniform, size_t frameIndex) { in drawBenchmark() argument
440 matrixData[frameIndex][uniform].data); in drawBenchmark()
[all …]
/external/v4l2_codec2/common/include/v4l2_codec2/common/
DFormatConverter.h60 C2ConstGraphicBlock convertBlock(uint64_t frameIndex, const C2ConstGraphicBlock& inputBlock,
63 c2_status_t returnBlock(uint64_t frameIndex);
86 BlockEntry(uint64_t frameIndex) : mAssociatedFrameIndex(frameIndex) {} in BlockEntry()
/external/llvm-project/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/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/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/
Dvscode.py383 def get_stackFrame(self, frameIndex=0, threadId=None): argument
392 response = self.request_stackTrace(threadId, startFrame=frameIndex,
403 def get_scope_variables(self, scope_name, frameIndex=0, threadId=None): argument
404 stackFrame = self.get_stackFrame(frameIndex=frameIndex,
427 def get_global_variables(self, frameIndex=0, threadId=None): argument
428 return self.get_scope_variables('Globals', frameIndex=frameIndex,
431 def get_local_variables(self, frameIndex=0, threadId=None): argument
432 return self.get_scope_variables('Locals', frameIndex=frameIndex,
435 def get_local_variable(self, name, frameIndex=0, threadId=None): argument
436 locals = self.get_local_variables(frameIndex=frameIndex,
[all …]
/external/angle/util/
Dframe_capture_test_utils.h94 void replayFrame(uint32_t frameIndex) { callFunc<ReplayFrameFunc>("ReplayFrame", frameIndex); } in replayFrame() argument
102 const char *getSerializedContextState(uint32_t frameIndex) in getSerializedContextState() argument
104 return callFunc<GetSerializedContextStateFunc>("GetSerializedContextState", frameIndex); in getSerializedContextState()
/external/v4l2_codec2/common/
DFormatConverter.cpp161 C2ConstGraphicBlock FormatConverter::convertBlock(uint64_t frameIndex, in convertBlock() argument
218 mGraphicBlocks.emplace_back(new BlockEntry(frameIndex)); in convertBlock()
299 ALOGV("convertBlock(frame_index=%" PRIu64 ", format=%s)", frameIndex, in convertBlock()
301 entry->mAssociatedFrameIndex = frameIndex; in convertBlock()
306 c2_status_t FormatConverter::returnBlock(uint64_t frameIndex) { in returnBlock() argument
307 ALOGV("returnBlock(frame_index=%" PRIu64 ")", frameIndex); in returnBlock()
310 [frameIndex](const std::unique_ptr<BlockEntry>& be) { in returnBlock()
311 return be->mAssociatedFrameIndex == frameIndex; in returnBlock()
315 frameIndex); in returnBlock()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DStackTraceRecovery.kt39 val lastIntrinsic = stackTrace.frameIndex(stackTraceRecoveryClassName) in sanitizeStackTrace()
41 val endIndex = stackTrace.frameIndex(baseContinuationImplClassName) in sanitizeStackTrace()
102 val size = causeTrace.frameIndex(baseContinuationImplClassName) in createFinalException()
196 private fun Array<StackTraceElement>.frameIndex(methodName: String) = indexOfFirst { methodName == … in artificialFrame() method
/external/llvm-project/lldb/test/API/tools/lldb-vscode/console/
DTestVSCode_console.py55 self.vscode.get_local_variables(frameIndex=0)
64 self.vscode.get_local_variables(frameIndex=1)
/external/v4l2_codec2/components/
DV4L2DecodeComponent.cpp39 int32_t frameIndexToBitstreamId(c2_cntr64_t frameIndex) { in frameIndexToBitstreamId() argument
40 return static_cast<int32_t>(frameIndex.peeku() & 0x3FFFFFFF); in frameIndexToBitstreamId()
84 const int32_t bitstreamId = frameIndexToBitstreamId(work.input.ordinal.frameIndex); in isWorkDone()
109 (work.input.ordinal.frameIndex < currOrdinal.frameIndex); in isNoShowFrameWork()
389 work->input.ordinal.frameIndex.peekull(), work->input.ordinal.timestamp.peekull()); in queueTask()
436 const int32_t bitstreamId = frameIndexToBitstreamId(pendingWork->input.ordinal.frameIndex); in pumpPendingWorks()
469 mPendingColorAspectsChangeFrameIndex = work->input.ordinal.frameIndex.peeku(); in pumpPendingWorks()
547 work->input.ordinal.frameIndex.peeku() >= mPendingColorAspectsChangeFrameIndex) { in onOutputFrameReady()
587 work->input.ordinal.frameIndex.peekull(), in detectNoShowFrameWorksAndReportIfFinished()
665 kv.second->input.ordinal.frameIndex.peekull(), in reportEOSWork()
[all …]
/external/angle/src/libANGLE/capture/
DFrameCapture.cpp179 : contextId(contextIdIn), frameIndex(frameIndexIn), partId(partIdIn) in FmtReplayFunction()
182 uint32_t frameIndex; member
199 os << "Frame" << fmt.frameIndex; in operator <<()
257 : funcType(funcTypeIn), contextId(contextIdIn), frameIndex(frameIndexIn), partId(partIdIn) in FmtFunction()
262 uint32_t frameIndex; member
271 os << FmtReplayFunction(fmt.contextId, fmt.frameIndex, fmt.partId); in operator <<()
293 : contextId(contextIdIn), frameIndex(frameIndexIn) in FmtGetSerializedContextStateFunction()
296 uint32_t frameIndex; member
301 os << "GetSerializedContext" << fmt.contextId << "StateFrame" << fmt.frameIndex << "Data()"; in operator <<()
307 uint32_t frameIndex, in GetCaptureFileName() argument
[all …]
Dtrace_fixture.h43 ANGLE_REPLAY_EXPORT void ReplayFrame(uint32_t frameIndex);
48 ANGLE_REPLAY_EXPORT const char *GetSerializedContextState(uint32_t frameIndex);
/external/vulkan-validation-layers/layers/
Dvk_mem_alloc.h1913 uint32_t frameIndex);
6432 void RecordCreateAllocator(uint32_t frameIndex);
6433 void RecordDestroyAllocator(uint32_t frameIndex);
6434 void RecordCreatePool(uint32_t frameIndex,
6437 void RecordDestroyPool(uint32_t frameIndex, VmaPool pool);
6438 void RecordAllocateMemory(uint32_t frameIndex,
6442 void RecordAllocateMemoryPages(uint32_t frameIndex,
6447 void RecordAllocateMemoryForBuffer(uint32_t frameIndex,
6453 void RecordAllocateMemoryForImage(uint32_t frameIndex,
6459 void RecordFreeMemory(uint32_t frameIndex,
[all …]
/external/skia/src/codec/
DSkWuffsCodec.cpp246 Result seekFrame(WhichDecoder which, int frameIndex);
832 SkCodec::Result SkWuffsCodec::seekFrame(WhichDecoder which, int frameIndex) { in seekFrame() argument
841 if (frameIndex < 0) { in seekFrame()
843 } else if (frameIndex == 0) { in seekFrame()
845 } else if (static_cast<size_t>(frameIndex) < fFrames.size()) { in seekFrame()
846 pos = fFrames[frameIndex].ioPosition(); in seekFrame()
855 fDecoders[which]->restart_frame(frameIndex, fIOBuffer.reader_io_position()); in seekFrame()
/external/angle/third_party/vulkan_memory_allocator/src/
Dvk_mem_alloc.h2429 uint32_t frameIndex);
7495 void RecordCreateAllocator(uint32_t frameIndex);
7496 void RecordDestroyAllocator(uint32_t frameIndex);
7497 void RecordCreatePool(uint32_t frameIndex,
7500 void RecordDestroyPool(uint32_t frameIndex, VmaPool pool);
7501 void RecordAllocateMemory(uint32_t frameIndex,
7505 void RecordAllocateMemoryPages(uint32_t frameIndex,
7510 void RecordAllocateMemoryForBuffer(uint32_t frameIndex,
7516 void RecordAllocateMemoryForImage(uint32_t frameIndex,
7522 void RecordFreeMemory(uint32_t frameIndex,
[all …]

12