Home
last modified time | relevance | path

Searched refs:hBufs (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/camera/device/3.5/default/
DCameraDeviceSession.cpp274 const hidl_vec<StreamBuffer>& hBufs = bufRets[i].val.buffers(); in requestStreamBuffers() local
276 returned_buf_reqs[i].num_output_buffers = hBufs.size(); in requestStreamBuffers()
277 for (size_t b = 0; b < hBufs.size(); b++) { in requestStreamBuffers()
278 const StreamBuffer& hBuf = hBufs[b]; in requestStreamBuffers()
314 hidl_vec<StreamBuffer> hBufs(num_buffers); in returnStreamBuffers() local
317 hBufs[i].streamId = in returnStreamBuffers()
319 hBufs[i].buffer = nullptr; // use bufferId in returnStreamBuffers()
320 hBufs[i].bufferId = popBufferId(*(buffers[i]->buffer), hBufs[i].streamId); in returnStreamBuffers()
321 if (hBufs[i].bufferId == BUFFER_ID_NO_BUFFER) { in returnStreamBuffers()
323 __FUNCTION__, hBufs[i].streamId); in returnStreamBuffers()
[all …]
DExternalCameraDeviceSession.cpp204 const hidl_vec<V3_2::StreamBuffer>& hBufs = bufRets[i].val.buffers(); in threadLoop() local
205 if (hBufs.size() != 1) { in threadLoop()
206 ALOGE("%s: expect 1 buffer returned, got %zu!", __FUNCTION__, hBufs.size()); in threadLoop()
209 const V3_2::StreamBuffer& hBuf = hBufs[0]; in threadLoop()