Download modules/gapi/src/streaming/onevpl/cfg_params_parser.hpp from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 1.41 kB
-
https://huggingface.co/tgollogly/test/resolve/main/modules/gapi/src/streaming/onevpl/cfg_params_parser.hpp
- Command line
-
hf download hf://tgollogly/test/modules/gapi/src/streaming/onevpl/cfg_params_parser.hpp
-
curl -L -o cfg_params_parser.hpp https://huggingface.co/tgollogly/test/resolve/main/modules/gapi/src/streaming/onevpl/cfg_params_parser.hpp
1.41 kB
| // This file is part of OpenCV project. | |
| // It is subject to the license terms in the LICENSE file found in the top-level directory | |
| // of this distribution and at http://opencv.org/license.html. | |
| // | |
| // Copyright (C) 2021 Intel Corporation | |
| namespace cv { | |
| namespace gapi { | |
| namespace wip { | |
| namespace onevpl { | |
| template<typename ValueType> | |
| std::vector<ValueType> get_params_from_string(const std::string& str); | |
| template <typename ReturnType> | |
| struct ParamCreator { | |
| template<typename ValueType> | |
| ReturnType create(const std::string& name, ValueType&& value, bool is_major = false); | |
| }; | |
| mfxVariant cfg_param_to_mfx_variant(const CfgParam& value); | |
| void extract_optional_param_by_name(const std::string &name, | |
| const std::vector<CfgParam>& in_params, | |
| cv::util::optional<size_t> &out_param); | |
| unsigned long strtoul_or_throw(const char* str); | |
| size_t strtoull_or_throw(const char* str); | |
| int64_t strtoll_or_throw(const char* str); | |
| } // namespace onevpl | |
| } // namespace wip | |
| } // namespace gapi | |
| } // namespace cv | |