/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_0/src/ |
H A D | benchmark_common.cpp | 138 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 D | benchmark_common.cpp | 181 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 D | benchmark_common.cpp | 193 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 D | test_camera_base.cpp | 570 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 D | usb_camera_test.cpp | 847 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 D | test_camera_base.cpp | 548 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 D | usb_camera_test.cpp | 846 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 D | test_camera_base.h | 113 StreamInfo streamInfoVideo = {}; variable
|
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_3/src/ |
H A D | benchmark_common.cpp | 313 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 D | hdi_common_v1_3.cpp | 348 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 D | camera_hdi_uttest_v1_3.cpp | 121 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 D | camera_hdi_uttest_v1_2.cpp | 1021 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 D | camera_stream_uttest_v1_2.cpp | 264 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 D | hdi_common_v1_2.cpp | 341 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 D | ut_common.cpp | 260 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 D | hdi_common_v1_1.cpp | 261 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 D | common.cpp | 418 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 D | ut_common.h | 81 std::shared_ptr<StreamInfo> streamInfoVideo = nullptr; variable
|
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_1/include/ |
H A D | hdi_common_v1_1.h | 105 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 D | common.h | 144 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 D | hdi_common_v1_2.h | 137 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 D | hdi_common_v1_3.h | 123 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoVideo = nullptr; variable
|