namespace cv::directx::ocl

namespace ocl {

// global functions

Context&
initializeContextFromD3D10Device(ID3D10Device* pD3D10Device);

Context&
initializeContextFromD3D11Device(ID3D11Device* pD3D11Device);

Context&
initializeContextFromDirect3DDevice9(IDirect3DDevice9* pDirect3DDevice9);

Context&
initializeContextFromDirect3DDevice9Ex(IDirect3DDevice9Ex* pDirect3DDevice9Ex);

} // namespace ocl