Home
last modified time | relevance | path

Searched refs:streamInfoVideo (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
H A Dbenchmark_common.cpp138 streamInfoVideo = std::make_shared<StreamInfo>(); in StartStream()
158 streamInfoVideo->streamId_ = streamIdVideo; in StartStream()
159 streamInfoVideo->width_ = videoWidth; in StartStream()
160 streamInfoVideo->height_ = videoHeight; in StartStream()
161 streamInfoVideo->format_ = videoFormat; in StartStream()
162 streamInfoVideo->dataspace_ = UT_DATA_SIZE; in StartStream()
163 streamInfoVideo->intent_ = intent; in StartStream()
164 streamInfoVideo->encodeType_ = ENCODE_TYPE_H265; in StartStream()
165 streamInfoVideo->tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
170 streamInfoVideo->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
[all …]
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_1/src/
H A Dbenchmark_common.cpp181 streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
201 streamInfoVideo->v1_0.streamId_ = streamIdVideo; in StartStream()
202 streamInfoVideo->v1_0.width_ = videoWidth; in StartStream()
203 streamInfoVideo->v1_0.height_ = videoHeight; in StartStream()
204 streamInfoVideo->v1_0.format_ = videoFormat; in StartStream()
205 streamInfoVideo->v1_0.dataspace_ = UT_DATA_SIZE; in StartStream()
206 streamInfoVideo->v1_0.intent_ = intent; in StartStream()
207 streamInfoVideo->v1_0.encodeType_ = ENCODE_TYPE_H265; in StartStream()
208 streamInfoVideo->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
213 streamInfoVideo->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
[all …]
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_2/src/
H A Dbenchmark_common.cpp193 streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
213 streamInfoVideo->v1_0.streamId_ = streamIdVideo; in StartStream()
214 streamInfoVideo->v1_0.width_ = videoWidth; in StartStream()
215 streamInfoVideo->v1_0.height_ = videoHeight; in StartStream()
216 streamInfoVideo->v1_0.format_ = videoFormat; in StartStream()
217 streamInfoVideo->v1_0.dataspace_ = UT_DATA_SIZE; in StartStream()
218 streamInfoVideo->v1_0.intent_ = intent; in StartStream()
219 streamInfoVideo->v1_0.encodeType_ = ENCODE_TYPE_H265; in StartStream()
220 streamInfoVideo->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
225 streamInfoVideo->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.cpp570 streamInfoVideo.streamId_ = STREAM_ID_VIDEO; in StartStream()
571 streamInfoVideo.width_ = VIDEO_WIDTH; // 1280:picture width in StartStream()
572 streamInfoVideo.height_ = VIDEO_HEIGHT; // 960:picture height in StartStream()
573 streamInfoVideo.format_ = PIXEL_FMT_YCRCB_420_SP; in StartStream()
574 streamInfoVideo.dataspace_ = 8; // 8:picture dataspace in StartStream()
575 streamInfoVideo.intent_ = intent; in StartStream()
576 streamInfoVideo.encodeType_ = ENCODE_TYPE_H264; in StartStream()
577 streamInfoVideo.tunneledMode_ = 5; // 5:tunnel mode in StartStream()
579 ASSERT_NE(streamInfoVideo.bufferQueue_, nullptr); in StartStream()
580 streamInfoVideo.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in StartStream()
[all …]
H A Dusb_camera_test.cpp847 StreamInfo streamInfoVideo = {}; in TEST_F() local
848 streamInfoVideo.streamId_ = cameraBase_->STREAM_ID_VIDEO; in TEST_F()
849 streamInfoVideo.width_ = 1280; // 1280:picture width in TEST_F()
850 streamInfoVideo.height_ = 960; // 960:picture height in TEST_F()
851 streamInfoVideo.format_ = PIXEL_FMT_RGBA_8888; in TEST_F()
852 streamInfoVideo.dataspace_ = 8; // 8:picture dataspace in TEST_F()
853 streamInfoVideo.intent_ = VIDEO; in TEST_F()
854 streamInfoVideo.encodeType_ = ENCODE_TYPE_H264; in TEST_F()
855 streamInfoVideo.tunneledMode_ = 5; // 5:tunnel mode in TEST_F()
857 ASSERT_NE(streamInfoVideo.bufferQueue_, nullptr); in TEST_F()
[all …]
/ohos5.0/drivers/peripheral/camera/test/ut/v4l2/
H A Dtest_camera_base.cpp548 streamInfoVideo.streamId_ = STREAM_ID_VIDEO; in StartStream()
549 streamInfoVideo.width_ = VIDEO_WIDTH; // 1280:picture width in StartStream()
550 streamInfoVideo.height_ = VIDEO_HEIGHT; // 960:picture height in StartStream()
551 streamInfoVideo.format_ = PIXEL_FMT_RGBA_8888; in StartStream()
552 streamInfoVideo.dataspace_ = 8; // 8:picture dataspace in StartStream()
553 streamInfoVideo.intent_ = intent; in StartStream()
554 streamInfoVideo.encodeType_ = ENCODE_TYPE_H264; in StartStream()
555 streamInfoVideo.tunneledMode_ = 5; // 5:tunnel mode in StartStream()
557 ASSERT_NE(streamInfoVideo.bufferQueue_, nullptr); in StartStream()
558 streamInfoVideo.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in StartStream()
[all …]
H A Dusb_camera_test.cpp846 StreamInfo streamInfoVideo = {}; in TEST_F() local
847 streamInfoVideo.streamId_ = cameraBase_->STREAM_ID_VIDEO; in TEST_F()
848 streamInfoVideo.width_ = 1280; // 1280:picture width in TEST_F()
849 streamInfoVideo.height_ = 960; // 960:picture height in TEST_F()
850 streamInfoVideo.format_ = PIXEL_FMT_RGBA_8888; in TEST_F()
851 streamInfoVideo.dataspace_ = 8; // 8:picture dataspace in TEST_F()
852 streamInfoVideo.intent_ = VIDEO; in TEST_F()
853 streamInfoVideo.encodeType_ = ENCODE_TYPE_H264; in TEST_F()
854 streamInfoVideo.tunneledMode_ = 5; // 5:tunnel mode in TEST_F()
856 ASSERT_NE(streamInfoVideo.bufferQueue_, nullptr); in TEST_F()
[all …]
H A Dtest_camera_base.h113 StreamInfo streamInfoVideo = {}; variable
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_3/src/
H A Dbenchmark_common.cpp313 streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartProfessionalStream()
322 DefaultInfosVideo(streamInfoVideo); in StartProfessionalStream()
323 streamInfos.push_back(*streamInfoVideo); in StartProfessionalStream()
363 streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
372 DefaultInfosVideo(streamInfoVideo); in StartStream()
373 streamInfos.push_back(*streamInfoVideo); in StartStream()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_3/src/
H A Dhdi_common_v1_3.cpp348 streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartProfessionalStream()
357 DefaultInfosVideo(streamInfoVideo); in StartProfessionalStream()
358 streamInfos.push_back(*streamInfoVideo); in StartProfessionalStream()
398 streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
407 DefaultInfosVideo(streamInfoVideo); in StartStream()
408 streamInfos.push_back(*streamInfoVideo); in StartStream()
H A Dcamera_hdi_uttest_v1_3.cpp121 cameraTest->DefaultInfosVideo(cameraTest->streamInfoVideo); in CreateAndCommitStreamsForHighFrameRate()
122 cameraTest->streamInfoVideo->v1_0.width_ = STREAMINFO_WIDTH; in CreateAndCommitStreamsForHighFrameRate()
123 cameraTest->streamInfoVideo->v1_0.height_ = STREAMINFO_HEIGHT; in CreateAndCommitStreamsForHighFrameRate()
124 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoVideo); in CreateAndCommitStreamsForHighFrameRate()
246 cameraTest->DefaultInfosVideo(cameraTest->streamInfoVideo); in CreateAndCommitStreamsForSlowMotion()
247 cameraTest->streamInfoVideo->v1_0.width_ = STREAMINFO_WIDTH; in CreateAndCommitStreamsForSlowMotion()
248 cameraTest->streamInfoVideo->v1_0.height_ = STREAMINFO_HEIGHT; in CreateAndCommitStreamsForSlowMotion()
249 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoVideo); in CreateAndCommitStreamsForSlowMotion()
978 cameraTest->DefaultInfosVideo(cameraTest->streamInfoVideo);
979 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoVideo);
[all …]
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_2/src/
H A Dcamera_hdi_uttest_v1_2.cpp1021 cameraTest->DefaultInfosVideo(cameraTest->streamInfoVideo); in VideoByColorSpaces()
1022 cameraTest->streamInfoVideo->v1_0.dataspace_ = colorSpaces; in VideoByColorSpaces()
1024 cameraTest->streamInfoVideo->v1_0.format_ = OHOS_CAMERA_FORMAT_YCBCR_P010; in VideoByColorSpaces()
1026 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoVideo); in VideoByColorSpaces()
1058 cameraTest->DefaultInfosVideo(cameraTest->streamInfoVideo); in SuperStubByColorSpaces()
1059 cameraTest->streamInfoVideo->v1_0.dataspace_ = colorSpaces; in SuperStubByColorSpaces()
1061 cameraTest->streamInfoVideo->v1_0.format_ = OHOS_CAMERA_FORMAT_YCBCR_P010; in SuperStubByColorSpaces()
1063 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoVideo); in SuperStubByColorSpaces()
1586 cameraTest->streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
1587 cameraTest->DefaultInfosVideo(cameraTest->streamInfoVideo);
[all …]
H A Dcamera_stream_uttest_v1_2.cpp264 cameraTest->streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
265 cameraTest->DefaultInfosVideo(cameraTest->streamInfoVideo);
267 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoVideo);
H A Dhdi_common_v1_2.cpp341 streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
350 DefaultInfosVideo(streamInfoVideo); in StartStream()
351 streamInfos.push_back(*streamInfoVideo); in StartStream()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_0/src/
H A Dut_common.cpp260 streamInfoVideo = std::make_shared<StreamInfo>(); in StartStream()
268 DefaultInfosVideo(streamInfoVideo); in StartStream()
269 streamInfos.push_back(*streamInfoVideo); in StartStream()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_1/src/
H A Dhdi_common_v1_1.cpp261 streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
270 DefaultInfosVideo(streamInfoVideo); in StartStream()
271 streamInfos.push_back(*streamInfoVideo); in StartStream()
/ohos5.0/drivers/peripheral/camera/test/fuzztest/common/src/
H A Dcommon.cpp418 streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
427 DefaultInfosVideo(streamInfoVideo); in StartStream()
428 streamInfos.push_back(*streamInfoVideo); in StartStream()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_0/include/
H A Dut_common.h81 std::shared_ptr<StreamInfo> streamInfoVideo = nullptr; variable
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_1/include/
H A Dhdi_common_v1_1.h105 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoVideo = nullptr; variable
/ohos5.0/drivers/peripheral/camera/test/fuzztest/common/include/
H A Dcommon.h144 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoVideo = nullptr; variable
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_2/include/
H A Dhdi_common_v1_2.h137 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoVideo = nullptr; variable
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_3/include/
H A Dhdi_common_v1_3.h123 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoVideo = nullptr; variable