Home
last modified time | relevance | path

Searched refs:streamInfoPre (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/drivers/peripheral/camera/test/ut/v4l2/
H A Dlogic_camera_test.cpp61 std::shared_ptr<StreamInfo> streamInfoPre = std::make_shared<StreamInfo>(); in TEST_F() local
62 streamInfoPre->streamId_ = cameraBase->STREAM_ID_PREVIEW; in TEST_F()
63 streamInfoPre->width_ = DEFAULT_TEST_WIDTH_VALUE; in TEST_F()
64 streamInfoPre->height_ = DEFAULT_TEST_HEIGHT_VALUE; in TEST_F()
65 streamInfoPre->format_ = CAMERA_FORMAT_YUYV_422_PKG; in TEST_F()
66 streamInfoPre->dataspace_ = DEFAULT_TEST_DATASPACE_VALUE; in TEST_F()
67 streamInfoPre->intent_ = PREVIEW; in TEST_F()
68 streamInfoPre->tunneledMode_ = DEFAULT_TEST_TUNNELEDMODE_VALUE; in TEST_F()
69 streamInfoPre->bufferQueue_ = producer; in TEST_F()
70 cameraBase->streamInfos.push_back(streamInfoPre); in TEST_F()
H A Dtest_camera_base.cpp531 streamInfoPre.streamId_ = STREAM_ID_PREVIEW; in StartStream()
532 streamInfoPre.width_ = PREVIEW_WIDTH; // 640:picture width in StartStream()
533 streamInfoPre.height_ = PREVIEW_HEIGHT; // 480:picture height in StartStream()
534 streamInfoPre.format_ = PIXEL_FMT_RGBA_8888; in StartStream()
535 streamInfoPre.dataspace_ = 8; // 8:picture dataspace in StartStream()
536 streamInfoPre.intent_ = intent; in StartStream()
537 streamInfoPre.tunneledMode_ = 5; // 5:tunnel mode in StartStream()
538streamInfoPre.bufferQueue_ = new BufferProducerSequenceable(streamCustomerPreview_->CreateProducer… in StartStream()
539 ASSERT_NE(streamInfoPre.bufferQueue_, nullptr); in StartStream()
540 streamInfoPre.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in StartStream()
[all …]
H A Dtest_camera_base.h112 StreamInfo streamInfoPre = {}; variable
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
H A Dcamera_benchmark_test.cpp174 streamInfoPre->width_ = cameraTest->previewWidth; in BENCHMARK_F()
175 streamInfoPre->height_ = cameraTest->previewHeight; in BENCHMARK_F()
176 streamInfoPre->format_ = cameraTest->previewFormat; in BENCHMARK_F()
178 streamInfoPre->intent_ = PREVIEW; in BENCHMARK_F()
182 if (streamInfoPre->bufferQueue_ == nullptr) { in BENCHMARK_F()
189 streamInfos.push_back(*streamInfoPre); in BENCHMARK_F()
214 streamInfoPre->width_ = cameraTest->previewWidth; in BENCHMARK_F()
215 streamInfoPre->height_ = cameraTest->previewHeight; in BENCHMARK_F()
216 streamInfoPre->format_ = cameraTest->previewFormat; in BENCHMARK_F()
218 streamInfoPre->intent_ = PREVIEW; in BENCHMARK_F()
[all …]
H A Dbenchmark_common.cpp137 streamInfoPre = std::make_shared<StreamInfo>(); in StartStream()
143 streamInfoPre->streamId_ = streamIdPreview; in StartStream()
144 streamInfoPre->width_ = previewWidth; in StartStream()
145 streamInfoPre->height_ = previewHeight; in StartStream()
146 streamInfoPre->format_ = previewFormat; in StartStream()
147 streamInfoPre->dataspace_ = UT_DATA_SIZE; in StartStream()
148 streamInfoPre->intent_ = intent; in StartStream()
149 streamInfoPre->tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
151streamInfoPre->bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in StartStream()
154 streamInfoPre->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
[all …]
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_0/src/
H A Dcamera_hal_hisysevent_test.cpp52 cameraTest->streamInfoPre = std::make_shared<StreamInfo>();
53 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre);
54 cameraTest->streamInfoPre->format_ = 9990;
55 cameraTest->streamInfos.push_back(*cameraTest->streamInfoPre);
H A Dut_common.cpp259 streamInfoPre = std::make_shared<StreamInfo>(); in StartStream()
265 DefaultInfosPreview(streamInfoPre); in StartStream()
266 streamInfos.push_back(*streamInfoPre); in StartStream()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_3/src/
H A Dcamera_hdi_uttest_securestream_v1_3.cpp81 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
82 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre);
98 cameraTest->streamInfoPre->extendedStreamInfos = {extendedStreamInfo};
99 cameraTest->streamInfos.push_back(*(cameraTest->streamInfoPre));
H A Dcamera_hdi_uttest_v1_3.cpp115 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre); in CreateAndCommitStreamsForHighFrameRate()
116 cameraTest->streamInfoPre->v1_0.width_ = STREAMINFO_WIDTH; in CreateAndCommitStreamsForHighFrameRate()
117 cameraTest->streamInfoPre->v1_0.height_ = STREAMINFO_HEIGHT; in CreateAndCommitStreamsForHighFrameRate()
118 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoPre); in CreateAndCommitStreamsForHighFrameRate()
240 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre); in CreateAndCommitStreamsForSlowMotion()
241 cameraTest->streamInfoPre->v1_0.width_ = STREAMINFO_WIDTH; in CreateAndCommitStreamsForSlowMotion()
242 cameraTest->streamInfoPre->v1_0.height_ = STREAMINFO_HEIGHT; in CreateAndCommitStreamsForSlowMotion()
243 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoPre); in CreateAndCommitStreamsForSlowMotion()
777 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre); in startStreamForHighResolutionPhoto()
892 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre);
[all …]
H A Dhdi_common_v1_3.cpp347 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartProfessionalStream()
354 DefaultInfosPreview(streamInfoPre); in StartProfessionalStream()
355 streamInfos.push_back(*streamInfoPre); in StartProfessionalStream()
397 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
404 DefaultInfosPreview(streamInfoPre); in StartStream()
405 streamInfos.push_back(*streamInfoPre); in StartStream()
H A Dcamera_professional_uttest_v1_3.cpp1448 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
1449 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre);
1450 cameraTest->streamInfoPre->v1_0.width_ = g_supportedResolution[i][0];
1451 cameraTest->streamInfoPre->v1_0.height_ = g_supportedResolution[i][1];
1452 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoPre);
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_1/src/
H A Dbenchmark_common.cpp180 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
186 streamInfoPre->v1_0.streamId_ = streamIdPreview; in StartStream()
187 streamInfoPre->v1_0.width_ = previewWidth; in StartStream()
188 streamInfoPre->v1_0.height_ = previewHeight; in StartStream()
189 streamInfoPre->v1_0.format_ = previewFormat; in StartStream()
190 streamInfoPre->v1_0.dataspace_ = UT_DATA_SIZE; in StartStream()
191 streamInfoPre->v1_0.intent_ = intent; in StartStream()
192 streamInfoPre->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
194streamInfoPre->v1_0.bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t siz… in StartStream()
197 streamInfoPre->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
[all …]
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_2/src/
H A Dcamera_stream_uttest_v1_2.cpp94 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
95 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre);
96 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoPre);
150 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
151 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre);
152 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoPre);
206 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
207 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre);
208 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoPre);
H A Dhdi_common_v1_2.cpp340 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
347 DefaultInfosPreview(streamInfoPre); in StartStream()
348 streamInfos.push_back(*streamInfoPre); in StartStream()
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_2/src/
H A Dbenchmark_common.cpp192 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
198 streamInfoPre->v1_0.streamId_ = streamIdPreview; in StartStream()
199 streamInfoPre->v1_0.width_ = previewWidth; in StartStream()
200 streamInfoPre->v1_0.height_ = previewHeight; in StartStream()
201 streamInfoPre->v1_0.format_ = previewFormat; in StartStream()
202 streamInfoPre->v1_0.dataspace_ = UT_DATA_SIZE; in StartStream()
203 streamInfoPre->v1_0.intent_ = intent; in StartStream()
204 streamInfoPre->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
206streamInfoPre->v1_0.bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t siz… in StartStream()
209 streamInfoPre->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
[all …]
/ohos5.0/drivers/peripheral/camera/test/ut/usb_camera/
H A Dtest_camera_base.cpp553 streamInfoPre.streamId_ = STREAM_ID_PREVIEW; in StartStream()
554 streamInfoPre.width_ = PREVIEW_WIDTH; // 640:picture width in StartStream()
555 streamInfoPre.height_ = PREVIEW_HEIGHT; // 480:picture height in StartStream()
556 streamInfoPre.format_ = PIXEL_FMT_RGBA_8888; in StartStream()
557 streamInfoPre.dataspace_ = 8; // 8:picture dataspace in StartStream()
558 streamInfoPre.intent_ = intent; in StartStream()
559 streamInfoPre.tunneledMode_ = 5; // 5:tunnel mode in StartStream()
560streamInfoPre.bufferQueue_ = new BufferProducerSequenceable(streamCustomerPreview_->CreateProducer… in StartStream()
561 ASSERT_NE(streamInfoPre.bufferQueue_, nullptr); in StartStream()
562 streamInfoPre.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in StartStream()
[all …]
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_3/src/
H A Dbenchmark_common.cpp312 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartProfessionalStream()
319 DefaultInfosPreview(streamInfoPre); in StartProfessionalStream()
320 streamInfos.push_back(*streamInfoPre); in StartProfessionalStream()
362 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
369 DefaultInfosPreview(streamInfoPre); in StartStream()
370 streamInfos.push_back(*streamInfoPre); in StartStream()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_1/src/
H A Dhdi_common_v1_1.cpp260 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
267 DefaultInfosPreview(streamInfoPre); in StartStream()
268 streamInfos.push_back(*streamInfoPre); in StartStream()
/ohos5.0/drivers/peripheral/camera/test/fuzztest/common/src/
H A Dcommon.cpp417 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
424 DefaultInfosPreview(streamInfoPre); in StartStream()
425 streamInfos.push_back(*streamInfoPre); in StartStream()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_0/include/
H A Dut_common.h80 std::shared_ptr<StreamInfo> streamInfoPre = nullptr; variable
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_1/include/
H A Dhdi_common_v1_1.h104 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoPre = nullptr; variable
/ohos5.0/drivers/peripheral/camera/test/fuzztest/common/include/
H A Dcommon.h143 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoPre = nullptr; variable
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_2/include/
H A Dhdi_common_v1_2.h136 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoPre = nullptr; variable
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_3/include/
H A Dhdi_common_v1_3.h122 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoPre = nullptr; variable