Home
last modified time | relevance | path

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

/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_2/src/
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()
Dbenchmark_common.cpp194 streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
263 streamInfoCapture->v1_0.streamId_ = streamIdAnalyze; in StartStream()
264 streamInfoCapture->v1_0.width_ = analyzeWidth; in StartStream()
265 streamInfoCapture->v1_0.height_ = analyzeHeight; in StartStream()
266 streamInfoCapture->v1_0.format_ = analyzeFormat; in StartStream()
267 streamInfoCapture->v1_0.dataspace_ = UT_DATA_SIZE; in StartStream()
268 streamInfoCapture->v1_0.intent_ = intent; in StartStream()
269 streamInfoCapture->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
271 streamInfoCapture->v1_0.bufferQueue_ = in StartStream()
275 streamInfoCapture->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
[all …]
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/
Dcamera_hdi_uttest_v1_1.cpp291 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
292 cameraTest->streamInfoCapture->extendedStreamInfos = {extendedStreamInfo};
293 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture);
294 consumer2->streamIntent_ = cameraTest->streamInfoCapture->v1_0.intent_;
295 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
350 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
351 cameraTest->streamInfoCapture->extendedStreamInfos = {extendedStreamInfo};
352 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture);
353 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
407 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
[all …]
Dhdi_common_v1_1.cpp275 streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
289 DefaultInfosCapture(streamInfoCapture); in StartStream()
290 streamInfos.push_back(*streamInfoCapture); in StartStream()
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/
Dcamera_stream_test_v1_2.cpp56 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
57 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture);
58 cameraTest->streamInfoCapture->v1_0.dataspace_ = OHOS_CAMERA_SRGB_FULL;
59 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
70 cameraTest->streamInfoCapture->v1_0.dataspace_ = OHOS_CAMERA_P3_FULL;
184 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
185 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture);
186 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
231 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
232 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture);
[all …]
Dcamera_hdi_test_v1_2.cpp449 … cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in CaptureByColorSpaces()
450 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in CaptureByColorSpaces()
451 cameraTest->streamInfoCapture->v1_0.dataspace_ = colorSpaces; in CaptureByColorSpaces()
452 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in CaptureByColorSpaces()
1064 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
1065 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture);
1066 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
1122 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
1123 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture);
1124 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
Dhdi_common_v1_2.cpp362 streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
376 DefaultInfosCapture(streamInfoCapture); in StartStream()
377 streamInfos.push_back(*streamInfoCapture); in StartStream()
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/
Dusb_camera_test.cpp906 StreamInfo streamInfoCapture = {}; variable
907 streamInfoCapture.streamId_ = display_->STREAM_ID_CAPTURE;
908 streamInfoCapture.width_ = 1280; // 1280:picture width
909 streamInfoCapture.height_ = 960; // 960:picture height
910 streamInfoCapture.format_ = PIXEL_FMT_RGBA_8888;
911 streamInfoCapture.dataspace_ = 8; // 8:picture dataspace
912 streamInfoCapture.intent_ = STILL_CAPTURE;
913 streamInfoCapture.encodeType_ = ENCODE_TYPE_JPEG;
914 streamInfoCapture.tunneledMode_ = 5; // 5:tunnel mode
915 streamInfoCapture.bufferQueue_ = new BufferProducerSequenceable(
[all …]
Dtest_display.cpp587 streamInfoCapture.streamId_ = STREAM_ID_CAPTURE; in StartStream()
588 streamInfoCapture.width_ = CAPTURE_WIDTH; // 1280:picture width in StartStream()
589 streamInfoCapture.height_ = CAPTURE_HEIGHT; // 960:picture height in StartStream()
590 streamInfoCapture.format_ = PIXEL_FMT_RGBA_8888; in StartStream()
591 streamInfoCapture.dataspace_ = 8; // 8:picture dataspace in StartStream()
592 streamInfoCapture.intent_ = intent; in StartStream()
593 streamInfoCapture.encodeType_ = ENCODE_TYPE_JPEG; in StartStream()
594 streamInfoCapture.tunneledMode_ = 5; // 5:tunnel mode in StartStream()
595streamInfoCapture.bufferQueue_ = new BufferProducerSequenceable(streamCustomerCapture_->CreateProd… in StartStream()
596 ASSERT_NE(streamInfoCapture.bufferQueue_, nullptr); in StartStream()
[all …]
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/
Dbenchmark_common.cpp139 streamInfoCapture = std::make_shared<StreamInfo>(); in StartStream()
207 streamInfoCapture->streamId_ = streamIdAnalyze; in StartStream()
208 streamInfoCapture->width_ = analyzeWidth; in StartStream()
209 streamInfoCapture->height_ = analyzeHeight; in StartStream()
210 streamInfoCapture->format_ = analyzeFormat; in StartStream()
211 streamInfoCapture->dataspace_ = UT_DATA_SIZE; in StartStream()
212 streamInfoCapture->intent_ = intent; in StartStream()
213 streamInfoCapture->tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
215streamInfoCapture->bufferQueue_ = consumer_capture->CreateProducerSeq([this](void* addr, uint32_t … in StartStream()
218 streamInfoCapture->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
[all …]
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/
Dcommon.cpp145 streamInfoCapture = std::make_shared<StreamInfo>(); in StartStream()
213 streamInfoCapture->streamId_ = streamIdAnalyze; in StartStream()
214 streamInfoCapture->width_ = analyzeWidth; in StartStream()
215 streamInfoCapture->height_ = analyzeHeight; in StartStream()
216 streamInfoCapture->format_ = analyzeFormat; in StartStream()
217 streamInfoCapture->dataspace_ = UT_DATA_SIZE; in StartStream()
218 streamInfoCapture->intent_ = intent; in StartStream()
219 streamInfoCapture->tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
221streamInfoCapture->bufferQueue_ = consumer_capture->CreateProducerSeq([this](void* addr, uint32_t … in StartStream()
224 streamInfoCapture->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
[all …]
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
Dcommon.cpp165 streamInfoCapture = std::make_shared<StreamInfo>(); in StartStream()
233 streamInfoCapture->streamId_ = streamIdAnalyze; in StartStream()
234 streamInfoCapture->width_ = analyzeWidth; in StartStream()
235 streamInfoCapture->height_ = analyzeHeight; in StartStream()
236 streamInfoCapture->format_ = analyzeFormat; in StartStream()
237 streamInfoCapture->dataspace_ = UT_DATA_SIZE; in StartStream()
238 streamInfoCapture->intent_ = intent; in StartStream()
239 streamInfoCapture->tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
241streamInfoCapture->bufferQueue_ = consumer_capture->CreateProducerSeq([this](void* addr, uint32_t … in StartStream()
244 streamInfoCapture->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
[all …]
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/
Dbenchmark_common.cpp164 streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
233 streamInfoCapture->v1_0.streamId_ = streamIdAnalyze; in StartStream()
234 streamInfoCapture->v1_0.width_ = analyzeWidth; in StartStream()
235 streamInfoCapture->v1_0.height_ = analyzeHeight; in StartStream()
236 streamInfoCapture->v1_0.format_ = analyzeFormat; in StartStream()
237 streamInfoCapture->v1_0.dataspace_ = UT_DATA_SIZE; in StartStream()
238 streamInfoCapture->v1_0.intent_ = intent; in StartStream()
239 streamInfoCapture->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in StartStream()
241 streamInfoCapture->v1_0.bufferQueue_ = in StartStream()
245 streamInfoCapture->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
[all …]
/test/xts/hats/hdf/camera/cameraMg/v1_3/src/
Dhdi_common_v1_3.cpp345 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in startStreamForHighResolutionPhoto()
346 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in startStreamForHighResolutionPhoto()
347 cameraTest->streamInfoCapture->v1_0.width_ = HIGH_RESOLUTION_PHOTO_WIDTH; in startStreamForHighResolutionPhoto()
348 cameraTest->streamInfoCapture->v1_0.height_ = HIGH_RESOLUTION_PHOTO_HEIGHT; in startStreamForHighResolutionPhoto()
349 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in startStreamForHighResolutionPhoto()
373 … cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in CaptureByColorSpacesWithUpdateStreams()
374 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture); in CaptureByColorSpacesWithUpdateStreams()
375 cameraTest->streamInfoCapture->v1_0.dataspace_ = captureColorSpaces[0]; in CaptureByColorSpacesWithUpdateStreams()
376 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture); in CaptureByColorSpacesWithUpdateStreams()
399 … cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in CaptureByColorSpacesWithUpdateStreams()
[all …]
Dcamera_hdi_test_v1_3.cpp367 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
368 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture);
369 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
408 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
409 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture);
410 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
498 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
499 cameraTest->DefaultInfosCapture(cameraTest->streamInfoCapture);
500 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
807 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
[all …]
Dcamera_professional_test_v1_3.cpp183 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
184 cameraTest->streamInfoCapture->extendedStreamInfos = {extendedStreamInfo};
185 cameraTest->DefaultInfosProfessionalCapture(cameraTest->streamInfoCapture);
186 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
825 … cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
826 cameraTest->DefaultInfosProfessionalCapture(cameraTest->streamInfoCapture);
827 cameraTest->streamInfoCapture->v1_0.width_ = g_supportedResolution[i][0];
828 cameraTest->streamInfoCapture->v1_0.height_ = g_supportedResolution[i][1];
829 cameraTest->streamInfosV1_1.push_back(*cameraTest->streamInfoCapture);
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/
Dhdi_common_v1_1.cpp273 streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartStream()
287 DefaultInfosCapture(streamInfoCapture); in StartStream()
288 streamInfos.push_back(*streamInfoCapture); in StartStream()
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/
Dtest_display.h115 StreamInfo streamInfoCapture = {}; variable
/test/xts/hats/hdf/camera/cameraMg/v1_0/include/
Dcommon.h69 std::shared_ptr<StreamInfo> streamInfoCapture = nullptr; variable
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/include/
Dcommon.h70 std::shared_ptr<StreamInfo> streamInfoCapture = nullptr; variable
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/include/
Dhdi_common_v1_1.h93 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoCapture = nullptr; variable
/test/xts/hats/hdf/camera/cameraMg/v1_1/include/
Dhdi_common_v1_1.h93 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoCapture = nullptr; variable
/test/xts/hats/hdf/camera/cameraMg/v1_2/include/
Dhdi_common_v1_2.h137 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoCapture = nullptr; variable
/test/xts/hats/hdf/camera/cameraMg/v1_3/include/
Dhdi_common_v1_3.h127 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoCapture = nullptr; variable