mirror of
https://github.com/opencv/opencv.git
synced 2024-12-03 00:10:21 +08:00
5ac0712cf1
Add support thread-local directx (OpenCL interop) initialization * support thread-local directx (OpenCL interop) initialization * reflect reviews * Remove verbose function prototype declarations * Countermeasures for VC warnings. (declaration of 'platform' hides class member) * core(directx): remove internal stuff from public headers
24 lines
621 B
C++
24 lines
621 B
C++
// 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.
|
|
|
|
#ifndef OPENCV_CORE_SRC_DIRECTX_HPP
|
|
#define OPENCV_CORE_SRC_DIRECTX_HPP
|
|
|
|
#ifndef HAVE_DIRECTX
|
|
#error Invalid build configuration
|
|
#endif
|
|
|
|
namespace cv {
|
|
namespace directx {
|
|
namespace internal {
|
|
|
|
struct OpenCLDirectXImpl;
|
|
OpenCLDirectXImpl* createDirectXImpl();
|
|
void deleteDirectXImpl(OpenCLDirectXImpl**);
|
|
OpenCLDirectXImpl* getDirectXImpl(ocl::Context& ctx);
|
|
|
|
}}} // namespace internal
|
|
|
|
#endif // OPENCV_CORE_SRC_DIRECTX_HPP
|