Home
last modified time | relevance | path

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

/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/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp542 size_t bufferIndex, PortMode portMode) { in dispatchOutputBuffer() argument
549 t = (*buffArray)[bufferIndex].omxBuffer; in dispatchOutputBuffer()
552 omxNode->fillBuffer((*buffArray)[bufferIndex].id, t, fenceNh); in dispatchOutputBuffer()
563 omxNode->fillBuffer((*buffArray)[bufferIndex].id, t, fenceNh); in dispatchOutputBuffer()
571 buffArray->editItemAt(bufferIndex).owner = component; in dispatchOutputBuffer()
577 size_t bufferIndex, int bytesCount, uint32_t flags, in dispatchInputBuffer() argument
591 status = omxNode->emptyBuffer((*buffArray)[bufferIndex].id, t, in dispatchInputBuffer()
600 buffArray->editItemAt(bufferIndex).owner = component; in dispatchInputBuffer()
Dmedia_hidl_test_common.h358 size_t bufferIndex,
363 size_t bufferIndex, int bytesCount, uint32_t flags,
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.cpp244 for (uint32_t bufferIndex = 0; bufferIndex < bufferNum; bufferIndex++) { in getBuffer() local
245 pitches[bufferIndex] = config.src.f_w * bpp; in getBuffer()
246 modifiers[bufferIndex] = modifiers[0]; in getBuffer()
247 handles[bufferIndex] = getBufHandleFromFd(config.fd_idma[bufferIndex]); in getBuffer()
248 if (handles[bufferIndex] == 0) { in getBuffer()
286 for (uint32_t bufferIndex = 0; bufferIndex < bufferNum; bufferIndex++) { in getBuffer() local
287 freeBufHandle(handles[bufferIndex]); in getBuffer()
/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/gfxstream/host/apigen-codec-common/X11/extensions/
Dmultibufproto.h214 CARD16 bufferIndex B16;
/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/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp535 const uint32_t bufferIndex = outputLoc.poolIndex - kDeviceMemoryBeginIndex; in getOutputBuffers() local
537 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.cpp746 uint32_t data, uint32_t bufferIndex,
750 uint32_t data, uint32_t bufferIndex,
755 uint32_t bufferIndex, int64_t timestamp) override;
1170 uint32_t bufferIndex __unused, in dataCallback()
1181 uint32_t bufferIndex, int64_t timestamp __unused) { in dataCallbackTimestamp() argument
1184 mParent->mVideoBufferIndex = bufferIndex; in dataCallbackTimestamp()
1196 uint32_t data __unused, uint32_t bufferIndex, in handleCallbackTimestamp() argument
1200 mParent->mVideoBufferIndex = bufferIndex; in handleCallbackTimestamp()
1217 mParent->mVideoBufferIndex = msg.bufferIndex; in handleCallbackTimestampBatch()
/hardware/google/gfxstream/include/GL/
DGLcorearb.h2230 …NTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, …
2243 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pn…
/hardware/google/gfxstream/guest/mesa/include/GL/
Dglcorearb.h2176 …NTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, …
2189 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pn…
Dglext.h2124 …NTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, …
2137 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pn…
/hardware/google/gfxstream/host/apigen-codec-common/GL/
Dglext.h8524 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pn…
8526 …NTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, …