Home
last modified time | relevance | path

Searched refs:outputBuffers (Results 1 – 25 of 33) sorted by relevance

12

/hardware/interfaces/camera/device/3.6/default/
DExternalCameraOfflineSession.cpp356 result.outputBuffers.resize(req->buffers.size()); in processCaptureResult()
358 result.outputBuffers[i].streamId = req->buffers[i].streamId; in processCaptureResult()
359 result.outputBuffers[i].bufferId = req->buffers[i].bufferId; in processCaptureResult()
361 result.outputBuffers[i].status = BufferStatus::ERROR; in processCaptureResult()
365 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureResult()
369 result.outputBuffers[i].status = BufferStatus::OK; in processCaptureResult()
374 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureResult()
456 result.outputBuffers.resize(req->buffers.size()); in processCaptureRequestError()
458 result.outputBuffers[i].streamId = req->buffers[i].streamId; in processCaptureRequestError()
459 result.outputBuffers[i].bufferId = req->buffers[i].bufferId; in processCaptureRequestError()
[all …]
DExternalCameraDeviceSession.cpp255 result.outputBuffers.resize(1); in switchToOffline()
256 result.outputBuffers[0].streamId = buffer.streamId; in switchToOffline()
257 result.outputBuffers[0].bufferId = buffer.bufferId; in switchToOffline()
258 result.outputBuffers[0].status = BufferStatus::ERROR; in switchToOffline()
262 result.outputBuffers[0].releaseFence.setTo(handle, /*shouldOwn*/false); in switchToOffline()
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp316 size_t numOutputBufs = request.outputBuffers.size(); in importRequestImpl()
328 allBufs[i] = request.outputBuffers[i].buffer.getNativeHandle(); in importRequestImpl()
329 allBufIds[i] = request.outputBuffers[i].bufferId; in importRequestImpl()
331 streamIds[i] = request.outputBuffers[i].streamId; in importRequestImpl()
355 request.outputBuffers[i].acquireFence, allFences[i])) { in importRequestImpl()
493 for (auto& buf : result.outputBuffers) { in freeReleaseFences()
591 results[i].outputBuffers.resize(outBufs.size()); in sendBatchBuffersLocked()
593 moveStreamBuffer(std::move(outBufs[j]), results[i].outputBuffers[j]); in sendBatchBuffersLocked()
789 for (auto& buffer : result.outputBuffers) { in processCaptureResult()
806 nonBatchedResult.outputBuffers.resize(nonBatchedBuffers.size()); in processCaptureResult()
[all …]
/hardware/interfaces/camera/device/aidl/android/hardware/camera/device/
DCaptureResult.aidl160 StreamBuffer[] outputBuffers;
DCaptureRequest.aidl116 StreamBuffer[] outputBuffers;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/3/android/hardware/camera/device/
DCaptureResult.aidl40 android.hardware.camera.device.StreamBuffer[] outputBuffers;
DCaptureRequest.aidl43 android.hardware.camera.device.StreamBuffer[] outputBuffers;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/1/android/hardware/camera/device/
DCaptureResult.aidl40 android.hardware.camera.device.StreamBuffer[] outputBuffers;
DCaptureRequest.aidl43 android.hardware.camera.device.StreamBuffer[] outputBuffers;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/current/android/hardware/camera/device/
DCaptureResult.aidl40 android.hardware.camera.device.StreamBuffer[] outputBuffers;
DCaptureRequest.aidl43 android.hardware.camera.device.StreamBuffer[] outputBuffers;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/2/android/hardware/camera/device/
DCaptureResult.aidl40 android.hardware.camera.device.StreamBuffer[] outputBuffers;
DCaptureRequest.aidl43 android.hardware.camera.device.StreamBuffer[] outputBuffers;
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp382 size_t numOutputBufs = request.v3_2.outputBuffers.size(); in processOneCaptureRequest_3_4()
417 auto streamId = request.v3_2.outputBuffers[i].streamId; in processOneCaptureRequest_3_4()
421 allBufPtrs[i], request.v3_2.outputBuffers[i].status, in processOneCaptureRequest_3_4()
503 auto key = std::make_pair(request.v3_2.outputBuffers[i].streamId, in processOneCaptureRequest_3_4()
655 for (auto& buffer : result.v3_2.outputBuffers) { in processCaptureResult_3_4()
672 nonBatchedResult.v3_2.outputBuffers.resize(nonBatchedBuffers.size()); in processCaptureResult_3_4()
675 std::move(nonBatchedBuffers[i]), nonBatchedResult.v3_2.outputBuffers[i]); in processCaptureResult_3_4()
756 for (auto& buf : result.v3_2.outputBuffers) { in freeReleaseFences_3_4()
DExternalCameraDeviceSession.cpp529 size_t numOutputBufs = request.outputBuffers.size(); in importRequestLockedImpl()
541 allBufs[i] = request.outputBuffers[i].buffer.getNativeHandle(); in importRequestLockedImpl()
542 allBufIds[i] = request.outputBuffers[i].bufferId; in importRequestLockedImpl()
544 streamIds[i] = request.outputBuffers[i].streamId; in importRequestLockedImpl()
563 request.outputBuffers[i].acquireFence, allFences[i])) { in importRequestLockedImpl()
650 size_t numOutputBufs = request.outputBuffers.size(); in processOneCaptureRequest()
725 int streamId = halBuf.streamId = request.outputBuffers[i].streamId; in processOneCaptureRequest()
726 halBuf.bufferId = request.outputBuffers[i].bufferId; in processOneCaptureRequest()
800 result.outputBuffers.resize(req->buffers.size()); in processCaptureRequestError()
802 result.outputBuffers[i].streamId = req->buffers[i].streamId; in processCaptureRequestError()
[all …]
/hardware/interfaces/camera/device/default/
DExternalCameraOfflineSession.cpp103 result.outputBuffers.resize(req->buffers.size()); in processCaptureResult()
105 StreamBuffer& outputBuffer = result.outputBuffers[i]; in processCaptureResult()
113 result.outputBuffers[i].releaseFence = android::dupToAidl(handle); in processCaptureResult()
118 result.outputBuffers[i].status = BufferStatus::OK; in processCaptureResult()
243 result.outputBuffers.resize(req->buffers.size()); in processCaptureRequestError()
245 StreamBuffer& outputBuffer = result.outputBuffers[i]; in processCaptureRequestError()
DExternalCameraDeviceSession.cpp541 if (request.outputBuffers.empty()) { in processOneCaptureRequest()
546 for (auto& outputBuf : request.outputBuffers) { in processOneCaptureRequest()
588 size_t numOutputBufs = request.outputBuffers.size(); in processOneCaptureRequest()
658 int streamId = halBuf.streamId = request.outputBuffers[i].streamId; in processOneCaptureRequest()
659 halBuf.bufferId = request.outputBuffers[i].bufferId; in processOneCaptureRequest()
786 .outputBuffers = {}, in switchToOffline()
792 result.outputBuffers.resize(1); in switchToOffline()
793 StreamBuffer& outputBuffer = result.outputBuffers[0]; in switchToOffline()
1723 result.outputBuffers.resize(req->buffers.size()); in processCaptureRequestError()
1725 result.outputBuffers[i].streamId = req->buffers[i].streamId; in processCaptureRequestError()
[all …]
/hardware/interfaces/camera/provider/aidl/vts/
DVtsAidlHalCameraProvider_TargetTest.cpp1673 std::vector<StreamBuffer>& outputBuffers = request.outputBuffers; in TEST_P() local
1677 outputBuffers.resize(halStreams.size()); in TEST_P()
1684 outputBuffers[k] = {halStream.id, /*bufferId*/ 0, NativeHandle(), in TEST_P()
1693 outputBuffers[k] = { in TEST_P()
1747 request.outputBuffers[0].buffer = NativeHandle(); in TEST_P()
1895 std::vector<StreamBuffer>& outputBuffers = request.outputBuffers; in TEST_P() local
1896 outputBuffers.resize(halStreams.size()); in TEST_P()
1904 outputBuffers[k] = {halStream.id, 0, in TEST_P()
1914 outputBuffers[k] = { in TEST_P()
2061 std::vector<StreamBuffer>& outputBuffers = request.outputBuffers; in TEST_P() local
[all …]
Ddevice_cb.cpp250 if ((results.result.metadata.empty()) && (results.outputBuffers.empty()) && in processCaptureResultLocked()
404 uint32_t numBuffersReturned = results.outputBuffers.size(); in processCaptureResultLocked()
422 for (const auto& buffer : results.outputBuffers) { in processCaptureResultLocked()
444 returnStreamBuffers(results.outputBuffers); in processCaptureResultLocked()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp172 std::vector<TestBuffer> outputBuffers; in getOutputBuffers() local
174 outputBuffers.emplace_back(output.location.length, outputPtr + output.location.offset); in getOutputBuffers()
176 return outputBuffers; in getOutputBuffers()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DUtils.cpp277 std::vector<TestBuffer> outputBuffers; in getOutputBuffers() local
279 outputBuffers.emplace_back(output.location.length, outputPtr + output.location.offset); in getOutputBuffers()
281 return outputBuffers; in getOutputBuffers()
DGeneratedTestHarness.cpp524 std::vector<TestBuffer> outputBuffers; in getOutputBuffers() local
528 outputBuffers.emplace_back(outputLoc.length, outputPtr + outputLoc.offset); in getOutputBuffers()
532 outputBuffers.emplace_back(0, nullptr); in getOutputBuffers()
538 outputBuffers.push_back(std::move(buffer)); in getOutputBuffers()
542 return outputBuffers; in getOutputBuffers()
/hardware/google/easel/amber/camera/include/
DHdrPlusTypes.h208 std::vector<StreamBuffer> outputBuffers; member
438 std::vector<StreamBuffer> outputBuffers; member
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp474 std::vector<TestBuffer> outputBuffers; in getOutputBuffers() local
478 outputBuffers.emplace_back(outputLoc.length, outputPtr + outputLoc.offset); in getOutputBuffers()
482 outputBuffers.emplace_back(0, nullptr); in getOutputBuffers()
488 outputBuffers.push_back(std::move(buffer)); in getOutputBuffers()
492 return outputBuffers; in getOutputBuffers()
/hardware/google/camera/common/hal/aidl_service/
Daidl_utils.cc398 aidl_result->outputBuffers.resize(hal_result->output_buffers.size()); in ConvertToAidlCaptureResultInternal()
399 for (uint32_t i = 0; i < aidl_result->outputBuffers.size(); i++) { in ConvertToAidlCaptureResultInternal()
401 &aidl_result->outputBuffers[i]); in ConvertToAidlCaptureResultInternal()
830 for (auto& buffer : aidl_request.outputBuffers) { in ConvertToHalCaptureRequest()

12