summaryrefslogtreecommitdiff
path: root/ARMFCaptureD3D/readme.txt
blob: 2b85378e713cb9ac759dbb6bc03ed71e838eed2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
MFCaptureD3D Sample
================================
Demonstrates how to preview video from a capture device, using 
Direct3D to draw the video frames.


Sample Language Implementations
===============================
C++


Files:
=============================================
BufferLock.h
Debug
device.cpp
device.h
MFCaptureD3D.h
MFCaptureD3D.rc
MFCaptureD3D.sln
MFCaptureD3D.vcproj
preview.cpp
preview.h
readme.txt
resource.h
winmain.cpp


To build the sample using the command prompt:
=============================================
     1. Open the Command Prompt window and navigate to the MFCaptureD3D directory.
     2. Type msbuild MFCaptureD3D.sln.


To build the sample using Visual Studio (preferred method):
===========================================================
     1. Open Windows Explorer and navigate to the MFCaptureD3D directory.
     2. Double-click the icon for the MFCaptureD3D.sln file to open the file in Visual Studio.
     3. In the Build menu, select Build Solution. The application will be built in the default \Debug or \Release directory.


To run the sample:
=================
     1. Navigate to the directory that contains the new executable, using the command prompt or Windows Explorer.
     2. Type MFCaptureD3D.exe at the command line, or double-click the icon for MFCaptureD3D.exe to launch it from Windows Explorer.
     
On startup, the application enumerates the available video-capture 
devices and begins streaming from the first device in the list.

To select a different capture device, select Choose Device from the 
File menu.