Lines Matching refs:hBufs
274 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()
326 hBufs[i].status = BufferStatus::ERROR; in returnStreamBuffers()
331 hBufs[i].releaseFence.setTo(handle, /*shouldOwn*/true); in returnStreamBuffers()
335 mCallback_3_5->returnStreamBuffers(hBufs); in returnStreamBuffers()