Home
last modified time | relevance | path

Searched refs:streamId_ (Results 1 - 25 of 81) sorted by relevance

1234

/drivers/peripheral/camera/hdi_service/v1_0/src/
H A Dcamera_service_type_converter.cpp22 dst.streamId_ = src.streamId_; in ConvertStreamInfoHdiToVdi()
36 dst.streamId_ = src.streamId_; in ConvertStreamAttributeHdiToVdi()
62 dst.streamId_ = src.streamId_; in ConvertCaptureEndedInfoHdiToVdi()
68 dst.streamId_ = src.streamId_; in ConvertCaptureErrorInfoHdiToVdi()
74 dst.streamId_ = src.streamId_; in ConvertStreamInfoVdiToHdi()
[all...]
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
H A Dstream_base.cpp36 streamId_ = id; in StreamBase()
49 hostStreamMgr_->DestroyHostStream({streamId_}); in ~StreamBase()
53 pipeline_->DestroyPipeline({streamId_}); in ~StreamBase()
91 info.streamId_ = streamId_; in CommitStream()
117 CAMERA_LOGE("commit stream [id:%{public}d] to pipeline failed.", streamId_); in CommitStream()
121 encodeType = %{public}d", info.streamId_, info.width_, info.height_, info.bufferPoolId_, info.encodeType_); in CommitStream()
142 CAMERA_LOGI("start stream [id:%{public}d] begin", streamId_); in StartStream()
145 RetCode rc = pipeline_->Prepare({streamId_}); in StartStream()
147 CAMERA_LOGE("pipeline [id:%{public}d] prepare failed", streamId_); in StartStream()
[all...]
H A Dstream_still_capture.cpp82 context->restRequests.size(), streamId_); in ChangeToOfflineStream()
88 CAMERA_LOGE("offline stream [id:%{public}d] init failed", streamId_); in ChangeToOfflineStream()
99 CAMERA_LOGI("stream [id:%{public}d], no need to stop", streamId_); in StopStream()
102 CAMERA_LOGI("stop stream [id:%{public}d] begin", streamId_); in StopStream()
125 RetCode rc = pipeline_->Flush({streamId_}); in StopStream()
127 CAMERA_LOGE("stream [id:%{public}d], pipeline flush failed", streamId_); in StopStream()
132 CAMERA_LOGI("stream [id:%{public}d] is waiting buffers returned", streamId_); in StopStream()
134 CAMERA_LOGI("stream [id:%{public}d], all buffers are returned.", streamId_); in StopStream()
137 rc = pipeline_->Stop({streamId_}); in StopStream()
139 CAMERA_LOGE("stream [id:%{public}d], pipeline stop failed", streamId_); in StopStream()
[all...]
H A Dstream_statistics.cpp25 streamId_ = streamId; in StreamStatistics()
33 streamId_ = streamId; in SetStreamId()
101 ss << "streamId:" << streamId_ << ", buf status(suc/fail) req:" << requestBufferSuccessCount_ << in DumpStats()
H A Dstream_operator_vdi_impl.cpp146 inputIDSet.emplace(it.streamId_); in IsStreamsSupported()
147 checkStreamIdVec.push_back(it.streamId_); in IsStreamsSupported()
215 scg.id = info.streamId_; in StreamInfoToStreamConfiguration()
235 it.streamId_, it.format_, it.width_, it.height_); in CreateStreams()
236 if (streamMap_.count(it.streamId_) > 0) { in CreateStreams()
237 CAMERA_LOGE("stream [id = %{public}d] has already been created.", it.streamId_); in CreateStreams()
241 IStream::g_availableStreamType[it.intent_], it.streamId_, it.intent_, pipelineCore_, messenger_); in CreateStreams()
252 CAMERA_LOGE("stream [id:%{public}d] is not tunnel mode, can't bind a buffer producer", it.streamId_); in CreateStreams()
261 CAMERA_LOGE("attach buffer queue to stream [id = %{public}d] failed", it.streamId_); in CreateStreams()
379 attribute.streamId_ in GetStreamAttributes()
[all...]
H A Dcapture_message.cpp22 streamId_ = streamId; in ICaptureMessage()
38 return streamId_; in GetStreamId()
/drivers/peripheral/camera/vdi_base/v4l2/src/offline_stream_operator/
H A Doffline_stream.cpp22 streamId_ = id; in OfflineStream()
35 return streamId_; in GetStreamId()
55 RetCode ret = manager.SwitchToOfflinePipeline(streamId_, context_->streamInfo.type, pipeline, cb); in Init()
67 RetCode ret = manager.CancelCapture(streamId_, captureId); in CancelCapture()
87 RetCode ret = manager.DestoryOfflinePipeline(streamId_); in Release()
89 CAMERA_LOGE("release offline pipeline %{public}d failed", streamId_); in Release()
119 streamId_, buffer->GetIndex()); in ReturnBuffer()
135 streamId_, buffer->GetIndex()); in ReturnBuffer()
146 std::make_shared<CaptureErrorMessage>(streamId_, request->GetCaptureId(), request->GetEndTime(), in ReturnBuffer()
154 streamId_, reques in ReturnBuffer()
[all...]
/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/
H A Dfork_node.cpp46 if (out->format_.streamId_ != in->format_.streamId_) { in Start()
47 id = out->format_.streamId_; in Start()
49 CAMERA_LOGI("fork buffer get buffer streamId = %{public}d", out->format_.streamId_); in Start()
66 streamId_ = id; in Start()
91 if (streamId_ == streamId) { in Flush()
171 CAMERA_LOGI("PcForkNode::Capture in->format_.streamId_ = %{public}d", in->format_.streamId_); in Capture()
172 if (streamId == in->format_.streamId_) { in Capture()
204 if (it->format_.streamId_ in DrainForkBufferPool()
[all...]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/fork_node/
H A Dfork_node.cpp47 if (out->format_.streamId_ != in->format_.streamId_) { in Start()
48 id = out->format_.streamId_; in Start()
50 CAMERA_LOGI("fork buffer get buffer streamId = %{public}d", out->format_.streamId_); in Start()
75 streamId_ = id; in Start()
111 if (streamId_ == streamId) { in Flush()
183 CAMERA_LOGI("ForkNode::Capture in->format_.streamId_ = %{public}d", in->format_.streamId_); in Capture()
184 if (streamId == in->format_.streamId_) { in Capture()
255 if (it->format_.streamId_ in DrainForkBufferPool()
[all...]
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/
H A Dvdi_types.h112 int32_t streamId_; member
125 int32_t streamId_; member
143 int32_t streamId_; member
148 int32_t streamId_; member
/drivers/peripheral/camera/test/ut/pipeline_core/
H A Dpipeline_core_test.cpp68 .streamId_ = PREVIEW_ID in HWTEST_F()
88 .streamId_ = CAPTURE_ID in HWTEST_F()
108 .streamId_ = PREVIEW_ID in HWTEST_F()
112 .streamId_ = CAPTURE_ID in HWTEST_F()
132 .streamId_ = PREVIEW_ID in HWTEST_F()
143 .streamId_ = CAPTURE_ID in HWTEST_F()
159 .streamId_ = CAPTURE_ID in HWTEST_F()
163 .streamId_ = PREVIEW_ID in HWTEST_F()
183 .streamId_ = PREVIEW_ID in HWTEST_F()
187 .streamId_ in HWTEST_F()
[all...]
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
H A Ddcamera_stream.cpp27 if ((info.streamId_ < 0) || (info.width_ < 0) || (info.height_ < 0) || in InitDCameraStream()
32 dcStreamId_ = info.streamId_; in InitDCameraStream()
34 dcStreamInfo_->streamId_ = info.streamId_; in InitDCameraStream()
44 dcStreamAttribute_.streamId_ = dcStreamInfo_->streamId_; in InitDCameraStream()
215 dcStreamInfo_->streamId_, surfaceError); in GetNextRequest()
227 DHLOGE("Convert surfacebuffer to image buffer failed, streamId = %{public}d.", dcStreamInfo_->streamId_); in SurfaceBufferToDImageBuffer()
238 DHLOGE("Add buffer to buffer manager failed. [streamId = %{public}d]", dcStreamInfo_->streamId_); in SurfaceBufferToDImageBuffer()
383 DHLOGI("Do capture, streamId %{public}d", dcStreamInfo_->streamId_); in DoCapture()
[all...]
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/
H A Ddstream_operator_test.cpp128 streamInfo.streamId_ = TEST_STREAMID; in HWTEST_F()
156 streamInfo.streamId_ = TEST_STREAMID; in HWTEST_F()
182 streamInfo.streamId_ = TEST_STREAMID; in HWTEST_F()
200 streamIds.push_back(streamInfo.streamId_); in HWTEST_F()
216 streamInfo.streamId_ = TEST_STREAMID; in HWTEST_F()
237 streamIds.push_back(streamInfo.streamId_); in HWTEST_F()
253 streamInfo.streamId_ = TEST_STREAMID; in HWTEST_F()
267 rc = dstreamOperator_->AttachBufferQueue(streamInfo.streamId_, bufferProducer); in HWTEST_F()
271 streamIds.push_back(streamInfo.streamId_); in HWTEST_F()
287 streamInfo.streamId_ in HWTEST_F()
[all...]
/drivers/peripheral/camera/test/ut/v4l2/
H A Dhdi_interfaces_test.cpp61 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F()
79 streamIds.push_back(cameraBase->streamInfo->streamId_); in TEST_F()
114 cameraBase->streamInfo->streamId_ = -1; in TEST_F()
159 streamInfo->streamId_ = INVALID_VALUE_TEST; in TEST_F()
205 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F()
249 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F()
268 streamIds.push_back(cameraBase->streamInfo->streamId_); in TEST_F()
303 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F()
347 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F()
391 cameraBase->streamInfo->streamId_ in TEST_F()
[all...]
H A Dhdi_func_test.cpp339 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F()
355 cameraBase->rc = cameraBase->streamOperator->AttachBufferQueue(cameraBase->streamInfo->streamId_, producer); in TEST_F()
391 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F()
438 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F()
455 cameraBase->rc = cameraBase->streamOperator->AttachBufferQueue(cameraBase->streamInfo->streamId_, nullptr); in TEST_F()
491 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F()
504 cameraBase->rc = cameraBase->streamOperator->AttachBufferQueue(cameraBase->streamInfo->streamId_, producer); in TEST_F()
510 cameraBase->rc = cameraBase->streamOperator->DetachBufferQueue(cameraBase->streamInfo->streamId_); in TEST_F()
547 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F()
560 cameraBase->rc = cameraBase->streamOperator->AttachBufferQueue(cameraBase->streamInfo->streamId_, produce in TEST_F()
[all...]
H A Dcamera_preview_test.cpp62 streamInfo.streamId_ = 1001; in HWTEST_F()
105 streamInfo.streamId_ = 1001; in HWTEST_F()
159 streamInfo.streamId_ = -1; in HWTEST_F()
201 streamInfo.streamId_ = 2147483647; in HWTEST_F()
304 streamInfo.streamId_ = 1001; in HWTEST_F()
324 streamIds.push_back(streamInfo.streamId_); in HWTEST_F()
358 streamInfo.streamId_ = 1001; in HWTEST_F()
375 streamIds.push_back(streamInfo.streamId_); in HWTEST_F()
410 streamInfo.streamId_ = 1001; in HWTEST_F()
454 streamInfo.streamId_ in HWTEST_F()
[all...]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/include/
H A Dstream_pipeline_data_structure.h37 uint32_t streamId_; variable
55 int streamId_;
/drivers/peripheral/camera/vdi_base/common/pipeline_core/host_stream/src/
H A Dhost_stream_mgr_impl.cpp36 return s->GetStreamId() == info.streamId_; in CreateHostStream()
39 CAMERA_LOGE("host stream %{public}d exists.", info.streamId_); in CreateHostStream()
43 info.bufferPoolId_, info.streamId_, info.type_, info.encodeType_); in CreateHostStream()
/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
H A Dcamera_benchmark_test.cpp172 streamInfoPre->streamId_ = cameraTest->streamIdPreview; in BENCHMARK_F()
212 streamInfoPre->streamId_ = cameraTest->streamIdPreview; in BENCHMARK_F()
455 cameraTest->streamInfo->streamId_ = 1001; in BENCHMARK_F()
500 cameraTest->streamInfo->streamId_ = 1201; // PREVIEW streamId in BENCHMARK_F()
518 cameraTest->streamInfoSnapshot->streamId_ = 1202; // STILL_CAPTURE streamId in BENCHMARK_F()
548 cameraTest->streamOperator->AttachBufferQueue(cameraTest->streamInfoSnapshot->streamId_, in BENCHMARK_F()
553 cameraTest->rc = cameraTest->streamOperator->DetachBufferQueue(cameraTest->streamInfoSnapshot->streamId_); in BENCHMARK_F()
556 std::vector<int> streamIds = {cameraTest->streamInfo->streamId_, cameraTest->streamInfoSnapshot->streamId_}; in BENCHMARK_F()
579 cameraTest->streamInfo->streamId_ in BENCHMARK_F()
[all...]
/drivers/peripheral/camera/test/hdi/v1_0/src/
H A Dhdi_stream_uttest.cpp56 cameraTest->streamInfo->streamId_ = 101; in HWTEST_F()
103 streamIds.push_back(cameraTest->streamInfo->streamId_); in HWTEST_F()
124 cameraTest->streamInfo->streamId_ = -1; in HWTEST_F()
173 cameraTest->rc = cameraTest->streamOperator->ReleaseStreams({cameraTest->streamInfo->streamId_}); in HWTEST_F()
220 cameraTest->rc = cameraTest->streamOperator->ReleaseStreams({cameraTest->streamInfo->streamId_}); in HWTEST_F()
245 cameraTest->rc = cameraTest->streamOperator->ReleaseStreams({cameraTest->streamInfo->streamId_}); in HWTEST_F()
270 cameraTest->rc = cameraTest->streamOperator->ReleaseStreams({cameraTest->streamInfo->streamId_}); in HWTEST_F()
294 cameraTest->rc = cameraTest->streamOperator->ReleaseStreams({cameraTest->streamInfo->streamId_}); in HWTEST_F()
318 cameraTest->rc = cameraTest->streamOperator->ReleaseStreams({cameraTest->streamInfo->streamId_}); in HWTEST_F()
342 cameraTest->rc = cameraTest->streamOperator->ReleaseStreams({cameraTest->streamInfo->streamId_}); in HWTEST_F()
[all...]
/drivers/peripheral/camera/hal_c/hdi_cif/src/
H A Dstream_operator.cpp41 si.streamId = pInfo->streamId_; in IsStreamsSupported()
51 BindBufferProducer(pInfo->streamId_, pInfo->bufferQueue_); in IsStreamsSupported()
85 sis[i].streamId = streamInfos[i]->streamId_; in CreateStreams()
95 BindBufferProducer(streamInfos[i]->streamId_, streamInfos[i]->bufferQueue_); in CreateStreams()
169 it->streamId_ = sa[i].streamId; in GetStreamAttributes()
H A Dstream_operator_callback_wrapper.cpp54 it->streamId_ = info[i].streamId; in StreamCBOnCaptureEnded()
77 it->streamId_ = info[i].streamId; in StreamCBOnCaptureError()
/drivers/peripheral/camera/test/mpi/src/
H A Dhdi_stream_test.cpp61 Test_->streamInfo->streamId_ = 1001; // 1001:streamId in HWTEST_F()
113 Test_->streamInfo->streamId_ = 1001; // 1001:streamId in HWTEST_F()
203 Test_->streamInfo->streamId_ = 1001; // 1001:streamId in HWTEST_F()
250 Test_->streamInfo->streamId_ = 1001; in HWTEST_F()
274 streamIds.push_back(Test_->streamInfo->streamId_); in HWTEST_F()
296 Test_->streamInfo->streamId_ = -1; in HWTEST_F()
337 Test_->streamInfo->streamId_ = 2147483647; in HWTEST_F()
361 Test_->rc = Test_->streamOperator->ReleaseStreams({Test_->streamInfo->streamId_}); in HWTEST_F()
381 Test_->streamInfo->streamId_ = 1001; in HWTEST_F()
422 Test_->streamInfo->streamId_ in HWTEST_F()
[all...]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/host_stream/include/
H A Dhost_stream_data_structure.h24 int32_t streamId_;
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/mpi_node/
H A Dmpi_node.cpp45 if (f.streamId_ == streamId) { in ConnectMpi()
83 if (f.streamId_ == streamId) { in DisConnectMpi()

Completed in 15 milliseconds

1234