Download modules/highgui/src/plugin_api.hpp from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 2.5 kB
-
https://huggingface.co/tgollogly/test/resolve/main/modules/highgui/src/plugin_api.hpp
- Command line
-
hf download hf://tgollogly/test/modules/highgui/src/plugin_api.hpp
-
curl -L -o plugin_api.hpp https://huggingface.co/tgollogly/test/resolve/main/modules/highgui/src/plugin_api.hpp
2.5 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. | |
| /// increased for backward-compatible changes, e.g. add new function | |
| /// Caller API <= Plugin API -> plugin is fully compatible | |
| /// Caller API > Plugin API -> plugin is not fully compatible, caller should use extra checks to use plugins with older API | |
| /// increased for incompatible changes, e.g. remove function argument | |
| /// Caller ABI == Plugin ABI -> plugin is compatible | |
| /// Caller ABI > Plugin ABI -> plugin is not compatible, caller should use shim code to use old ABI plugins (caller may know how lower ABI works, so it is possible) | |
| /// Caller ABI < Plugin ABI -> plugin can't be used (plugin should provide interface with lower ABI to handle that) | |
| typedef cv::highgui_backend::UIBackend* CvPluginUIBackend; | |
| struct OpenCV_UI_Plugin_API_v0_0_api_entries | |
| { | |
| /** @brief Get backend API instance | |
| @param[out] handle pointer on backend API handle | |
| @note API-CALL 1, API-Version == 0 | |
| */ | |
| CvResult (CV_API_CALL *getInstance)(CV_OUT CvPluginUIBackend* handle) CV_NOEXCEPT; | |
| }; // OpenCV_UI_Plugin_API_v0_0_api_entries | |
| typedef struct OpenCV_UI_Plugin_API_v0 | |
| { | |
| OpenCV_API_Header api_header; | |
| struct OpenCV_UI_Plugin_API_v0_0_api_entries v0; | |
| } OpenCV_UI_Plugin_API_v0; | |
| typedef OpenCV_UI_Plugin_API_v0 OpenCV_UI_Plugin_API; | |
| extern "C" { | |
| CV_PLUGIN_EXPORTS | |
| const OpenCV_UI_Plugin_API* CV_API_CALL opencv_ui_plugin_init_v0 | |
| (int requested_abi_version, int requested_api_version, void* reserved /*NULL*/) CV_NOEXCEPT; | |
| } // extern "C" | |
| typedef const OpenCV_UI_Plugin_API* (CV_API_CALL *FN_opencv_ui_plugin_init_t) | |
| (int requested_abi_version, int requested_api_version, void* reserved /*NULL*/); | |