/hardware/interfaces/camera/device/3.5/default/ |
D | CameraDeviceSession.cpp | 119 const buffer_handle_t& buf, uint64_t bufferId, int streamId) { in pushBufferId() argument 123 auto pair = mBufferIdMaps.emplace(streamId, BufferIdMap{}); in pushBufferId() 129 const buffer_handle_t& buf, int streamId) { in popBufferId() argument 132 auto streamIt = mBufferIdMaps.find(streamId); in popBufferId() 149 uint64_t CameraDeviceSession::getCapResultBufferId(const buffer_handle_t& buf, int streamId) { in getCapResultBufferId() argument 151 return popBufferId(buf, streamId); in getCapResultBufferId() 156 Camera3Stream* CameraDeviceSession::getStreamPointer(int32_t streamId) { in getStreamPointer() argument 158 if (mStreamMap.count(streamId) == 0) { in getStreamPointer() 159 ALOGE("%s: unknown streamId %d", __FUNCTION__, streamId); in getStreamPointer() 162 return &mStreamMap[streamId]; in getStreamPointer() [all …]
|
D | ExternalCameraDeviceSession.cpp | 156 mHalBufferReqs[i].streamId = mBufferReqs[i].streamId; in waitForNextRequest() 199 int streamId = bufRets[i].streamId; in threadLoop() local 215 Status s = parent->importBuffer(streamId, in threadLoop() 222 ALOGE("%s: stream %d import buffer failed!", __FUNCTION__, streamId); in threadLoop() 228 ALOGE("%s: stream %d import fence failed!", __FUNCTION__, streamId); in threadLoop()
|
/hardware/interfaces/camera/device/3.6/default/ |
D | ExternalCameraDeviceSession.cpp | 117 bool ExternalCameraDeviceSession::supportOfflineLocked(int32_t streamId) { in supportOfflineLocked() argument 118 const Stream& stream = mStreamMap[streamId]; in supportOfflineLocked() 131 if (buffer.streamId == offlineStreamId) { in canDropRequest() 157 int32_t streamId = offlineReqs[i]->buffers[bIdx].streamId; in fillOfflineSessionInfo() local 158 info->offlineRequests[i].pendingStreams[bIdx] = streamId; in fillOfflineSessionInfo() 163 int32_t streamId = offlineStreams[i]; in fillOfflineSessionInfo() local 164 info->offlineStreams[i].id = streamId; in fillOfflineSessionInfo() 168 const CirculatingBuffers& bufIdMap = circulatingBuffers.at(streamId); in fillOfflineSessionInfo() 206 for (auto streamId : offlineStreams) { in switchToOffline() local 207 if (!supportOfflineLocked(streamId)) { in switchToOffline() [all …]
|
D | ExternalCameraOfflineSession.cpp | 186 ALOGW("%s: buffer for stream %d missing", __FUNCTION__, halBuf.streamId); in threadLoop() 284 Status ExternalCameraOfflineSession::importBuffer(int32_t streamId, in importBuffer() argument 290 mCirculatingBuffers, sHandleImporter, streamId, in importBuffer() 346 result.inputBuffer.streamId = -1; in processCaptureResult() 349 result.outputBuffers[i].streamId = req->buffers[i].streamId; in processCaptureResult() 358 notifyError(req->frameNumber, req->buffers[i].streamId, ErrorCode::ERROR_BUFFER); in processCaptureResult() 446 result.inputBuffer.streamId = -1; in processCaptureRequestError() 449 result.outputBuffers[i].streamId = req->buffers[i].streamId; in processCaptureRequestError() 475 void ExternalCameraOfflineSession::notifyError(uint32_t frameNumber, int32_t streamId, ErrorCode ec… in notifyError() argument 479 msg.msg.error.errorStreamId = streamId; in notifyError()
|
/hardware/interfaces/camera/device/3.2/default/ |
D | CameraDeviceSession.cpp | 270 Status CameraDeviceSession::importBuffer(int32_t streamId, in importBuffer() argument 286 CirculatingBuffers& cbs = mCirculatingBuffers[streamId]; in importBuffer() 292 ALOGE("%s: output buffer for stream %d is invalid!", __FUNCTION__, streamId); in importBuffer() 314 bool hasInputBuf = (request.inputBuffer.streamId != -1 && in importRequestImpl() 331 streamIds[i] = request.outputBuffers[i].streamId; in importRequestImpl() 337 streamIds[numOutputBufs] = request.inputBuffer.streamId; in importRequestImpl() 536 for (int streamId : streams) { in sendBatchBuffersLocked() local 537 auto it = batch->mBatchBufs.find(streamId); in sendBatchBuffersLocked() 547 ALOGE("%s: stream ID %d is not batched!", __FUNCTION__, streamId); in sendBatchBuffersLocked() 554 for (int streamId : streams) { in sendBatchBuffersLocked() local [all …]
|
D | CameraDeviceSession.h | 318 Status importBuffer(int32_t streamId, 352 virtual uint64_t getCapResultBufferId(const buffer_handle_t& buf, int streamId);
|
/hardware/interfaces/camera/device/3.4/default/ |
D | CameraDeviceSession.cpp | 380 bool hasInputBuf = (request.v3_2.inputBuffer.streamId != -1 && in processOneCaptureRequest_3_4() 402 auto streamId = request.v3_2.inputBuffer.streamId; in processOneCaptureRequest_3_4() local 403 auto key = std::make_pair(request.v3_2.inputBuffer.streamId, request.v3_2.frameNumber); in processOneCaptureRequest_3_4() 407 &mStreamMap[request.v3_2.inputBuffer.streamId], allFences[numOutputBufs], in processOneCaptureRequest_3_4() 409 bufCache.stream->physical_camera_id = mPhysicalCameraIdMap[streamId].c_str(); in processOneCaptureRequest_3_4() 417 auto streamId = request.v3_2.outputBuffers[i].streamId; in processOneCaptureRequest_3_4() local 418 auto key = std::make_pair(streamId, request.v3_2.frameNumber); in processOneCaptureRequest_3_4() 422 &mStreamMap[streamId], allFences[i], in processOneCaptureRequest_3_4() 424 bufCache.stream->physical_camera_id = mPhysicalCameraIdMap[streamId].c_str(); in processOneCaptureRequest_3_4() 499 auto key = std::make_pair(request.v3_2.inputBuffer.streamId, request.v3_2.frameNumber); in processOneCaptureRequest_3_4() [all …]
|
D | ExternalCameraDeviceSession.cpp | 507 Status ExternalCameraDeviceSession::importBuffer(int32_t streamId, in importBuffer() argument 512 return importBufferLocked(streamId, bufId, buf, outBufPtr, allowEmptyBuf); in importBuffer() 515 Status ExternalCameraDeviceSession::importBufferLocked(int32_t streamId, in importBufferLocked() argument 520 mCirculatingBuffers, sHandleImporter, streamId, in importBufferLocked() 544 streamIds[i] = request.outputBuffers[i].streamId; in importRequestLockedImpl() 604 if (request.inputBuffer.streamId != -1) { in processOneCaptureRequest() 725 int streamId = halBuf.streamId = request.outputBuffers[i].streamId; in processOneCaptureRequest() local 727 const Stream& stream = mStreamMap[streamId]; in processOneCaptureRequest() 755 uint32_t frameNumber, int32_t streamId, ErrorCode ec) { in notifyError() argument 759 msg.msg.error.errorStreamId = streamId; in notifyError() [all …]
|
D | ExternalCameraUtils.cpp | 187 int32_t streamId, in importBufferImpl() argument 202 CirculatingBuffers& cbs = circulatingBuffers[streamId]; in importBufferImpl() 212 ALOGE("%s: output buffer for stream %d is invalid!", __FUNCTION__, streamId); in importBufferImpl()
|
/hardware/interfaces/tv/input/1.0/default/ |
D | TvInput.cpp | 93 tvStreamConfigs[pos].streamId = configs[i].stream_id; in getStreamConfigurations() 106 Return<void> TvInput::openStream(int32_t deviceId, int32_t streamId, openStream_cb cb) { in openStream() argument 108 stream.stream_id = streamId; in openStream() 130 Return<Result> TvInput::closeStream(int32_t deviceId, int32_t streamId) { in closeStream() argument 131 int ret = mDevice->close_stream(mDevice, deviceId, streamId); in closeStream()
|
D | TvInput.h | 50 Return<void> openStream(int32_t deviceId, int32_t streamId, 52 Return<Result> closeStream(int32_t deviceId, int32_t streamId) override;
|
/hardware/interfaces/tv/input/1.0/ |
D | ITvInput.hal | 55 * @param streamId Steam ID for the steam to open. Must be one of the 65 openStream(int32_t deviceId, int32_t streamId) 72 * @param streamId Steam ID for the steam to open. 78 closeStream(int32_t deviceId, int32_t streamId) generates (Result result);
|
D | types.hal | 138 int32_t streamId;
|
/hardware/interfaces/camera/device/3.5/default/include/device_v3_5_impl/ |
D | CameraDeviceSession.h | 143 Camera3Stream* getStreamPointer(int32_t streamId); 147 void pushBufferId(const buffer_handle_t& buf, uint64_t bufferId, int streamId); 151 uint64_t popBufferId(const buffer_handle_t& buf, int streamId); 158 virtual uint64_t getCapResultBufferId(const buffer_handle_t& buf, int streamId) override;
|
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ |
D | ExternalCameraUtils.h | 195 int32_t streamId; member 227 int32_t streamId, 261 int32_t streamId, uint64_t bufId, buffer_handle_t buf, 264 virtual void notifyError(uint32_t frameNumber, int32_t streamId, ErrorCode ec) = 0;
|
D | ExternalCameraDeviceSession.h | 231 virtual Status importBuffer(int32_t streamId, 244 virtual void notifyError(uint32_t frameNumber, int32_t streamId, ErrorCode ec) override; 294 Status importBufferLocked(int32_t streamId,
|
/hardware/interfaces/tv/input/1.0/vts/functional/ |
D | VtsHalTvInputV1_0TargetTest.cpp | 216 int32_t stream_id = config[i].streamId; in TEST_P() 277 stream_ids.push_back(config[i].streamId); in TEST_P() 306 int32_t stream_id = stream_config_.valueAt(indices[0])[0].streamId; in TEST_P() 332 int32_t stream_id = stream_config_.valueAt(indices[0])[0].streamId; in TEST_P()
|
/hardware/interfaces/camera/device/3.5/ |
D | types.hal | 99 int32_t streamId; 125 * Failure due to bad BufferRequest input, eg: unknown streamId or repeated 126 * streamId. 140 int32_t streamId;
|
/hardware/interfaces/camera/provider/2.4/vts/functional/ |
D | VtsHalCameraProviderV2_4TargetTest.cpp | 834 int deviceVerison, int32_t streamId, sp<DeviceCb> cb, 1488 if (bufReqs[i].streamId == mStreams[idx].v3_2.id) { in requestStreamBuffers() 1496 __FUNCTION__, bufReqs[i].streamId); in requestStreamBuffers() 1512 bufRets[i].streamId = stream.v3_2.id; in requestStreamBuffers() 1537 bufRets[i].streamId = stream.v3_2.id; in requestStreamBuffers() 1567 if (mStreams[idx].v3_2.id == buf.streamId && in returnStreamBuffers() 3215 int32_t streamId = 0; in TEST_P() local 3230 stream3_2 = {streamId, in TEST_P() 3250 [streamId](Status s, device::V3_4::HalStreamConfiguration halConfig) { in TEST_P() 3253 ASSERT_EQ(halConfig.streams[0].v3_3.v3_2.id, streamId); in TEST_P() [all …]
|
/hardware/interfaces/camera/device/3.6/default/include/ext_device_v3_6_impl/ |
D | ExternalCameraOfflineSession.h | 116 virtual Status importBuffer(int32_t streamId, 129 virtual void notifyError(uint32_t frameNumber, int32_t streamId, ErrorCode ec) override;
|
D | ExternalCameraDeviceSession.h | 86 bool supportOfflineLocked(int32_t streamId);
|
/hardware/google/camera/common/hal/hidl_service/ |
D | hidl_utils.cc | 332 hidl_buffer->streamId = hal_buffer.stream_id; in ConvertToHidlStreamBuffer() 400 hidl_result->inputBuffer.streamId = -1; in ConvertToHidlCaptureResult_V3_2() 597 (*hidl_buffer_requests)[i].streamId = hal_buffer_requests[i].stream_id; in ConvertToHidlBufferRequest() 633 hal_buffer->stream_id = hidl_buffer.streamId; in ConvertToHalStreamBuffer() 771 hal_cache.stream_id = hidl_cache.streamId; in ConvertToHalBufferCaches()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraParametersIntf.h | 202 int32_t addOnlineRotation(uint32_t rotation, uint32_t streamId,
|
/hardware/google/easel/amber/camera/include/ |
D | HdrPlusTypes.h | 185 uint32_t streamId; member
|
/hardware/interfaces/tv/tuner/1.0/ |
D | types.hal | 933 uint16_t streamId; 1016 uint16_t streamId; 2132 DemuxStreamId streamId; 2408 DemuxStreamId streamId; 2469 DemuxStreamId streamId;
|