default.hpp 896 B

1234567891011121314151617181920212223242526272829
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html.
  4. //
  5. // Copyright (C) 2022 Intel Corporation
  6. #ifndef OPENCV_GAPI_STREAMING_ONEVPL_UTILS_HPP
  7. #define OPENCV_GAPI_STREAMING_ONEVPL_UTILS_HPP
  8. #include <opencv2/gapi/own/exports.hpp> // GAPI_EXPORTS
  9. #include <opencv2/gapi/streaming/onevpl/cfg_params.hpp>
  10. #include <opencv2/gapi/streaming/onevpl/device_selector_interface.hpp>
  11. namespace cv {
  12. namespace gapi {
  13. namespace wip {
  14. namespace onevpl {
  15. /**
  16. * @brief Provides default device selector based on config.
  17. */
  18. GAPI_EXPORTS std::shared_ptr<IDeviceSelector> getDefaultDeviceSelector(const std::vector<CfgParam>& cfg_params);
  19. } // namespace onevpl
  20. } // namespace wip
  21. } // namespace gapi
  22. } // namespace cv
  23. #endif // OPENCV_GAPI_STREAMING_ONEVPL_UTILS_HPP