Home
last modified time | relevance | path

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

12

/hardware/google/av/media/codecs/base/
DSimpleC2Component.cpp351 uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork) { in finish() argument
355 if (pending->count(frameIndex) == 0) { in finish()
356 ALOGW("unknown frame index: %" PRIu64, frameIndex); in finish()
359 work = std::move(pending->at(frameIndex)); in finish()
360 pending->erase(frameIndex); in finish()
371 uint64_t frameIndex, in cloneAndSend() argument
375 if (currentWork->input.ordinal.frameIndex == frameIndex) { in cloneAndSend()
380 if (pending->count(frameIndex) == 0) { in cloneAndSend()
381 ALOGW("unknown frame index: %" PRIu64, frameIndex); in cloneAndSend()
384 work->input.flags = pending->at(frameIndex)->input.flags; in cloneAndSend()
[all …]
/hardware/google/av/codec2/hidl/1.0/utils/
DComponent.cpp213 uint64_t frameIndex; member
217 uint64_t frameIndex, in TrackedBuffer()
221 frameIndex(frameIndex), in TrackedBuffer()
699 uint64_t frameIndex = input.ordinal.frameIndex.peeku(); in _registerFrameData() local
703 static_cast<long long unsigned>(frameIndex)); in _registerFrameData()
707 mTrackedBuffersMap[listener][frameIndex]; in _registerFrameData()
716 *bufferIds.emplace(listener, frameIndex, i, input.buffers[i]). in _registerFrameData()
727 static_cast<unsigned long long>(frameIndex), in _registerFrameData()
743 uint64_t frameIndex = input.ordinal.frameIndex.peeku(); in _unregisterFrameData() local
747 static_cast<long long unsigned>(frameIndex)); in _unregisterFrameData()
[all …]
DInputSurfaceConnection.cpp186 work->input.ordinal.frameIndex = mFrameIndex.fetch_add( in submitBuffer()
216 work->input.ordinal.frameIndex = mFrameIndex.fetch_add( in submitEos()
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraDualFOVPP.cpp177 uint32_t frameIndex = pInputSnapshotBuf->frame_idx; in feedInput() local
178 std::vector<qcamera_hal_pp_data_t*> *pVector = getFrameVector(frameIndex); in feedInput()
180 LOGD("insert new frame index = %d", frameIndex); in feedInput()
182 *pFrameIndex = frameIndex; in feedInput()
188 m_frameMap[frameIndex] = pVector; in feedInput()
193 m_frameMap.erase(frameIndex); in feedInput()
200 pInputData->frameIndex = frameIndex; in feedInput()
218 m_halPPGetOutputCB(frameIndex, m_pQCameraPostProc); in feedInput()
246 uint32_t frameIndex = pOutputData->frameIndex; in feedOutput() local
247 std::vector<qcamera_hal_pp_data_t*> *pVector = getFrameVector(frameIndex); in feedOutput()
[all …]
DQCameraHALPP.cpp203 QCameraHALPP::getFrameVector(uint32_t frameIndex) in getFrameVector() argument
207 if (m_frameMap.find(frameIndex) != m_frameMap.end()) { in getFrameVector()
208 pVector = m_frameMap[frameIndex]; in getFrameVector()
302 uint32_t frameIndex = *pFrameIndex; in releaseInputDataCb() local
303 std::vector<qcamera_hal_pp_data_t*> *pVector = pme->getFrameVector(frameIndex); in releaseInputDataCb()
DQCameraHALPP.h60 typedef void (*halPPGetOutput) (uint32_t frameIndex, void *pUserData);
81 std::vector<qcamera_hal_pp_data_t*>* getFrameVector(uint32_t frameIndex);
/hardware/google/av/codec2/include/
DC2Work.h100 c2_cntr64_t frameIndex; /** submission ordinal on the initial component */ member
105 C2FIELD(frameIndex, "frame-index")
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioEncTest.cpp306 work->input.ordinal.frameIndex = frameID; in encodeNFrames()
449 work->input.ordinal.frameIndex = 0; in TEST_F()
531 uint64_t frameIndex; in TEST_F() local
537 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()
540 frameIndex); in TEST_F()
568 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()
571 frameIndex); in TEST_F()
DMtsHidlC2V1_0TargetAudioDecTest.cpp426 work->input.ordinal.frameIndex = frameID; in decodeNFrames()
659 work->input.ordinal.frameIndex = 0; in TEST_F()
732 uint64_t frameIndex; in TEST_F() local
738 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()
741 frameIndex); in TEST_F()
784 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()
787 frameIndex); in TEST_F()
/hardware/google/av/codec2/hidl/1.0/mts/common/
Dmedia_c2_hidl_test_common.cpp43 work->input.ordinal.frameIndex = 0; in testInputBuffer()
114 work->input.ordinal.frameIndex.peeku()); in workDone()
116 (int)work->worklets.front()->output.ordinal.frameIndex.peeku()); in workDone()
/hardware/google/av/codec2/hidl/1.0/mts/video/
DMtsHidlC2V1_0TargetVideoEncTest.cpp287 work->input.ordinal.frameIndex = frameID; in encodeNFrames()
419 work->input.ordinal.frameIndex = 0; in TEST_F()
471 uint64_t frameIndex; in TEST_F() local
477 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()
479 mFlushedIndices.begin(), mFlushedIndices.end(), frameIndex); in TEST_F()
506 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()
508 mFlushedIndices.begin(), mFlushedIndices.end(), frameIndex); in TEST_F()
DMtsHidlC2V1_0TargetVideoDecTest.cpp367 work->input.ordinal.frameIndex = frameID; in decodeNFrames()
561 work->input.ordinal.frameIndex = 0; in TEST_F()
659 work->input.ordinal.frameIndex = 0; in TEST_F()
732 work->input.ordinal.frameIndex.peeku()); in TEST_F()
774 uint64_t frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F() local
776 mFlushedIndices.begin(), mFlushedIndices.end(), frameIndex); in TEST_F()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.cpp846 uint8_t frameIndex; in streamCbRoutine() local
860 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
861 if(frameIndex >= mNumBufs) { in streamCbRoutine()
863 stream->bufDone(frameIndex); in streamCbRoutine()
883 resultBuffer = (buffer_handle_t *)mMemory.getBufferHandle(frameIndex); in streamCbRoutine()
884 resultFrameNumber = mMemory.getFrameNumber(frameIndex); in streamCbRoutine()
945 int32_t rc = stream->bufRelease(frameIndex); in streamCbRoutine()
948 rc, frameIndex); in streamCbRoutine()
951 rc = mMemory.unregisterBuffer(frameIndex); in streamCbRoutine()
954 rc, frameIndex); in streamCbRoutine()
[all …]
/hardware/google/av/codec2/hidl/client/
Dclient.cpp410 uint64_t frameIndex = rf.bufferQueueId; in onFramesRendered() local
414 static_cast<long long unsigned>(frameIndex), in onFramesRendered()
418 frameIndex, bufferIndex); in onFramesRendered()
856 inputDone.emplace_back(work->input.ordinal.frameIndex.peeku()); in handleOnWorkDone()
895 uint64_t frameIndex, in freeInputBuffer() argument
899 auto it = mInputBuffers.find(frameIndex); in freeInputBuffer()
902 static_cast<long long unsigned>(frameIndex)); in freeInputBuffer()
908 bufferIndex, static_cast<long long unsigned>(frameIndex)); in freeInputBuffer()
915 bufferIndex, static_cast<long long unsigned>(frameIndex)); in freeInputBuffer()
919 if (--mInputBufferCount[frameIndex] == 0) { in freeInputBuffer()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraPostProc.h95 uint32_t frameIndex; // source frame index member
185 static void getHalPPOutputBufferCB(uint32_t frameIndex, void* pUserData);
239 void getHalPPOutputBuffer(uint32_t frameIndex);
/hardware/google/av/media/codecs/base/include/
DSimpleC2Component.h122 void finish(uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork);
137 uint64_t frameIndex,
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp411 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
443 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
482 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
499 int64_t frameIndex = work->input.ordinal.frameIndex.peekll(); in process() local
504 mCodecCtx, bitstream, inSize, &frameIndex, 0); in process()
/hardware/google/av/media/codecs/aac/
DC2SoftAacDec.cpp446 ALOGV("outInfo.frameIndex = %" PRIu64, outInfo.frameIndex); in drainRingBuffer()
512 if (work && work->input.ordinal.frameIndex == c2_cntr64_t(outInfo.frameIndex)) { in drainRingBuffer()
515 finish(outInfo.frameIndex, fillWork); in drainRingBuffer()
582 inInfo.frameIndex = work->input.ordinal.frameIndex.peeku(); in process()
830 finish(mBuffersInfo.front().frameIndex, fillEmptyWork); in drainInternal()
DC2SoftAacDec.h61 uint64_t frameIndex; member
DC2SoftAacEnc.cpp365 uint64_t inputIndex = work->input.ordinal.frameIndex.peeku(); in process()
418 mOrdinal.frameIndex.peekll(), in process()
460 outOrdinal.frameIndex = mOutIndex++; in process()
528 outOrdinal.frameIndex = mOutIndex++; in process()
/hardware/interfaces/media/c2/1.0/
DIComponentListener.hal94 * This value comes from `Work::input.ordinal.frameIndex` in a `Work`
97 uint64_t frameIndex;
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.cpp369 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
379 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
511 uint32_t workIndex = work->input.ordinal.frameIndex.peeku() & 0xFFFFFFFF; in process()
524 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
/hardware/google/av/media/codecs/cmds/
Dcodec2.cpp247 … ALOGV("Render: Frame #%lld", work->worklets.front()->output.ordinal.frameIndex.peekll()); in play()
340 work->input.ordinal.frameIndex = numFrames; in play()
/hardware/google/av/media/codecs/raw/
DC2SoftRawDec.cpp158 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
/hardware/google/av/media/sfplugin/
DCCodecBufferChannel.cpp1563 case C2Config::ORDINAL: return o1.frameIndex < o2.frameIndex; in less()
1568 return o1.frameIndex < o2.frameIndex; in less()
1637 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal()
1672 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal()
2550 if ((work->input.ordinal.frameIndex - mFirstValidFrameIndex.load()).peek() < 0) { in handleWork()
2695 mName, work->input.ordinal.frameIndex.peekull()); in handleWork()

12