Home
last modified time | relevance | path

Searched refs:streamInfoCapture (Results 1 - 18 of 18) sorted by relevance

/drivers/peripheral/camera/test/benchmarktest/v1_2/src/
H A Dcamera_benchmark_test.cpp130 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in BENCHMARK_F()
131 cameraTest->streamInfoCapture->v1_0.streamId_ = 101; in BENCHMARK_F()
132 cameraTest->streamInfoCapture->v1_0.width_ = 1920; in BENCHMARK_F()
133 cameraTest->streamInfoCapture->v1_0.height_ = 1080; in BENCHMARK_F()
134 cameraTest->streamInfoCapture->v1_0.intent_ = StreamIntent::STILL_CAPTURE; in BENCHMARK_F()
135 cameraTest->streamInfoCapture->v1_0.encodeType_ = ENCODE_TYPE_H265; in BENCHMARK_F()
136 cameraTest->streamInfoCapture->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in BENCHMARK_F()
137 cameraTest->streamInfoCapture->v1_0.dataspace_ = OHOS_CAMERA_SRGB_FULL; in BENCHMARK_F()
138 cameraTest->streamInfoCapture->v1_0.format_ = PIXEL_FMT_YCRCB_420_SP; in BENCHMARK_F()
139 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in BENCHMARK_F()
[all...]
/drivers/peripheral/camera/test/hdi/v1_2/src/
H A Dcamera_stream_uttest_v1_2.cpp56 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
57 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in HWTEST_F()
58 cameraTest->streamInfoCapture->v1_0.dataspace_ = OHOS_CAMERA_SRGB_FULL; in HWTEST_F()
59 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in HWTEST_F()
70 cameraTest->streamInfoCapture->v1_0.dataspace_ = OHOS_CAMERA_P3_FULL; in HWTEST_F()
99 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
100 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in HWTEST_F()
101 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in HWTEST_F()
155 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
156 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in HWTEST_F()
[all...]
H A Dcamera_hdi_uttest_v1_2.cpp331 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
332 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in HWTEST_F()
333 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in HWTEST_F()
958 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in CaptureByColorSpaces()
959 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in CaptureByColorSpaces()
960 cameraTest->streamInfoCapture->v1_0.dataspace_ = colorSpaces; in CaptureByColorSpaces()
961 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in CaptureByColorSpaces()
/drivers/peripheral/camera/test/ut/v4l2/
H A Dusb_camera_test.cpp691 StreamInfo streamInfoCapture = {}; in TEST_F() local
692 streamInfoCapture.streamId_ = cameraBase_->STREAM_ID_CAPTURE; in TEST_F()
693 streamInfoCapture.width_ = 1280; // 1280:picture width in TEST_F()
694 streamInfoCapture.height_ = 960; // 960:picture height in TEST_F()
695 streamInfoCapture.format_ = PIXEL_FMT_RGBA_8888; in TEST_F()
696 streamInfoCapture.dataspace_ = 8; // 8:picture dataspace in TEST_F()
697 streamInfoCapture.intent_ = STILL_CAPTURE; in TEST_F()
698 streamInfoCapture.encodeType_ = ENCODE_TYPE_JPEG; in TEST_F()
699 streamInfoCapture.tunneledMode_ = 5; // 5:tunnel mode in TEST_F()
700 streamInfoCapture in TEST_F()
1074 StreamInfo streamInfoCapture = {}; TEST_F() local
[all...]
H A Dtest_camera_base.cpp566 streamInfoCapture.streamId_ = STREAM_ID_CAPTURE; in StartStream()
567 streamInfoCapture.width_ = CAPTURE_WIDTH; // 1280:picture width in StartStream()
568 streamInfoCapture.height_ = CAPTURE_HEIGHT; // 960:picture height in StartStream()
569 streamInfoCapture.format_ = PIXEL_FMT_RGBA_8888; in StartStream()
570 streamInfoCapture.dataspace_ = 8; // 8:picture dataspace in StartStream()
571 streamInfoCapture.intent_ = intent; in StartStream()
572 streamInfoCapture.encodeType_ = ENCODE_TYPE_JPEG; in StartStream()
573 streamInfoCapture.tunneledMode_ = 5; // 5:tunnel mode in StartStream()
574 streamInfoCapture.bufferQueue_ = new BufferProducerSequenceable(streamCustomerCapture_->CreateProducer()); in StartStream()
575 ASSERT_NE(streamInfoCapture in StartStream()
[all...]
H A Dtest_camera_base.h114 StreamInfo streamInfoCapture = {}; member in TestCameraBase
/drivers/peripheral/camera/test/fuzztest/stream_operator/
H A Dstream_operator_fuzzer.cpp65 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoCapture = nullptr; in IsStreamSupportedApi() local
66 streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in IsStreamSupportedApi()
67 streamInfoCapture->v1_0 = {}; in IsStreamSupportedApi()
68 streamInfoCapture->extendedStreamInfos = {extendedStreamInfo}; in IsStreamSupportedApi()
69 streamInfosV1_1.push_back(*streamInfoCapture); in IsStreamSupportedApi()
/drivers/peripheral/camera/test/hdi/v1_3/src/
H A Dcamera_hdi_uttest_v1_3.cpp415 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in CaptureByColorSpacesWithUpdateStreams()
416 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in CaptureByColorSpacesWithUpdateStreams()
417 cameraTest->streamInfoCapture->v1_0.dataspace_ = captureColorSpaces[0]; in CaptureByColorSpacesWithUpdateStreams()
418 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in CaptureByColorSpacesWithUpdateStreams()
441 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in CaptureByColorSpacesWithUpdateStreams()
442 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in CaptureByColorSpacesWithUpdateStreams()
443 cameraTest->streamInfoCapture->v1_0.dataspace_ = colorSpaces; in CaptureByColorSpacesWithUpdateStreams()
444 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in CaptureByColorSpacesWithUpdateStreams()
642 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
643 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in HWTEST_F()
[all...]
H A Dcamera_front_uttest_v1_3.cpp195 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
196 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in HWTEST_F()
197 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in HWTEST_F()
H A Dcamera_professional_uttest_v1_3.cpp255 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
256 cameraTest->streamInfoCapture->extendedStreamInfos = {extendedStreamInfo}; in HWTEST_F()
257 cameraTest->DefaultInfosProfessionalCapture(cameraTest->streamInfoCapture); in HWTEST_F()
258 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in HWTEST_F()
1500 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
1501 cameraTest->DefaultInfosProfessionalCapture(cameraTest->streamInfoCapture); in HWTEST_F()
1502 cameraTest->streamInfoCapture->v1_0.width_ = g_supportedResolution[i][0]; in HWTEST_F()
1503 cameraTest->streamInfoCapture->v1_0.height_ = g_supportedResolution[i][1]; in HWTEST_F()
1504 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in HWTEST_F()
/drivers/peripheral/camera/test/hdi/v1_1/src/
H A Dcamera_hdi_uttest_v1_1.cpp104 cameraTest->streamInfoCapture = std::make_shared<StreamInfo_V1_1>(); in HWTEST_F()
105 cameraTest->streamInfoCapture->extendedStreamInfos = {extendedStreamInfo}; in HWTEST_F()
106 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in HWTEST_F()
107 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in HWTEST_F()
242 cameraTest->streamInfoCapture = std::make_shared<StreamInfo_V1_1>(); in HWTEST_F()
243 cameraTest->streamInfoCapture->extendedStreamInfos = {extendedStreamInfo}; in HWTEST_F()
244 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in HWTEST_F()
245 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in HWTEST_F()
/drivers/peripheral/camera/test/ut/usb_camera/
H A Dtest_camera_base.cpp588 streamInfoCapture.streamId_ = STREAM_ID_CAPTURE; in StartStream()
589 streamInfoCapture.width_ = CAPTURE_WIDTH; // 1280:picture width in StartStream()
590 streamInfoCapture.height_ = CAPTURE_HEIGHT; // 960:picture height in StartStream()
591 streamInfoCapture.format_ = PIXEL_FMT_RGBA_8888; in StartStream()
592 streamInfoCapture.dataspace_ = 8; // 8:picture dataspace in StartStream()
593 streamInfoCapture.intent_ = intent; in StartStream()
594 streamInfoCapture.encodeType_ = ENCODE_TYPE_JPEG; in StartStream()
595 streamInfoCapture.tunneledMode_ = 5; // 5:tunnel mode in StartStream()
596 streamInfoCapture.bufferQueue_ = new BufferProducerSequenceable(streamCustomerCapture_->CreateProducer()); in StartStream()
597 ASSERT_NE(streamInfoCapture in StartStream()
[all...]
H A Dusb_camera_test.cpp692 StreamInfo streamInfoCapture = {}; in TEST_F() local
693 streamInfoCapture.streamId_ = cameraBase_->STREAM_ID_CAPTURE; in TEST_F()
694 streamInfoCapture.width_ = 1280; // 1280:picture width in TEST_F()
695 streamInfoCapture.height_ = 720; // 720:picture height in TEST_F()
696 streamInfoCapture.format_ = PIXEL_FMT_RGBA_8888; in TEST_F()
697 streamInfoCapture.dataspace_ = 8; // 8:picture dataspace in TEST_F()
698 streamInfoCapture.intent_ = STILL_CAPTURE; in TEST_F()
699 streamInfoCapture.encodeType_ = ENCODE_TYPE_JPEG; in TEST_F()
700 streamInfoCapture.tunneledMode_ = 5; // 5:tunnel mode in TEST_F()
701 streamInfoCapture in TEST_F()
1709 StreamInfo streamInfoCapture = {}; TEST_F() local
[all...]
/drivers/peripheral/camera/test/common/v1_3/src/
H A Dhdi_common_v1_3.cpp192 streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartProfessionalStream()
205 DefaultInfosProfessionalCapture(streamInfoCapture); in StartProfessionalStream()
206 streamInfos.push_back(*streamInfoCapture); in StartProfessionalStream()
243 streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
256 DefaultInfosCapture(streamInfoCapture); in StartStream()
257 streamInfos.push_back(*streamInfoCapture); in StartStream()
/drivers/peripheral/camera/test/common/v1_1/include/
H A Dhdi_common_v1_1.h61 std::shared_ptr<StreamInfo_V1_1> streamInfoCapture = nullptr; member in OHOS::Camera::HdiCommonV1_1
/drivers/peripheral/camera/test/common/v1_1/src/
H A Dhdi_common_v1_1.cpp222 streamInfoCapture = std::make_shared<StreamInfo_V1_1>(); in StartStream()
235 DefaultInfosCapture(streamInfoCapture); in StartStream()
236 streamInfos.push_back(*streamInfoCapture); in StartStream()
/drivers/peripheral/camera/test/common/v1_0/src/
H A Dhdi_common.cpp261 streamInfoCapture = std::make_shared<StreamInfo>(); in StartStream()
274 DefaultInfosCapture(streamInfoCapture); in StartStream()
275 streamInfos.push_back(*streamInfoCapture); in StartStream()
/drivers/peripheral/camera/test/common/v1_0/include/
H A Dhdi_common.h85 std::shared_ptr<StreamInfo> streamInfoCapture = nullptr; member in OHOS::Camera::HdiCommon

Completed in 19 milliseconds