Home
last modified time | relevance | path

Searched refs:bufferIndex (Results 1 – 14 of 14) sorted by relevance

/hardware/google/av/codec2/hidl/1.0/utils/
DComponent.cpp214 size_t bufferIndex; member
218 size_t bufferIndex, in TrackedBuffer()
222 bufferIndex(bufferIndex), in TrackedBuffer()
226 return bufferIndex < other.bufferIndex; in operator <()
774 bufferId.bufferIndex, in _unregisterFrameData()
834 bufferId.bufferIndex, in _unregisterFrameData()
864 id.bufferIndex); in _onBufferDestroyed()
875 id.bufferIndex); in _onBufferDestroyed()
888 id.bufferIndex); in _onBufferDestroyed()
900 id.bufferIndex); in _onBufferDestroyed()
[all …]
/hardware/interfaces/camera/device/1.0/
DICameraDeviceCallback.hal61 * @param bufferIndex The offset into the memory handle where the buffer
65 dataCallback(DataCallbackMsg msgType, MemoryId data, uint32_t bufferIndex,
73 * @param bufferIndex The offset into the memory handle where the buffer
79 dataCallbackTimestamp(DataCallbackMsg msgType, MemoryId data, uint32_t bufferIndex,
88 * @param bufferIndex The offset into the memory handle where the buffer
95 uint32_t bufferIndex, int64_t timestamp);
DICameraDevice.hal310 * @param bufferIndex The specific buffer index to return to the HAL.
312 releaseRecordingFrame(MemoryId memId, uint32_t bufferIndex);
325 * @param bufferIndex The specific buffer index to return to the HAL.
328 releaseRecordingFrameHandle(MemoryId memId, uint32_t bufferIndex, handle frame);
Dtypes.hal270 uint32_t bufferIndex;
288 uint32_t bufferIndex;
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice_1_0.h95 Return<void> releaseRecordingFrame(uint32_t memId, uint32_t bufferIndex) override;
97 uint32_t memId, uint32_t bufferIndex, const hidl_handle& frame) override;
184 void releaseRecordingFrameLocked(uint32_t memId, uint32_t bufferIndex, const native_handle_t*);
DCameraDevice.cpp835 uint32_t memId, uint32_t bufferIndex, const native_handle_t* handle) { in releaseRecordingFrameLocked() argument
851 if (bufferIndex >= camMemory->mNumBufs) { in releaseRecordingFrameLocked()
853 __FUNCTION__, bufferIndex, camMemory->mNumBufs); in releaseRecordingFrameLocked()
856 void *data = ((uint8_t *) camMemory->mHidlHeapMemData) + bufferIndex * camMemory->mBufSize; in releaseRecordingFrameLocked()
870 __FUNCTION__, memId, bufferIndex); in releaseRecordingFrameLocked()
878 Return<void> CameraDevice::releaseRecordingFrame(uint32_t memId, uint32_t bufferIndex) { in releaseRecordingFrame() argument
881 releaseRecordingFrameLocked(memId, bufferIndex, nullptr); in releaseRecordingFrame()
886 uint32_t memId, uint32_t bufferIndex, const hidl_handle& frame) { in releaseRecordingFrameHandle() argument
890 memId, bufferIndex, frame.getNativeHandle()); in releaseRecordingFrameHandle()
900 msg.data, msg.bufferIndex, msg.frameData.getNativeHandle()); in releaseRecordingFrameHandleBatch()
/hardware/google/av/codec2/hidl/client/
Dclient.cpp411 size_t bufferIndex = static_cast<size_t>(~rf.slotId); in onFramesRendered() local
415 bufferIndex); in onFramesRendered()
418 frameIndex, bufferIndex); in onFramesRendered()
896 size_t bufferIndex) { in freeInputBuffer() argument
905 if (bufferIndex >= it->second.size()) { in freeInputBuffer()
908 bufferIndex, static_cast<long long unsigned>(frameIndex)); in freeInputBuffer()
911 buffer = it->second[bufferIndex]; in freeInputBuffer()
915 bufferIndex, static_cast<long long unsigned>(frameIndex)); in freeInputBuffer()
918 it->second[bufferIndex] = nullptr; in freeInputBuffer()
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp595 size_t bufferIndex, PortMode portMode) { in dispatchOutputBuffer() argument
602 t = (*buffArray)[bufferIndex].omxBuffer; in dispatchOutputBuffer()
605 omxNode->fillBuffer((*buffArray)[bufferIndex].id, t, fenceNh); in dispatchOutputBuffer()
616 omxNode->fillBuffer((*buffArray)[bufferIndex].id, t, fenceNh); in dispatchOutputBuffer()
624 buffArray->editItemAt(bufferIndex).owner = component; in dispatchOutputBuffer()
630 size_t bufferIndex, int bytesCount, uint32_t flags, in dispatchInputBuffer() argument
644 status = omxNode->emptyBuffer((*buffArray)[bufferIndex].id, t, in dispatchInputBuffer()
653 buffArray->editItemAt(bufferIndex).owner = component; in dispatchInputBuffer()
Dmedia_hidl_test_common.h390 size_t bufferIndex,
395 size_t bufferIndex, int bytesCount, uint32_t flags,
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.cpp3121 int32_t bufferIndex = mMemory.getHeapBufferIndex(ppBuffer->frameNumber); in postprocFail() local
3122 if (bufferIndex < 0) { in postprocFail()
3123 LOGE("Fatal %d: no buffer index for frame number %d", bufferIndex, ppBuffer->frameNumber); in postprocFail()
3126 mMemory.markFrameNumber(bufferIndex, -1); in postprocFail()
3127 mFreeHeapBufferList.push_back(bufferIndex); in postprocFail()
3228 int32_t bufferIndex = in streamCbRoutine() local
3230 if (bufferIndex < 0) { in streamCbRoutine()
3232 bufferIndex, resultFrameNumber); in streamCbRoutine()
3234 mMemory.markFrameNumber(bufferIndex, -1); in streamCbRoutine()
3235 mFreeHeapBufferList.push_back(bufferIndex); in streamCbRoutine()
[all …]
/hardware/google/av/codec2/hidl/client/include/codec2/hidl/
Dclient.h427 std::shared_ptr<C2Buffer> freeInputBuffer(uint64_t frameIndex, size_t bufferIndex);
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp485 const uint32_t bufferIndex = outputLoc.poolIndex - kDeviceMemoryBeginIndex; in getOutputBuffers() local
487 getBuffer(mBuffers[bufferIndex], op.data.size(), &buffer); in getOutputBuffers()
/hardware/interfaces/graphics/composer/2.1/
DIComposerClient.hal816 * int32_t bufferIndex,
831 * @param bufferIndex is the new output buffer.
906 * int32_t bufferIndex,
928 * @param bufferIndex is the buffer handle to set.
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp683 uint32_t data, uint32_t bufferIndex,
687 uint32_t data, uint32_t bufferIndex,
692 uint32_t bufferIndex, int64_t timestamp) override;
984 uint32_t bufferIndex __unused, in dataCallback()
995 uint32_t bufferIndex, int64_t timestamp __unused) { in dataCallbackTimestamp() argument
998 mParent->mVideoBufferIndex = bufferIndex; in dataCallbackTimestamp()
1010 uint32_t data __unused, uint32_t bufferIndex, in handleCallbackTimestamp() argument
1014 mParent->mVideoBufferIndex = bufferIndex; in handleCallbackTimestamp()
1031 mParent->mVideoBufferIndex = msg.bufferIndex; in handleCallbackTimestampBatch()