- Reestructuración de ficheros y directorios general
- merge v0.01 --> Añadido fileselector - Añadidas fuentes de Gem y Pure Data - pix2jpg incluído en Gem. Archivos de construcción de Gem modificados. - Añadido fichero ompiling.txt con instrucciones de compilación
This commit is contained in:
parent
c9adfd020b
commit
e85d191b46
3100 changed files with 775434 additions and 3073 deletions
42
Gem/plugins/videoVFW/Makefile.am
Normal file
42
Gem/plugins/videoVFW/Makefile.am
Normal file
|
@ -0,0 +1,42 @@
|
|||
ACLOCAL_AMFLAGS = -I $(top_srcdir)/m4
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src @GEM_EXTERNAL_CPPFLAGS@
|
||||
|
||||
EXTRA_DIST =
|
||||
EXTRA_DIST+=win-vs2003/videoVFW.sln win-vs2003/videoVFW.vcproj
|
||||
EXTRA_DIST+=win-vs2008/videoVFW.sln win-vs2008/videoVFW.vcproj
|
||||
|
||||
pkglib_LTLIBRARIES=
|
||||
gemhelpdir=$(pkglibdir)
|
||||
dist_gemhelp_DATA =
|
||||
|
||||
if WINDOWS
|
||||
pkglib_LTLIBRARIES+= gem_videoVFW.la
|
||||
dist_gemhelp_DATA +=VFW-videoplugin.pd
|
||||
endif
|
||||
|
||||
gem_videoVFW_la_CXXFLAGS =
|
||||
gem_videoVFW_la_LDFLAGS = -module -avoid-version -shared
|
||||
if WINDOWS
|
||||
gem_videoVFW_la_LDFLAGS += -no-undefined
|
||||
endif
|
||||
gem_videoVFW_la_LIBADD =
|
||||
|
||||
# RTE
|
||||
gem_videoVFW_la_CXXFLAGS += @GEM_RTE_CFLAGS@ @GEM_ARCH_CXXFLAGS@
|
||||
gem_videoVFW_la_LDFLAGS += @GEM_RTE_LIBS@ @GEM_ARCH_LDFLAGS@
|
||||
# flags for building Gem externals
|
||||
gem_videoVFW_la_CXXFLAGS += @GEM_EXTERNAL_CFLAGS@
|
||||
gem_videoVFW_la_LIBADD += -L$(top_builddir) @GEM_EXTERNAL_LIBS@
|
||||
# gem_videoVFW_la @MOREFLAGS@
|
||||
|
||||
# Dependencies
|
||||
gem_videoVFW_la_CXXFLAGS += @GEM_LIB_VFW32_CFLAGS@
|
||||
gem_videoVFW_la_LIBADD += @GEM_LIB_VFW32_LIBS@
|
||||
|
||||
# convenience symlinks
|
||||
include $(srcdir)/../symlink_ltlib.mk
|
||||
|
||||
|
||||
### SOURCES
|
||||
gem_videoVFW_la_SOURCES= videoVFW.cpp videoVFW.h
|
||||
|
2
Gem/plugins/videoVFW/VFW-videoplugin.pd
Normal file
2
Gem/plugins/videoVFW/VFW-videoplugin.pd
Normal file
|
@ -0,0 +1,2 @@
|
|||
#N canvas 8 49 505 112 10;
|
||||
#X text 89 47 Nothing special about this backend...;
|
299
Gem/plugins/videoVFW/videoVFW.cpp
Normal file
299
Gem/plugins/videoVFW/videoVFW.cpp
Normal file
|
@ -0,0 +1,299 @@
|
|||
////////////////////////////////////////////////////////
|
||||
//
|
||||
// GEM - Graphics Environment for Multimedia
|
||||
//
|
||||
// zmoelnig@iem.kug.ac.at
|
||||
//
|
||||
// Implementation file
|
||||
//
|
||||
// Copyright (c) 1997-1999 Mark Danks.
|
||||
// Copyright (c) Günther Geiger.
|
||||
// Copyright (c) 2001-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
|
||||
// For information on usage and redistribution, and for a DISCLAIMER OF ALL
|
||||
// WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBVFW32
|
||||
# ifndef HAVE_VFW_H
|
||||
# define HAVE_VFW_H
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_VFW_H
|
||||
#include "videoVFW.h"
|
||||
#include "plugins/PluginFactory.h"
|
||||
using namespace gem::plugins;
|
||||
#include "Gem/RTE.h"
|
||||
|
||||
|
||||
/* MinGW headers seem to be incomplete */
|
||||
#ifndef AVSTREAMMASTER_NONE
|
||||
#define AVSTREAMMASTER_NONE 1
|
||||
#endif
|
||||
|
||||
REGISTER_VIDEOFACTORY("VFW", videoVFW);
|
||||
/////////////////////////////////////////////////////////
|
||||
//
|
||||
// videoVFW
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
// Constructor
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
videoVFW :: videoVFW(void)
|
||||
: videoBase("vfw", 0),
|
||||
m_hWndC(NULL)
|
||||
{
|
||||
provide("dv");
|
||||
provide("iidc");
|
||||
provide("analog");
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// Destructor
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
videoVFW :: ~videoVFW(void)
|
||||
{
|
||||
close();
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// openDevice
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool videoVFW :: openDevice(gem::Properties&props)
|
||||
{
|
||||
char driverName[256];
|
||||
char driverDesc[256];
|
||||
if (capGetDriverDescription(0, driverName, 256, driverDesc, 256))
|
||||
post("videoVFW: driver '%s'", driverName);
|
||||
|
||||
|
||||
double d;
|
||||
if (props.get("width", d))
|
||||
m_width=d;
|
||||
|
||||
if (props.get("height", d))
|
||||
m_height=d;
|
||||
|
||||
if(m_hWndC)closeDevice();
|
||||
|
||||
// Connect to the daemon
|
||||
m_hWndC = capCreateCaptureWindow ((LPSTR) "GEM video", // window name if pop-up
|
||||
0, // window style (not visible)
|
||||
0, 0, m_width, m_height,// window position and dimensions
|
||||
GetDesktopWindow(), 0);
|
||||
if (!m_hWndC) {
|
||||
error("Unable to create capture window");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!capDriverConnect(m_hWndC, 0)) {
|
||||
error("Unable to connect to video driver");
|
||||
closeDevice();
|
||||
return false;
|
||||
}
|
||||
|
||||
CAPTUREPARMS params;
|
||||
if (!capCaptureGetSetup(m_hWndC, ¶ms, sizeof(CAPTUREPARMS))) {
|
||||
error("Unable to get capture parameters");
|
||||
closeDevice();
|
||||
return false;
|
||||
}
|
||||
|
||||
params.fYield = TRUE;
|
||||
params.fCaptureAudio = FALSE;
|
||||
params.wPercentDropForError = 100;
|
||||
params.fLimitEnabled = FALSE;
|
||||
params.AVStreamMaster = AVSTREAMMASTER_NONE;
|
||||
params.fStepCaptureAt2x = FALSE;
|
||||
params.fAbortLeftMouse = FALSE;
|
||||
params.fAbortRightMouse = FALSE;
|
||||
if (!capCaptureSetSetup(m_hWndC, ¶ms, sizeof(CAPTUREPARMS)))
|
||||
{
|
||||
error("Unable to set capture parameters");
|
||||
closeDevice();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!capSetCallbackOnVideoStream(m_hWndC, videoVFW::videoFrameCallback))
|
||||
{
|
||||
error("Unable to set frame callback");
|
||||
closeDevice();
|
||||
return false;
|
||||
}
|
||||
if (!capSetUserData(m_hWndC, this))
|
||||
{
|
||||
error("Unable to set user data");
|
||||
closeDevice();
|
||||
return false;
|
||||
}
|
||||
DWORD formSize = capGetVideoFormat(m_hWndC, NULL, 0);
|
||||
BITMAPINFO *videoFormat = (BITMAPINFO *)(new char[formSize]);
|
||||
if (!capGetVideoFormat(m_hWndC, videoFormat, formSize))
|
||||
{
|
||||
error("Unable to get video format");
|
||||
closeDevice();
|
||||
return false;
|
||||
}
|
||||
|
||||
videoFormat->bmiHeader.biWidth = m_width;
|
||||
videoFormat->bmiHeader.biHeight = m_height;
|
||||
videoFormat->bmiHeader.biBitCount = 24;
|
||||
videoFormat->bmiHeader.biCompression = BI_RGB;
|
||||
videoFormat->bmiHeader.biClrUsed = 0;
|
||||
videoFormat->bmiHeader.biClrImportant = 0;
|
||||
videoFormat->bmiHeader.biSizeImage = 0;
|
||||
if (!capSetVideoFormat(m_hWndC, videoFormat, formSize)) {
|
||||
error("Unable to set video format");
|
||||
delete videoFormat;
|
||||
closeDevice();
|
||||
return false;
|
||||
}
|
||||
if (!capGetVideoFormat(m_hWndC, videoFormat, formSize)) {
|
||||
error("Unable to get video format");
|
||||
}
|
||||
m_width=static_cast<int>(videoFormat->bmiHeader.biWidth);
|
||||
m_height=static_cast<int>(videoFormat->bmiHeader.biHeight);
|
||||
|
||||
verbose(1, "Connected with %dx%d @ %d",
|
||||
m_width, m_height,
|
||||
static_cast<int>(videoFormat->bmiHeader.biBitCount));
|
||||
|
||||
delete videoFormat;
|
||||
|
||||
m_image.image.xsize = m_width;
|
||||
m_image.image.ysize = m_height;
|
||||
m_image.image.setCsizeByFormat(GL_RGBA);
|
||||
|
||||
m_image.image.reallocate();
|
||||
m_image.image.setBlack();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// closeDevice
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
void videoVFW :: closeDevice(void)
|
||||
{
|
||||
if (m_hWndC) {
|
||||
capDriverDisconnect(m_hWndC);
|
||||
DestroyWindow(m_hWndC);
|
||||
}
|
||||
m_hWndC=NULL;
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// videoFrame callback
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
void videoVFW :: videoFrame(LPVIDEOHDR lpVHdr)
|
||||
{
|
||||
int count = lpVHdr->dwBytesUsed;
|
||||
// notice that it is times 3 for the color!
|
||||
// incoming data is BGR
|
||||
const int dataSize = m_image.image.xsize * m_image.image.ysize * 3;
|
||||
|
||||
if (count < dataSize)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
lock();
|
||||
m_image.image.fromBGR(lpVHdr->lpData);
|
||||
m_image.newimage = true;
|
||||
unlock();
|
||||
}
|
||||
void videoVFW :: videoFrameCallback(HWND hWnd, LPVIDEOHDR lpVHdr)
|
||||
{
|
||||
videoVFW*ptr = reinterpret_cast<videoVFW*>(capGetUserData(hWnd));
|
||||
ptr->videoFrame(lpVHdr);
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// render
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool videoVFW :: grabFrame(void)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// startTransfer
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool videoVFW :: startTransfer(void)
|
||||
{
|
||||
bool result= capCaptureSequenceNoFile(m_hWndC);
|
||||
m_image.newfilm=result;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// stopTransfer
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool videoVFW :: stopTransfer(void)
|
||||
{
|
||||
capCaptureStop(m_hWndC);
|
||||
return true;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// csMess
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool videoVFW :: setColor(int format)
|
||||
{
|
||||
if(format)m_image.image.setCsizeByFormat(format);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool videoVFW :: enumProperties(gem::Properties&readable, gem::Properties&writeable) {
|
||||
readable.clear();
|
||||
writeable.clear();
|
||||
|
||||
gem::any type=0;
|
||||
|
||||
writeable.set("width", type);
|
||||
writeable.set("height", type);
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void videoVFW :: setProperties(gem::Properties&props) {
|
||||
double d;
|
||||
bool dorestart=false;
|
||||
|
||||
if (props.get("width", d)) {
|
||||
m_width=d;
|
||||
dorestart=true;
|
||||
}
|
||||
|
||||
if (props.get("height", d)) {
|
||||
m_height=d;
|
||||
dorestart=true;
|
||||
}
|
||||
|
||||
if(dorestart && m_hWndC)
|
||||
reset();
|
||||
}
|
||||
void videoVFW :: getProperties(gem::Properties&props) {
|
||||
}
|
||||
|
||||
#endif /* HAVE_VFW */
|
78
Gem/plugins/videoVFW/videoVFW.h
Normal file
78
Gem/plugins/videoVFW/videoVFW.h
Normal file
|
@ -0,0 +1,78 @@
|
|||
/*-----------------------------------------------------------------
|
||||
|
||||
GEM - Graphics Environment for Multimedia
|
||||
|
||||
Load an video into a pix block: VideoForWindows backend
|
||||
|
||||
Copyright (c) 1997-1999 Mark Danks. mark@danks.org
|
||||
Copyright (c) Günther Geiger. geiger@epy.co.at
|
||||
Copyright (c) 2001-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
|
||||
For information on usage and redistribution, and for a DISCLAIMER OF ALL
|
||||
WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.
|
||||
|
||||
-----------------------------------------------------------------*/
|
||||
|
||||
#ifndef _INCLUDE_GEMPLUGIN__VIDEOVFW_VIDEOVFW_H_
|
||||
#define _INCLUDE_GEMPLUGIN__VIDEOVFW_VIDEOVFW_H_
|
||||
|
||||
#include "plugins/videoBase.h"
|
||||
|
||||
#include <vfw.h>
|
||||
|
||||
/*-----------------------------------------------------------------
|
||||
-------------------------------------------------------------------
|
||||
CLASS
|
||||
pix_video
|
||||
|
||||
captures a video on NT machines
|
||||
|
||||
KEYWORDS
|
||||
pix
|
||||
|
||||
-----------------------------------------------------------------*/
|
||||
namespace gem { namespace plugins {
|
||||
class GEM_EXPORT videoVFW : public videoBase {
|
||||
public:
|
||||
//////////
|
||||
// Constructor
|
||||
videoVFW(void);
|
||||
|
||||
//////////
|
||||
// Destructor
|
||||
virtual ~videoVFW(void);
|
||||
|
||||
////////
|
||||
// open the video-device
|
||||
virtual bool openDevice(gem::Properties&);
|
||||
virtual void closeDevice(void);
|
||||
|
||||
//////////
|
||||
// Start up the video device
|
||||
// [out] int - returns 0 if bad
|
||||
bool startTransfer(void);
|
||||
//////////
|
||||
// Stop the video device
|
||||
// [out] int - returns 0 if bad
|
||||
bool stopTransfer(void);
|
||||
|
||||
//////////
|
||||
// get the next frame
|
||||
bool grabFrame(void);
|
||||
|
||||
//////////
|
||||
// Set the video dimensions
|
||||
virtual bool setColor(int);
|
||||
|
||||
virtual bool enumProperties(gem::Properties&readable, gem::Properties&writeable);
|
||||
virtual void setProperties(gem::Properties&);
|
||||
virtual void getProperties(gem::Properties&);
|
||||
|
||||
protected:
|
||||
HWND m_hWndC;
|
||||
void videoFrame(LPVIDEOHDR lpVHdr);
|
||||
private:
|
||||
static void videoFrameCallback(HWND hWnd, LPVIDEOHDR lpVHdr);
|
||||
};
|
||||
};};
|
||||
|
||||
#endif // for header file
|
21
Gem/plugins/videoVFW/win-vs2003/videoVFW.sln
Normal file
21
Gem/plugins/videoVFW/win-vs2003/videoVFW.sln
Normal file
|
@ -0,0 +1,21 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "videoVFW", "videoVFW.vcproj", "{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfiguration) = preSolution
|
||||
Release = Release
|
||||
ReleaseDummy = ReleaseDummy
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfiguration) = postSolution
|
||||
{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}.Release.ActiveCfg = Release|Win32
|
||||
{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}.Release.Build.0 = Release|Win32
|
||||
{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}.ReleaseDummy.ActiveCfg = ReleaseDummy|Win32
|
||||
{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}.ReleaseDummy.Build.0 = ReleaseDummy|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityAddIns) = postSolution
|
||||
EndGlobalSection
|
||||
EndGlobal
|
146
Gem/plugins/videoVFW/win-vs2003/videoVFW.vcproj
Normal file
146
Gem/plugins/videoVFW/win-vs2003/videoVFW.vcproj
Normal file
|
@ -0,0 +1,146 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="videoVFW"
|
||||
ProjectGUID="{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}"
|
||||
RootNamespace="gem"
|
||||
SccProjectName=""
|
||||
SccLocalPath="">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(SolutionDir)"
|
||||
IntermediateDirectory="$(ProjectDir)/$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
GlobalOptimizations="TRUE"
|
||||
InlineFunctionExpansion="2"
|
||||
FavorSizeOrSpeed="1"
|
||||
OptimizeForProcessor="2"
|
||||
AdditionalIncludeDirectories=""$(SolutionDir)\..\..\src";"$(ProjectDir)\..\..\src";"$(ProjectDir)\..\..\..\..\pd\src";"$(ProgramFiles)\pd\src""
|
||||
PreprocessorDefinitions="HAVE_VFW_H;NT;WIN32;_WINDOWS;__WIN32__;_LANGUAGE_C_PLUS_PLUS;WIN32_LEAN_AND_MEAN"
|
||||
StringPooling="TRUE"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="TRUE"
|
||||
EnableEnhancedInstructionSet="0"
|
||||
DefaultCharIsUnsigned="FALSE"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="Gem.lib pd.lib vfw32.lib"
|
||||
OutputFile="$(OutDir)/gem_$(ProjectName).dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories=""$(SolutionDir)";"$(ProjectDir)\..\..\build\win-vs2003";"$(ProjectDir)\..\..\..\..\pd\bin";"$(ProgramFiles)\pd\bin""
|
||||
ProgramDatabaseFile="$(ProjectDir)/$(ProjectName).pdb"
|
||||
ImportLibrary="$(ProjectDir)/$(TargetName).lib"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
MkTypLibCompatible="TRUE"
|
||||
SuppressStartupBanner="TRUE"
|
||||
TargetEnvironment="1"
|
||||
TypeLibraryName=".\./gem.tlb"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1033"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="ReleaseDummy|Win32"
|
||||
OutputDirectory="$(SolutionDir)"
|
||||
IntermediateDirectory="$(ProjectDir)/$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
GlobalOptimizations="TRUE"
|
||||
InlineFunctionExpansion="2"
|
||||
FavorSizeOrSpeed="1"
|
||||
OptimizeForProcessor="2"
|
||||
AdditionalIncludeDirectories=""$(SolutionDir)\..\..\src";"$(ProjectDir)\..\..\src";"$(ProjectDir)\..\..\..\..\pd\src";"$(ProgramFiles)\pd\src""
|
||||
PreprocessorDefinitions="NT;WIN32;_WINDOWS;__WIN32__;_LANGUAGE_C_PLUS_PLUS;WIN32_LEAN_AND_MEAN"
|
||||
StringPooling="TRUE"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="TRUE"
|
||||
EnableEnhancedInstructionSet="0"
|
||||
DefaultCharIsUnsigned="FALSE"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="Gem.lib pd.lib vfw32.lib OLDNAMES.lib"
|
||||
OutputFile="$(OutDir)/gem_$(ProjectName).dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories=""$(SolutionDir)";"$(ProjectDir)\..\..\build\win-vs2003";"$(ProjectDir)\..\..\..\..\pd\bin";"$(ProgramFiles)\pd\bin""
|
||||
ProgramDatabaseFile="$(ProjectDir)/$(ProjectName).pdb"
|
||||
ImportLibrary="$(ProjectDir)/$(TargetName).lib"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
MkTypLibCompatible="TRUE"
|
||||
SuppressStartupBanner="TRUE"
|
||||
TargetEnvironment="1"
|
||||
TypeLibraryName=".\./gem.tlb"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1033"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<File
|
||||
RelativePath="..\videoVFW.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\videoVFW.h">
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
21
Gem/plugins/videoVFW/win-vs2008/videoVFW.sln
Normal file
21
Gem/plugins/videoVFW/win-vs2008/videoVFW.sln
Normal file
|
@ -0,0 +1,21 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "videoVFW", "videoVFW.vcproj", "{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfiguration) = preSolution
|
||||
Release = Release
|
||||
ReleaseDummy = ReleaseDummy
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfiguration) = postSolution
|
||||
{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}.Release.ActiveCfg = Release|Win32
|
||||
{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}.Release.Build.0 = Release|Win32
|
||||
{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}.ReleaseDummy.ActiveCfg = ReleaseDummy|Win32
|
||||
{FF21A158-2BDE-483F-85C3-80C9DF0A0ABC}.ReleaseDummy.Build.0 = ReleaseDummy|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityAddIns) = postSolution
|
||||
EndGlobalSection
|
||||
EndGlobal
|
172
Gem/plugins/videoVFW/win-vs2008/videoVFW.vcproj
Normal file
172
Gem/plugins/videoVFW/win-vs2008/videoVFW.vcproj
Normal file
|
@ -0,0 +1,172 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="videoVFW"
|
||||
ProjectGUID="{1A49951B-8C31-45F4-B738-B36B960913C7}"
|
||||
RootNamespace="gem"
|
||||
TargetFrameworkVersion="131072"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops;..\..\..\build\win-vs2008\plugin.vsprops;..\..\..\build\win-vs2008\VFW.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
MkTypLibCompatible="true"
|
||||
SuppressStartupBanner="true"
|
||||
TargetEnvironment="1"
|
||||
TypeLibraryName=".\./gem.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1033"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalLibraryDirectories=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="ReleaseDummy|Win32"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops;..\..\..\build\win-vs2008\plugin.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
MkTypLibCompatible="true"
|
||||
SuppressStartupBanner="true"
|
||||
TargetEnvironment="1"
|
||||
TypeLibraryName=".\./gem.tlb"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1033"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
OutputFile=" "
|
||||
AdditionalLibraryDirectories=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<File
|
||||
RelativePath="..\videoVFW.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\videoVFW.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
Loading…
Add table
Add a link
Reference in a new issue