short description moved to the beginning of file
This commit is contained in:
parent
892684ebe5
commit
c64a15294d
@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
// 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.
|
||||||
|
*/
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <d3d10.h>
|
#include <d3d10.h>
|
||||||
@ -16,14 +24,6 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace cv;
|
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
|
class D3D10WinApp : public D3DSample
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
// 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.
|
||||||
|
*/
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <d3d11.h>
|
#include <d3d11.h>
|
||||||
@ -16,14 +24,6 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace cv;
|
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
|
class D3D11WinApp : public D3DSample
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
// 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.
|
||||||
|
*/
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <d3d9.h>
|
#include <d3d9.h>
|
||||||
@ -16,14 +24,6 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace cv;
|
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
|
class D3D9WinApp : public D3DSample
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
// 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.
|
||||||
|
*/
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <d3d9.h>
|
#include <d3d9.h>
|
||||||
@ -16,14 +24,6 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace cv;
|
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
|
class D3D9ExWinApp : public D3DSample
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
// Sample demonstrating interoperability of OpenCV UMat with Direct X surface
|
||||||
|
// Base class for Direct X application
|
||||||
|
*/
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
// Sample demonstrating interoperability of OpenCV UMat with Direct X surface
|
||||||
|
// Base class for Windows application
|
||||||
|
*/
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user