diff --git a/samples/directx/d3d10_interop.cpp b/samples/directx/d3d10_interop.cpp index 99defa256c..b2849cb1ce 100644 --- a/samples/directx/d3d10_interop.cpp +++ b/samples/directx/d3d10_interop.cpp @@ -16,6 +16,14 @@ using namespace std; using namespace cv; +/* +// Sample demonstrating interoperability of OpenCV UMat with Direct X surface +// At first, the data obtained from video file or camera and +// placed onto Direct X surface, +// following mapping of this Direct X surface to OpenCV UMat and call cv::Blur +// function. The result is mapped back to Direct X surface and rendered through +// Direct X API. +*/ class D3D10WinApp : public D3DSample { public: diff --git a/samples/directx/d3d11_interop.cpp b/samples/directx/d3d11_interop.cpp index 02b576bbe7..eb21c99814 100644 --- a/samples/directx/d3d11_interop.cpp +++ b/samples/directx/d3d11_interop.cpp @@ -16,6 +16,14 @@ using namespace std; using namespace cv; +/* +// Sample demonstrating interoperability of OpenCV UMat with Direct X surface +// At first, the data obtained from video file or camera and +// placed onto Direct X surface, +// following mapping of this Direct X surface to OpenCV UMat and call cv::Blur +// function. The result is mapped back to Direct X surface and rendered through +// Direct X API. +*/ class D3D11WinApp : public D3DSample { public: diff --git a/samples/directx/d3d9_interop.cpp b/samples/directx/d3d9_interop.cpp index 61a916c1e5..aca0245154 100644 --- a/samples/directx/d3d9_interop.cpp +++ b/samples/directx/d3d9_interop.cpp @@ -16,6 +16,14 @@ using namespace std; using namespace cv; +/* +// Sample demonstrating interoperability of OpenCV UMat with Direct X surface +// At first, the data obtained from video file or camera and +// placed onto Direct X surface, +// following mapping of this Direct X surface to OpenCV UMat and call cv::Blur +// function. The result is mapped back to Direct X surface and rendered through +// Direct X API. +*/ class D3D9WinApp : public D3DSample { public: diff --git a/samples/directx/d3d9ex_interop.cpp b/samples/directx/d3d9ex_interop.cpp index 3d133a6b47..7ca405b164 100644 --- a/samples/directx/d3d9ex_interop.cpp +++ b/samples/directx/d3d9ex_interop.cpp @@ -16,6 +16,14 @@ using namespace std; using namespace cv; +/* +// Sample demonstrating interoperability of OpenCV UMat with Direct X surface +// At first, the data obtained from video file or camera and +// placed onto Direct X surface, +// following mapping of this Direct X surface to OpenCV UMat and call cv::Blur +// function. The result is mapped back to Direct X surface and rendered through +// Direct X API. +*/ class D3D9ExWinApp : public D3DSample { public: