Home
last modified time | relevance | path

Searched refs:streamId (Results 1 – 25 of 105) sorted by relevance

12345

/hardware/interfaces/camera/device/3.5/default/
DCameraDeviceSession.cpp119 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 …]
DExternalCameraDeviceSession.cpp156 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/
DExternalCameraDeviceSession.cpp117 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 …]
DExternalCameraOfflineSession.cpp186 ALOGW("%s: buffer for stream %d missing", __FUNCTION__, halBuf.streamId); in threadLoop()
293 Status ExternalCameraOfflineSession::importBuffer(int32_t streamId, in importBuffer() argument
299 mCirculatingBuffers, sHandleImporter, streamId, in importBuffer()
355 result.inputBuffer.streamId = -1; in processCaptureResult()
358 result.outputBuffers[i].streamId = req->buffers[i].streamId; in processCaptureResult()
367 notifyError(req->frameNumber, req->buffers[i].streamId, ErrorCode::ERROR_BUFFER); in processCaptureResult()
455 result.inputBuffer.streamId = -1; in processCaptureRequestError()
458 result.outputBuffers[i].streamId = req->buffers[i].streamId; in processCaptureRequestError()
484 void ExternalCameraOfflineSession::notifyError(uint32_t frameNumber, int32_t streamId, ErrorCode ec… in notifyError() argument
488 msg.msg.error.errorStreamId = streamId; in notifyError()
/hardware/interfaces/tv/input/aidl/aidl_api/android.hardware.tv.input/2/android/hardware/tv/input/
DITvInput.aidl37 void closeStream(in int deviceId, in int streamId); in closeStream() argument
39 android.hardware.common.NativeHandle openStream(in int deviceId, in int streamId); in openStream() argument
41 …void setTvMessageEnabled(int deviceId, int streamId, in android.hardware.tv.input.TvMessageEventTy… in setTvMessageEnabled() argument
42 …criptor<byte,android.hardware.common.fmq.SynchronizedReadWrite> queue, int deviceId, int streamId); in getTvMessageQueueDesc() argument
/hardware/interfaces/tv/input/aidl/aidl_api/android.hardware.tv.input/1/android/hardware/tv/input/
DITvInput.aidl37 void closeStream(in int deviceId, in int streamId); in closeStream() argument
39 android.hardware.common.NativeHandle openStream(in int deviceId, in int streamId); in openStream() argument
41 …void setTvMessageEnabled(int deviceId, int streamId, in android.hardware.tv.input.TvMessageEventTy… in setTvMessageEnabled() argument
42 …criptor<byte,android.hardware.common.fmq.SynchronizedReadWrite> queue, int deviceId, int streamId); in getTvMessageQueueDesc() argument
/hardware/interfaces/tv/input/aidl/aidl_api/android.hardware.tv.input/current/android/hardware/tv/input/
DITvInput.aidl37 void closeStream(in int deviceId, in int streamId); in closeStream() argument
39 android.hardware.common.NativeHandle openStream(in int deviceId, in int streamId); in openStream() argument
41 …void setTvMessageEnabled(int deviceId, int streamId, in android.hardware.tv.input.TvMessageEventTy… in setTvMessageEnabled() argument
42 …criptor<byte,android.hardware.common.fmq.SynchronizedReadWrite> queue, int deviceId, int streamId); in getTvMessageQueueDesc() argument
/hardware/interfaces/tv/input/aidl/android/hardware/tv/input/
DITvInput.aidl43 void closeStream(in int deviceId, in int streamId); in closeStream() argument
66 NativeHandle openStream(in int deviceId, in int streamId); in openStream() argument
90 int deviceId, int streamId, in TvMessageEventType type, boolean enabled); in setTvMessageEnabled() argument
111 out MQDescriptor<byte, SynchronizedReadWrite> queue, int deviceId, int streamId); in getTvMessageQueueDesc() argument
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp270 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 …]
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp380 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 …]
/hardware/interfaces/camera/device/default/
DExternalCameraOfflineSession.cpp87 Status ExternalCameraOfflineSession::importBuffer(int32_t streamId, uint64_t bufId, in importBuffer() argument
91 return importBufferImpl(mCirculatingBuffers, sHandleImporter, streamId, bufId, buf, outBufPtr); in importBuffer()
102 result.inputBuffer.streamId = -1; in processCaptureResult()
106 outputBuffer.streamId = req->buffers[i].streamId; in processCaptureResult()
116 notifyError(req->frameNumber, req->buffers[i].streamId, ErrorCode::ERROR_BUFFER); in processCaptureResult()
242 result.inputBuffer.streamId = -1; in processCaptureRequestError()
246 outputBuffer.streamId = req->buffers[i].streamId; in processCaptureRequestError()
274 void ExternalCameraOfflineSession::notifyError(int32_t frameNumber, int32_t streamId, in notifyError() argument
278 ErrorMsg{.frameNumber = frameNumber, .errorStreamId = streamId, .errorCode = ec}); in notifyError()
453 ALOGW("%s: buffer for stream %d missing", __FUNCTION__, halBuf.streamId); in threadLoop()
DExternalCameraDeviceSession.cpp530 if (request.inputBuffer.streamId != -1) { in processOneCaptureRequest()
547 if (outputBuf.streamId == -1 || mStreamMap.find(outputBuf.streamId) == mStreamMap.end()) { in processOneCaptureRequest()
549 outputBuf.streamId); in processOneCaptureRequest()
658 int streamId = halBuf.streamId = request.outputBuffers[i].streamId; in processOneCaptureRequest() local
660 const Stream& stream = mStreamMap[streamId]; in processOneCaptureRequest()
736 for (auto streamId : offlineStreams) { in switchToOffline() local
737 if (!supportOfflineLocked(streamId)) { in switchToOffline()
769 if (buffer.streamId == offlineStreamId) { in switchToOffline()
777 .errorStreamId = buffer.streamId, in switchToOffline()
787 .inputBuffer = {.streamId = -1}, in switchToOffline()
[all …]
/hardware/interfaces/tv/input/1.0/default/
DTvInput.cpp93 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()
DTvInput.h50 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/
DITvInput.hal55 * @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);
/hardware/interfaces/tv/input/aidl/vts/functional/
DVtsHalTvInputTargetTest.cpp182 int32_t stream_id = config[i].streamId; in TEST_P()
250 stream_ids.push_back(config[i].streamId); in TEST_P()
285 int32_t stream_id = streamConfigs[0].streamId; in TEST_P()
323 int32_t stream_id = streamConfigs[0].streamId; in TEST_P()
344 int32_t stream_id = streamConfigs[0].streamId; in TEST_P()
362 int32_t stream_id = streamConfigs[0].streamId; in TEST_P()
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/3/android/hardware/camera/device/
DBufferRequest.aidl37 int streamId;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/1/android/hardware/camera/device/
DBufferCache.aidl37 int streamId;
/hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/2/android/hardware/tv/tuner/
DDemuxFilterPesDataSettings.aidl38 int streamId;
/hardware/interfaces/camera/device/aidl/android/hardware/camera/device/
DBufferCache.aidl35 int streamId;
DBufferRequest.aidl21 int streamId;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/current/android/hardware/camera/device/
DBufferCache.aidl37 int streamId;
DBufferRequest.aidl37 int streamId;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/2/android/hardware/camera/device/
DBufferCache.aidl37 int streamId;
DBufferRequest.aidl37 int streamId;

12345