Searched refs:halBuf (Results 1 – 7 of 7) sorted by relevance
/hardware/interfaces/camera/device/default/ |
D | ExternalCameraOfflineSession.cpp | 451 for (auto& halBuf : req->buffers) { in threadLoop() local 452 if (*(halBuf.bufPtr) == nullptr) { in threadLoop() 453 ALOGW("%s: buffer for stream %d missing", __FUNCTION__, halBuf.streamId); in threadLoop() 454 halBuf.fenceTimeout = true; in threadLoop() 455 } else if (halBuf.acquireFence >= 0) { in threadLoop() 456 int ret = sync_wait(halBuf.acquireFence, kSyncWaitTimeoutMs); in threadLoop() 458 halBuf.fenceTimeout = true; in threadLoop() 460 ::close(halBuf.acquireFence); in threadLoop() 461 halBuf.acquireFence = -1; in threadLoop() 465 if (halBuf.fenceTimeout) { in threadLoop() [all …]
|
D | ExternalCameraDeviceSession.cpp | 657 HalStreamBuffer& halBuf = halReq->buffers[i]; in processOneCaptureRequest() local 658 int streamId = halBuf.streamId = request.outputBuffers[i].streamId; in processOneCaptureRequest() 659 halBuf.bufferId = request.outputBuffers[i].bufferId; in processOneCaptureRequest() 661 halBuf.width = stream.width; in processOneCaptureRequest() 662 halBuf.height = stream.height; in processOneCaptureRequest() 663 halBuf.format = stream.format; in processOneCaptureRequest() 664 halBuf.usage = stream.usage; in processOneCaptureRequest() 665 halBuf.bufPtr = nullptr; // threadloop will request buffer from cameraservice in processOneCaptureRequest() 666 halBuf.acquireFence = 0; // threadloop will request fence from cameraservice in processOneCaptureRequest() 667 halBuf.fenceTimeout = false; in processOneCaptureRequest() [all …]
|
D | ExternalCameraDeviceSession.h | 203 int createJpegLocked(HalStreamBuffer& halBuf,
|
/hardware/interfaces/camera/device/3.6/default/ |
D | ExternalCameraOfflineSession.cpp | 184 for (auto& halBuf : req->buffers) { in threadLoop() local 185 if (*(halBuf.bufPtr) == nullptr) { in threadLoop() 186 ALOGW("%s: buffer for stream %d missing", __FUNCTION__, halBuf.streamId); in threadLoop() 187 halBuf.fenceTimeout = true; in threadLoop() 188 } else if (halBuf.acquireFence >= 0) { in threadLoop() 189 int ret = sync_wait(halBuf.acquireFence, kSyncWaitTimeoutMs); in threadLoop() 191 halBuf.fenceTimeout = true; in threadLoop() 193 ::close(halBuf.acquireFence); in threadLoop() 194 halBuf.acquireFence = -1; in threadLoop() 198 if (halBuf.fenceTimeout) { in threadLoop() [all …]
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraDeviceSession.cpp | 724 HalStreamBuffer& halBuf = halReq->buffers[i]; in processOneCaptureRequest() local 725 int streamId = halBuf.streamId = request.outputBuffers[i].streamId; in processOneCaptureRequest() 726 halBuf.bufferId = request.outputBuffers[i].bufferId; in processOneCaptureRequest() 728 halBuf.width = stream.width; in processOneCaptureRequest() 729 halBuf.height = stream.height; in processOneCaptureRequest() 730 halBuf.format = stream.format; in processOneCaptureRequest() 731 halBuf.usage = stream.usage; in processOneCaptureRequest() 732 halBuf.bufPtr = allBufPtrs[i]; in processOneCaptureRequest() 733 halBuf.acquireFence = allFences[i]; in processOneCaptureRequest() 734 halBuf.fenceTimeout = false; in processOneCaptureRequest() [all …]
|
/hardware/interfaces/audio/effect/all-versions/default/util/ |
D | EffectUtils.cpp | 156 inline hidl_string charBufferFromHal(const char (&halBuf)[N]) { in charBufferFromHal() 159 return hidl_string(halBuf, strnlen(halBuf, N)); in charBufferFromHal() 163 inline status_t charBufferToHal(const hidl_string& str, char (&halBuf)[N], const char* fieldName) { in charBufferToHal() 173 strncpy(halBuf, str.c_str(), strSize); in charBufferToHal() 174 halBuf[strSize] = '\0'; in charBufferToHal()
|
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ |
D | ExternalCameraDeviceSession.h | 156 int createJpegLocked(HalStreamBuffer &halBuf,
|