Home
last modified time | relevance | path

Searched refs:videoFormats (Results 1 - 2 of 2) sorted by relevance

/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dcamera_video.cpp271 std::vector<CameraFormat> videoFormats; in main() local
294 videoFormats.push_back(i.GetCameraFormat()); in main()
299 for (auto &format : videoFormats) { in main()
302 if (std::find(videoFormats.begin(), videoFormats.end(), CAMERA_FORMAT_YUV_420_SP) in main()
303 != videoFormats.end()) { in main()
306 } else if (!videoFormats.empty()) { in main()
307 videoFormat = videoFormats[0]; in main()
H A Dcamera_capture_video.cpp315 std::vector<CameraFormat> videoFormats; in InitCameraFormatAndResolution() local
355 videoFormats.push_back(i.GetCameraFormat()); in InitCameraFormatAndResolution()
360 for (auto &formatVideo : videoFormats) { in InitCameraFormatAndResolution()
363 if (std::find(videoFormats.begin(), videoFormats.end(), CAMERA_FORMAT_YUV_420_SP) != videoFormats.end()) { in InitCameraFormatAndResolution()
366 } else if (!videoFormats.empty()) { in InitCameraFormatAndResolution()
367 videoFormat_ = videoFormats[0]; in InitCameraFormatAndResolution()

Completed in 3 milliseconds