Home
last modified time | relevance | path

Searched refs:streamInfoPre (Results 1 - 14 of 14) sorted by relevance

/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()
[all...]
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()
538 streamInfoPre.bufferQueue_ = new BufferProducerSequenceable(streamCustomerPreview_->CreateProducer()); in StartStream()
539 ASSERT_NE(streamInfoPre.bufferQueue_, nullptr); in StartStream()
540 streamInfoPre in StartStream()
[all...]
H A Dtest_camera_base.h112 StreamInfo streamInfoPre = {}; member in TestCameraBase
/drivers/peripheral/camera/test/hdi/v1_3/src/
H A Dcamera_hdi_uttest_securestream_v1_3.cpp69 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
70 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre); in HWTEST_F()
86 cameraTest->streamInfoPre->extendedStreamInfos = {extendedStreamInfo}; in HWTEST_F()
87 cameraTest->streamInfos.push_back(*(cameraTest->streamInfoPre)); in HWTEST_F()
H A Dcamera_hdi_uttest_v1_3.cpp114 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in CreateAndCommitStreamsForHighFrameRate()
115 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()
239 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in CreateAndCommitStreamsForSlowMotion()
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()
[all...]
H A Dcamera_professional_uttest_v1_3.cpp1493 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
1494 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre); in HWTEST_F()
1495 cameraTest->streamInfoPre->v1_0.width_ = g_supportedResolution[i][0]; in HWTEST_F()
1496 cameraTest->streamInfoPre->v1_0.height_ = g_supportedResolution[i][1]; in HWTEST_F()
1497 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoPre); in HWTEST_F()
/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
H A Dcamera_benchmark_test.cpp171 std::shared_ptr<StreamInfo> streamInfoPre = std::make_shared<StreamInfo>(); in BENCHMARK_F() local
172 streamInfoPre->streamId_ = cameraTest->streamIdPreview; in BENCHMARK_F()
173 streamInfoPre->width_ = cameraTest->previewWidth; in BENCHMARK_F()
174 streamInfoPre->height_ = cameraTest->previewHeight; in BENCHMARK_F()
175 streamInfoPre->format_ = cameraTest->previewFormat; in BENCHMARK_F()
176 streamInfoPre->dataspace_ = OHOS::Camera::UT_DATA_SIZE; in BENCHMARK_F()
177 streamInfoPre->intent_ = PREVIEW; in BENCHMARK_F()
178 streamInfoPre->tunneledMode_ = OHOS::Camera::UT_TUNNEL_MODE; in BENCHMARK_F()
181 if (streamInfoPre->bufferQueue_ == nullptr) { in BENCHMARK_F()
182 streamInfoPre in BENCHMARK_F()
211 std::shared_ptr<StreamInfo> streamInfoPre = std::make_shared<StreamInfo>(); BENCHMARK_F() local
[all...]
/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>(); in HWTEST_F()
95 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre); in HWTEST_F()
96 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoPre); in HWTEST_F()
150 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
151 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre); in HWTEST_F()
152 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoPre); in HWTEST_F()
206 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
207 cameraTest->DefaultInfosPreview(cameraTest->streamInfoPre); in HWTEST_F()
208 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoPre); in HWTEST_F()
/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()
560 streamInfoPre.bufferQueue_ = new BufferProducerSequenceable(streamCustomerPreview_->CreateProducer()); in StartStream()
561 ASSERT_NE(streamInfoPre.bufferQueue_, nullptr); in StartStream()
562 streamInfoPre in StartStream()
[all...]
/drivers/peripheral/camera/test/common/v1_3/src/
H A Dhdi_common_v1_3.cpp190 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartProfessionalStream()
196 DefaultInfosPreview(streamInfoPre); in StartProfessionalStream()
197 streamInfos.push_back(*streamInfoPre); in StartProfessionalStream()
241 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
247 DefaultInfosPreview(streamInfoPre); in StartStream()
248 streamInfos.push_back(*streamInfoPre); in StartStream()
/drivers/peripheral/camera/test/common/v1_1/include/
H A Dhdi_common_v1_1.h63 std::shared_ptr<StreamInfo_V1_1> streamInfoPre = nullptr; member in OHOS::Camera::HdiCommonV1_1
/drivers/peripheral/camera/test/common/v1_1/src/
H A Dhdi_common_v1_1.cpp220 streamInfoPre = std::make_shared<StreamInfo_V1_1>(); in StartStream()
226 DefaultInfosPreview(streamInfoPre); in StartStream()
227 streamInfos.push_back(*streamInfoPre); in StartStream()
/drivers/peripheral/camera/test/common/v1_0/src/
H A Dhdi_common.cpp259 streamInfoPre = std::make_shared<StreamInfo>(); in StartStream()
265 DefaultInfosPreview(streamInfoPre); in StartStream()
266 streamInfos.push_back(*streamInfoPre); in StartStream()
/drivers/peripheral/camera/test/common/v1_0/include/
H A Dhdi_common.h87 std::shared_ptr<StreamInfo> streamInfoPre = nullptr; member in OHOS::Camera::HdiCommon

Completed in 14 milliseconds