Home
last modified time | relevance | path

Searched refs:intent (Results 1 – 15 of 15) sorted by relevance

/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/
Dcommon.cpp142 for (auto& intent : intents) { in StartStream() local
143 if (intent == StreamIntent::PREVIEW) { in StartStream()
149 streamInfoPre->intent_ = intent; in StartStream()
156 consumerMap_[intent] = consumer_pre; in StartStream()
158 } else if (intent == StreamIntent::VIDEO) { in StartStream()
164 streamInfoVideo->intent_ = intent; in StartStream()
172 consumerMap_[intent] = consumer_video; in StartStream()
174 } else if (intent == StreamIntent::ANALYZE) { in StartStream()
180 streamInfoAnalyze->intent_ = intent; in StartStream()
205 consumerMap_[intent] = consumer_analyze; in StartStream()
[all …]
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/
Dbenchmark_common.cpp141 for (auto& intent : intents) { in StartStream() local
142 if (intent == StreamIntent::PREVIEW) { in StartStream()
148 streamInfoPre->intent_ = intent; in StartStream()
155 consumerMap_[intent] = consumer_pre; in StartStream()
157 } else if (intent == StreamIntent::VIDEO) { in StartStream()
163 streamInfoVideo->intent_ = intent; in StartStream()
171 consumerMap_[intent] = consumer_video; in StartStream()
173 } else if (intent == StreamIntent::ANALYZE) { in StartStream()
179 streamInfoAnalyze->intent_ = intent; in StartStream()
204 consumerMap_[intent] = consumer_analyze; in StartStream()
[all …]
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
Dcommon.cpp141 for (auto& intent : intents) { in StartStream() local
142 if (intent == StreamIntent::PREVIEW) { in StartStream()
148 streamInfoPre->intent_ = intent; in StartStream()
155 consumerMap_[intent] = consumer_pre; in StartStream()
157 } else if (intent == StreamIntent::VIDEO) { in StartStream()
163 streamInfoVideo->intent_ = intent; in StartStream()
171 consumerMap_[intent] = consumer_video; in StartStream()
173 } else if (intent == StreamIntent::ANALYZE) { in StartStream()
179 streamInfoAnalyze->intent_ = intent; in StartStream()
204 consumerMap_[intent] = consumer_analyze; in StartStream()
[all …]
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/
Ddouble_preview_test.cpp38 const int streamId, const StreamIntent intent) in SetStreamInfo() argument
44 if (intent == PREVIEW) { in SetStreamInfo()
51 streamInfo.intent_ = intent; in SetStreamInfo()
59 void DoublePreviewTest::CreateStream(int streamId, StreamIntent intent) in CreateStream() argument
63 if (intent == PREVIEW) { in CreateStream()
67 SetStreamInfo(streamInfo, streamCustomerPreview_, streamId, intent); in CreateStream()
74 SetStreamInfo(streamInfo, streamCustomerPreviewDouble_, streamId, intent); in CreateStream()
Dcamera_video_test.cpp35 const int streamId, const StreamIntent intent) in SetStreamInfo() argument
43 if (intent == PREVIEW) { in SetStreamInfo()
46 } else if (intent == STILL_CAPTURE) { in SetStreamInfo()
50 } else if (intent == VIDEO) { in SetStreamInfo()
58 streamInfo.intent_ = intent; in SetStreamInfo()
66 void CameraVideoTest::CreateStream(int streamId, StreamIntent intent) in CreateStream() argument
69 if (intent == PREVIEW) { in CreateStream()
73 SetStreamInfo(streamInfo, streamCustomerPreview_, streamId, intent); in CreateStream()
76 } else if (intent == STILL_CAPTURE) { in CreateStream()
79 SetStreamInfo(streamInfo, streamCustomerSnapshot_, streamId, intent); in CreateStream()
[all …]
Dtest_display.cpp547 for (auto& intent : intents) { in StartStream() local
548 if (intent == PREVIEW) { in StartStream()
557 streamInfoPre.intent_ = intent; in StartStream()
565 } else if (intent == VIDEO) { in StartStream()
574 streamInfoVideo.intent_ = intent; in StartStream()
583 } else if (intent == STILL_CAPTURE) { in StartStream()
592 streamInfoCapture.intent_ = intent; in StartStream()
601 } else if (intent == ANALYZE) { in StartStream()
610 streamInfoAnalyze.intent_ = intent; in StartStream()
Dusb_camera_test_mult.cpp123 for (auto& intent : intents) { in StartStream() local
124 if (intent == PREVIEW) { in StartStream()
126 } else if (intent == VIDEO) { in StartStream()
128 } else if (intent == STILL_CAPTURE) { in StartStream()
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/
Dcamera_video_test.h27 void CreateStream(int streamId, StreamIntent intent);
30 const int streamId, const StreamIntent intent);
Ddouble_preview_test.h34 void CreateStream(int streamId, StreamIntent intent);
38 const int streamId, const StreamIntent intent);
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/
Dbenchmark_common.cpp166 for (auto& intent : intents) { in StartStream() local
167 if (intent == StreamIntent::PREVIEW) { in StartStream()
173 streamInfoPre->v1_0.intent_ = intent; in StartStream()
180 consumerMap_[intent] = consumer_pre; in StartStream()
182 } else if (intent == StreamIntent::VIDEO) { in StartStream()
188 streamInfoVideo->v1_0.intent_ = intent; in StartStream()
196 consumerMap_[intent] = consumer_video; in StartStream()
198 } else if (intent == StreamIntent::ANALYZE) { in StartStream()
204 streamInfoAnalyze->v1_0.intent_ = intent; in StartStream()
230 consumerMap_[intent] = consumer_analyze; in StartStream()
[all …]
/test/xts/dcts/distributedhardware/distributedcameratest/
Ddcamera_hdf_demo.h120 const int streamId, const StreamIntent intent);
123 RetCode CreateStreams(const int streamIdSecond, StreamIntent intent);
145 StreamIntent intent);
Ddcamera_hdf_demo.cpp40 const int streamId, const StreamIntent intent) in SetStreamInfo() argument
46 if (intent == OHOS::HDI::Camera::V1_0::PREVIEW) { in SetStreamInfo()
52 } else if (intent == OHOS::HDI::Camera::V1_0::STILL_CAPTURE) { in SetStreamInfo()
76 streamInfo.intent_ = intent; in SetStreamInfo()
185 StreamIntent intent) in CreateStreamInfo() argument
195 SetStreamInfo(streamInfo, streamCustomer, streamId, intent); in CreateStreamInfo()
366 RetCode DcameraHdfDemo::CreateStreams(const int streamIdSecond, StreamIntent intent) in CreateStreams() argument
389 SetStreamInfo(secondStreamInfo, streamCustomerCapture_, STREAM_ID_CAPTURE, intent); in CreateStreams()
391 SetStreamInfo(secondStreamInfo, streamCustomerVideo_, STREAM_ID_VIDEO, intent); in CreateStreams()
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/
Dhdi_common_v1_1.cpp271 for (auto& intent : intents) { in StartStream() local
272 if (intent == StreamIntent::PREVIEW) { in StartStream()
275 } else if (intent == StreamIntent::VIDEO) { in StartStream()
278 } else if (intent == StreamIntent::ANALYZE) { in StartStream()
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/
Dhdi_common_v1_1.cpp271 for (auto& intent : intents) { in StartStream() local
272 if (intent == StreamIntent::PREVIEW) { in StartStream()
275 } else if (intent == StreamIntent::VIDEO) { in StartStream()
278 } else if (intent == StreamIntent::ANALYZE) { in StartStream()
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/
Dhdi_common_v1_2.cpp344 for (auto& intent : intents) { in StartStream() local
345 if (intent == StreamIntent::PREVIEW) { in StartStream()
348 } else if (intent == StreamIntent::VIDEO) { in StartStream()
351 } else if (intent == StreamIntent::ANALYZE) { in StartStream()