/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/ |
H A D | OneShotSampleSource.cpp | 38 for (int32_t frameIndex = 0; frameIndex < numWriteFrames; frameIndex++) { in mixAudio() 39 outBuff[frameIndex] += data[mCurFrameIndex++] * mGain; in mixAudio() 44 for (int32_t frameIndex = 0; frameIndex < numWriteFrames; frameIndex++) { in mixAudio()
|
/third_party/skia/third_party/externals/libgifcodec/ |
H A D | SkLibGifCodec.cpp | 156 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 319 const int frameIndex = options.fFrameIndex; onIncrementalDecode() local 331 const int frameIndex = opts.fFrameIndex; decodeFrame() local 416 haveDecodedRow(int frameIndex, const unsigned char* rowBegin, int rowNumber, int repeatCount, bool writeTransparentPixels) haveDecodedRow() argument [all...] |
H A D | SkLibGifCodec.h | 32 void haveDecodedRow(int frameIndex, const unsigned char* rowBegin, 73 * @param frameIndex Frame whose color table to use. 75 void initializeColorTable(const SkImageInfo& dstInfo, int frameIndex); 88 * @param frameIndex Which frame we are decoding. This determines the frameRect 91 void initializeSwizzler(const SkImageInfo& dstInfo, int frameIndex);
|
H A D | SkGifImageReader.cpp | 452 bool SkGifImageReader::decode(int frameIndex, bool* frameComplete) in decode() argument 454 SkGIFFrameContext* currentFrame = m_frames[frameIndex].get(); in decode()
|
H A D | SkGifImageReader.h | 309 // Decode the frame indicated by frameIndex. 312 bool decode(int frameIndex, bool* frameComplete);
|
/third_party/skia/gm/ |
H A D | animated_gif.cpp | 41 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 [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | UniformsPerf.cpp | 386 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() 418 matrixData[frameIndex][uniform].data); in drawBenchmark() 427 size_t uniform, size_t frameIndex) { in drawBenchmark() 429 matrixData[frameIndex][uniform].data); in drawBenchmark() 438 size_t uniform, size_t frameIndex) { in drawBenchmark() [all...] |
/third_party/skia/third_party/externals/angle2/util/capture/ |
H A D | frame_capture_test_utils.h | 100 void replayFrame(uint32_t frameIndex) { callFunc<ReplayFrameFunc>("ReplayFrame", frameIndex); } in replayFrame() argument 108 const char *getSerializedContextState(uint32_t frameIndex) in getSerializedContextState() argument 110 return callFunc<GetSerializedContextStateFunc>("GetSerializedContextState", frameIndex); in getSerializedContextState()
|
/third_party/skia/src/codec/ |
H A D | SkWuffsCodec.cpp | 250 Result seekFrame(WhichDecoder which, int frameIndex); 836 SkCodec::Result SkWuffsCodec::seekFrame(WhichDecoder which, int frameIndex) { in seekFrame() argument 845 if (frameIndex < 0) { in seekFrame() 847 } else if (frameIndex == 0) { in seekFrame() 849 } else if (static_cast<size_t>(frameIndex) < fFrames.size()) { in seekFrame() 850 pos = fFrames[frameIndex].ioPosition(); in seekFrame() 859 fDecoders[which]->restart_frame(frameIndex, fIOBuffer.reader_io_position()); in seekFrame()
|
H A D | SkStubHeifDecoderAPI.h | 79 virtual bool decodeSequence(int frameIndex, HeifFrameInfo* frameInfo) = 0; 114 bool decodeSequence(int frameIndex, HeifFrameInfo* frameInfo) override {
|
/third_party/skia/third_party/vulkanmemoryallocator/include/ |
H A D | vk_mem_alloc.h | 2434 uint32_t frameIndex); 7545 void RecordCreateAllocator(uint32_t frameIndex); 7546 void RecordDestroyAllocator(uint32_t frameIndex); 7547 void RecordCreatePool(uint32_t frameIndex, 7550 void RecordDestroyPool(uint32_t frameIndex, VmaPool pool); 7551 void RecordAllocateMemory(uint32_t frameIndex, 7555 void RecordAllocateMemoryPages(uint32_t frameIndex, 7560 void RecordAllocateMemoryForBuffer(uint32_t frameIndex, 7566 void RecordAllocateMemoryForImage(uint32_t frameIndex, 7572 void RecordFreeMemory(uint32_t frameIndex, [all...] |
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_dx12.cpp | 72 UINT frameIndex; member 74 ImGui_ImplDX12_Data() { memset(this, 0, sizeof(*this)); frameIndex = UINT_MAX; } in ImGui_ImplDX12_Data() 165 bd->frameIndex = bd->frameIndex + 1; in ImGui_ImplDX12_RenderDrawData() 166 ImGui_ImplDX12_RenderBuffers* fr = &bd->pFrameResources[bd->frameIndex % bd->numFramesInFlight]; in ImGui_ImplDX12_RenderDrawData() 710 bd->frameIndex = UINT_MAX; in ImGui_ImplDX12_Init()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | trace_fixture.h | 44 ANGLE_REPLAY_EXPORT void ReplayFrame(uint32_t frameIndex); 51 ANGLE_REPLAY_EXPORT const char *GetSerializedContextState(uint32_t frameIndex);
|
H A D | FrameCapture.cpp | 229 : contextId(contextIdIn), frameIndex(frameIndexIn), partId(partIdIn) in FmtReplayFunction() 232 uint32_t frameIndex; member 249 os << "Frame" << fmt.frameIndex; in operator <<() 307 : funcType(funcTypeIn), contextId(contextIdIn), frameIndex(frameIndexIn), partId(partIdIn) in FmtFunction() 312 uint32_t frameIndex; member 321 os << FmtReplayFunction(fmt.contextId, fmt.frameIndex, fmt.partId); in operator <<() 343 : contextId(contextIdIn), frameIndex(frameIndexIn) in FmtGetSerializedContextStateFunction() 346 uint32_t frameIndex; member 351 os << "GetSerializedContext" << fmt.contextId << "StateFrame" << fmt.frameIndex << "Data()"; in operator <<() 1152 uint32_t frameIndex, in WriteCppReplayFunctionWithParts() 1149 WriteCppReplayFunctionWithParts(const gl::ContextID contextID, ReplayFunc replayFunc, ReplayWriter &replayWriter, uint32_t frameIndex, std::vector<uint8_t> *binaryData, const std::vector<CallCapture> &calls, std::stringstream &header, std::stringstream &out) WriteCppReplayFunctionWithParts() argument 1212 WriteAuxiliaryContextCppSetupReplay(ReplayWriter &replayWriter, bool compression, const std::string &outDir, const gl::Context *context, const std::string &captureLabel, uint32_t frameIndex, const std::vector<CallCapture> &setupCalls, std::vector<uint8_t> *binaryData, bool serializeStateEnabled, const FrameCaptureShared &frameCaptureShared) WriteAuxiliaryContextCppSetupReplay() argument 1261 WriteShareGroupCppSetupReplay(ReplayWriter &replayWriter, bool compression, const std::string &outDir, const std::string &captureLabel, uint32_t frameIndex, uint32_t frameCount, const std::vector<CallCapture> &setupCalls, ResourceTracker *resourceTracker, std::vector<uint8_t> *binaryData, bool serializeStateEnabled, gl::ContextID windowSurfaceContextID) WriteShareGroupCppSetupReplay() argument 6213 source << " case " << frameIndex << ":\\n"; writeCppReplayIndexFiles() local 6252 source << " case " << frameIndex << ":\\n"; writeCppReplayIndexFiles() local 6295 uint32_t frameIndex = getReplayFrameIndex(); writeMainContextCppReplay() local 7254 saveFrame(uint32_t frameIndex) saveFrame() argument [all...] |
H A D | FrameCapture.h | 238 void saveFrame(uint32_t frameIndex);
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
H A D | D3D12Sample.cpp | 198 void WaitForFrame(size_t frameIndex) // wait until gpu is finished with command list
in WaitForFrame() argument 202 if (g_Fences[frameIndex]->GetCompletedValue() < g_FenceValues[frameIndex])
in WaitForFrame() 205 CHECK_HR( g_Fences[frameIndex]->SetEventOnCompletion(g_FenceValues[frameIndex], g_FenceEvent) );
in WaitForFrame() 213 void WaitGPUIdle(size_t frameIndex)
in WaitGPUIdle() argument 215 g_FenceValues[frameIndex]++;
in WaitGPUIdle() 216 CHECK_HR( g_CommandQueue->Signal(g_Fences[frameIndex], g_FenceValues[frameIndex]) );
in WaitGPUIdle() 217 WaitForFrame(frameIndex);
in WaitGPUIdle() [all...] |
H A D | Tests.cpp | 256 for (UINT frameIndex = BEGIN_INDEX; frameIndex < END_INDEX; ++frameIndex)
in TestFrameIndexAndJson() 258 ctx.allocator->SetCurrentFrameIndex(frameIndex);
in TestFrameIndexAndJson() 276 if (testIndex == frameIndex)
in TestFrameIndexAndJson()
|
H A D | D3D12MemAlloc.h | 1323 void SetCurrentFrameIndex(UINT frameIndex);
|
H A D | D3D12MemAlloc.cpp | 2511 void SetCurrentFrameIndex(UINT frameIndex);
4813 void AllocatorPimpl::SetCurrentFrameIndex(UINT frameIndex)
4815 m_CurrentFrameIndex.store(frameIndex);
5538 void Allocator::SetCurrentFrameIndex(UINT frameIndex)
5541 m_Pimpl->SetCurrentFrameIndex(frameIndex);
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/ |
H A D | NativeAudioContext.cpp | 268 for (int32_t frameIndex = 0; frameIndex < mRecording->getSizeInFrames(); frameIndex++) { in saveWaveFile()
|