Lines Matching refs:inputBuffer
971 camera3_stream_buffer_t inputBuffer; in processOneCaptureResultLocked() local
972 if (result.inputBuffer.streamId == -1) { in processOneCaptureResultLocked()
975 if (mInputStream->getId() != result.inputBuffer.streamId) { in processOneCaptureResultLocked()
977 result.frameNumber, result.inputBuffer.streamId); in processOneCaptureResultLocked()
980 inputBuffer.stream = mInputStream->asHalStream(); in processOneCaptureResultLocked()
982 res = mInterface->popInflightBuffer(result.frameNumber, result.inputBuffer.streamId, in processOneCaptureResultLocked()
986 __FUNCTION__, result.frameNumber, result.inputBuffer.streamId); in processOneCaptureResultLocked()
989 inputBuffer.buffer = buffer; in processOneCaptureResultLocked()
990 inputBuffer.status = mapHidlBufferStatus(result.inputBuffer.status); in processOneCaptureResultLocked()
991 inputBuffer.acquire_fence = -1; in processOneCaptureResultLocked()
992 if (result.inputBuffer.releaseFence == nullptr) { in processOneCaptureResultLocked()
993 inputBuffer.release_fence = -1; in processOneCaptureResultLocked()
994 } else if (result.inputBuffer.releaseFence->numFds == 1) { in processOneCaptureResultLocked()
995 inputBuffer.release_fence = dup(result.inputBuffer.releaseFence->data[0]); in processOneCaptureResultLocked()
998 __FUNCTION__, result.frameNumber, result.inputBuffer.releaseFence->numFds); in processOneCaptureResultLocked()
1001 r.input_buffer = &inputBuffer; in processOneCaptureResultLocked()
3359 captureRequest->inputBuffer.streamId = streamId; in wrapAsHidlRequest()
3360 captureRequest->inputBuffer.bufferId = bufferId; in wrapAsHidlRequest()
3361 captureRequest->inputBuffer.buffer = (isNewBuffer) ? buf : nullptr; in wrapAsHidlRequest()
3362 captureRequest->inputBuffer.status = BufferStatus::OK; in wrapAsHidlRequest()
3369 captureRequest->inputBuffer.acquireFence = acquireFence; in wrapAsHidlRequest()
3370 captureRequest->inputBuffer.releaseFence = nullptr; in wrapAsHidlRequest()
3376 captureRequest->inputBuffer.streamId = -1; in wrapAsHidlRequest()
3377 captureRequest->inputBuffer.bufferId = BUFFER_ID_NO_BUFFER; in wrapAsHidlRequest()
3804 camera3_stream_buffer_t inputBuffer; in clear() local
3805 status_t res = (*it)->mInputStream->getInputBuffer(&inputBuffer, in clear()
3811 res = (*it)->mInputStream->returnInputBuffer(inputBuffer); in clear()