- 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
40
Gem/plugins/filmAVI/Makefile.am
Normal file
40
Gem/plugins/filmAVI/Makefile.am
Normal file
|
@ -0,0 +1,40 @@
|
|||
|
||||
ACLOCAL_AMFLAGS = -I $(top_srcdir)/m4
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src @GEM_EXTERNAL_CPPFLAGS@
|
||||
|
||||
EXTRA_DIST =
|
||||
EXTRA_DIST += win-vs2003/filmAVI.sln win-vs2003/filmAVI.vcproj
|
||||
EXTRA_DIST += win-vs2008/filmAVI.sln win-vs2008/filmAVI.vcproj
|
||||
|
||||
pkglib_LTLIBRARIES=
|
||||
if WINDOWS
|
||||
pkglib_LTLIBRARIES += gem_filmAVI.la
|
||||
endif
|
||||
|
||||
gem_filmAVI_la_CXXFLAGS =
|
||||
gem_filmAVI_la_LDFLAGS = -module -avoid-version -shared
|
||||
if WINDOWS
|
||||
gem_filmAVI_la_LDFLAGS += -no-undefined
|
||||
endif
|
||||
gem_filmAVI_la_LIBADD =
|
||||
|
||||
# RTE
|
||||
gem_filmAVI_la_CXXFLAGS += @GEM_RTE_CFLAGS@ @GEM_ARCH_CXXFLAGS@
|
||||
gem_filmAVI_la_LDFLAGS += @GEM_RTE_LIBS@ @GEM_ARCH_LDFLAGS@
|
||||
# flags for building Gem externals
|
||||
gem_filmAVI_la_CXXFLAGS += @GEM_EXTERNAL_CFLAGS@
|
||||
gem_filmAVI_la_LIBADD += -L$(top_builddir) @GEM_EXTERNAL_LIBS@
|
||||
# gem_filmAVI_la @MOREFLAGS@
|
||||
|
||||
# Dependencies
|
||||
## video-for-windows
|
||||
gem_filmAVI_la_CXXFLAGS += @GEM_LIB_VFW32_CFLAGS@
|
||||
gem_filmAVI_la_LIBADD += @GEM_LIB_VFW32_LIBS@
|
||||
|
||||
# convenience symlinks
|
||||
include $(srcdir)/../symlink_ltlib.mk
|
||||
|
||||
|
||||
### SOURCES
|
||||
gem_filmAVI_la_SOURCES = filmAVI.cpp filmAVI.h
|
||||
|
313
Gem/plugins/filmAVI/filmAVI.cpp
Normal file
313
Gem/plugins/filmAVI/filmAVI.cpp
Normal file
|
@ -0,0 +1,313 @@
|
|||
////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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 _WIN32
|
||||
|
||||
#include "filmAVI.h"
|
||||
#include "plugins/PluginFactory.h"
|
||||
#include "Utils/Functions.h"
|
||||
#include "Gem/Properties.h"
|
||||
#include "Gem/RTE.h"
|
||||
|
||||
using namespace gem::plugins;
|
||||
|
||||
REGISTER_FILMFACTORY("AVI", filmAVI);
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
//
|
||||
// filmAVI
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
// Constructor
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
|
||||
filmAVI :: filmAVI(void) :
|
||||
m_wantedFormat(GL_RGBA),
|
||||
m_fps(-1.0),
|
||||
m_numFrames(-1),
|
||||
m_curFrame(-1),
|
||||
|
||||
m_nRawBuffSize(0),
|
||||
m_RawBuffer(NULL),
|
||||
m_format(GL_BGR_EXT),
|
||||
m_reqFrame(0),
|
||||
m_frame(NULL),
|
||||
m_pbmihRaw(NULL),
|
||||
m_pbmihDst(NULL),
|
||||
m_hic(NULL),
|
||||
m_getFrame(NULL),
|
||||
m_streamVid(NULL)
|
||||
{
|
||||
AVIFileInit();
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// Destructor
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
filmAVI :: ~filmAVI(void)
|
||||
{
|
||||
close();
|
||||
AVIFileExit();
|
||||
}
|
||||
|
||||
void filmAVI :: close(void)
|
||||
{
|
||||
if (m_streamVid){
|
||||
AVIStreamRelease(m_streamVid);
|
||||
m_streamVid = NULL;
|
||||
}
|
||||
|
||||
if (m_pbmihRaw){
|
||||
delete[] m_pbmihRaw;
|
||||
m_pbmihRaw = NULL;
|
||||
}
|
||||
|
||||
if (m_pbmihDst){
|
||||
delete[] m_pbmihDst;
|
||||
m_pbmihDst = NULL;
|
||||
}
|
||||
|
||||
if (m_hic) {
|
||||
ICDecompressEnd(m_hic);
|
||||
ICClose(m_hic);
|
||||
m_hic = NULL;
|
||||
}
|
||||
|
||||
if (m_frame){
|
||||
delete[]m_frame;
|
||||
m_frame = NULL;
|
||||
}
|
||||
if (m_RawBuffer){
|
||||
delete[] m_RawBuffer;
|
||||
m_RawBuffer = NULL;
|
||||
}
|
||||
m_nRawBuffSize = 0;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// open the file
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool filmAVI :: open(const std::string filename, const gem::Properties&wantProps)
|
||||
{
|
||||
AVISTREAMINFO streaminfo;
|
||||
long lSize = 0; // in bytes
|
||||
|
||||
double d;
|
||||
if(wantProps.get("colorspace", d) && d>0)
|
||||
m_wantedFormat=d;
|
||||
|
||||
if (AVIStreamOpenFromFile(&m_streamVid, filename.c_str(), streamtypeVIDEO, 0, OF_READ, NULL)) {
|
||||
//error("filmAVI: Unable to open file: %s", filename.c_str());
|
||||
goto unsupported;
|
||||
}
|
||||
|
||||
if( AVIStreamInfo( m_streamVid, &streaminfo, sizeof(streaminfo)) ||
|
||||
AVIStreamReadFormat(m_streamVid, AVIStreamStart(m_streamVid), NULL, &lSize)) {
|
||||
//error("filmAVI: Unable to read file format: %s", filename.c_str());
|
||||
goto unsupported;
|
||||
}
|
||||
|
||||
m_pbmihRaw = (BITMAPINFOHEADER*) new char[lSize];
|
||||
|
||||
if(AVIStreamReadFormat(m_streamVid, AVIStreamStart(m_streamVid), m_pbmihRaw, &lSize)) {
|
||||
//error("filmAVI: Unable to read file format: %s", filename.c_str());
|
||||
goto unsupported;
|
||||
}
|
||||
if ((8 == m_pbmihRaw->biBitCount)
|
||||
|| ((40 == m_pbmihRaw->biBitCount) && (mmioFOURCC('c','v','i','d') == m_pbmihRaw->biCompression))) {
|
||||
// HACK: attempt to decompress 8 bit films or BW cinepak films to greyscale
|
||||
m_pbmihDst = (BITMAPINFOHEADER*) new char[sizeof(BITMAPINFOHEADER) + 256*3];
|
||||
//post("filmAVI: Loading as greyscale");
|
||||
|
||||
*m_pbmihDst = *m_pbmihRaw;
|
||||
m_pbmihDst->biSize = sizeof(BITMAPINFOHEADER);
|
||||
|
||||
m_format = GL_LUMINANCE;
|
||||
|
||||
m_pbmihDst->biBitCount = 8;
|
||||
m_pbmihDst->biClrUsed = 256;
|
||||
m_pbmihDst->biClrImportant = 256;
|
||||
|
||||
char* pClrPtr = ((char*)m_pbmihDst) + sizeof(BITMAPINFOHEADER);
|
||||
for (int i = 0; i < 256; i++){
|
||||
*pClrPtr++ = i;
|
||||
*pClrPtr++ = i;
|
||||
*pClrPtr++ = i;
|
||||
}
|
||||
} else {
|
||||
m_pbmihDst = (BITMAPINFOHEADER*) new char[sizeof(BITMAPINFOHEADER)];
|
||||
*m_pbmihDst = *m_pbmihRaw;
|
||||
|
||||
m_format = GL_BGR_EXT;
|
||||
|
||||
m_pbmihDst->biBitCount = 24;
|
||||
m_pbmihDst->biClrUsed = 0;
|
||||
m_pbmihDst->biClrImportant = 0;
|
||||
}
|
||||
|
||||
m_pbmihDst->biCompression = BI_RGB;
|
||||
m_pbmihDst->biSizeImage = 0;
|
||||
|
||||
// Get the length of the movie
|
||||
m_numFrames = streaminfo.dwLength - 1;
|
||||
|
||||
m_fps = (double)streaminfo.dwRate / streaminfo.dwScale;
|
||||
|
||||
m_image.image.xsize = streaminfo.rcFrame.right - streaminfo.rcFrame.left;
|
||||
m_image.image.ysize = streaminfo.rcFrame.bottom - streaminfo.rcFrame.top;
|
||||
m_image.image.setCsizeByFormat(m_wantedFormat);
|
||||
m_image.image.reallocate();
|
||||
|
||||
if (!(m_hic = ICLocate(ICTYPE_VIDEO, 0, m_pbmihRaw, m_pbmihDst, ICMODE_DECOMPRESS))){
|
||||
//error("filmAVI: Could not find decompressor: %s", filename.c_str());
|
||||
goto unsupported;
|
||||
}
|
||||
if (m_format==GL_LUMINANCE){
|
||||
if (ICERR_OK != ICDecompressSetPalette(m_hic, m_pbmihDst)){
|
||||
error("filmAVI: Could not set palette: %s", filename.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
if (ICERR_OK != ICDecompressBegin(m_hic, m_pbmihRaw, m_pbmihDst)){
|
||||
//error("filmAVI: Could not begin decompression: %s", filename.c_str());
|
||||
goto unsupported;
|
||||
}
|
||||
//if (!m_pbmihRaw->biSizeImage)
|
||||
// m_pbmihRaw->biSizeImage = m_xsize * m_ysize * m_csize;
|
||||
//m_nRawBuffSize = MIN(streaminfo.dwSuggestedBufferSize, m_pbmihRaw->biSizeImage);
|
||||
m_nRawBuffSize = MAX(static_cast<int>(streaminfo.dwSuggestedBufferSize), static_cast<int>(m_pbmihRaw->biSizeImage));
|
||||
if(!m_nRawBuffSize)m_nRawBuffSize = m_image.image.xsize * m_image.image.ysize * 3;
|
||||
|
||||
m_RawBuffer = new unsigned char[m_nRawBuffSize];
|
||||
m_frame = new unsigned char[m_nRawBuffSize];
|
||||
m_reqFrame = 0;
|
||||
m_curFrame = -1;
|
||||
return true;
|
||||
|
||||
unsupported:
|
||||
close();
|
||||
return false;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// render
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
pixBlock* filmAVI :: getFrame(void){
|
||||
BITMAPINFOHEADER* pbmih;
|
||||
long lBytesWritten;
|
||||
unsigned char*data=NULL;
|
||||
if (m_reqFrame > m_numFrames)m_reqFrame=m_numFrames;
|
||||
|
||||
m_image.newimage=1;
|
||||
m_image.image.upsidedown=false;
|
||||
m_image.image.setCsizeByFormat(m_wantedFormat);
|
||||
m_image.image.reallocate();
|
||||
|
||||
if (!AVIStreamRead(m_streamVid,
|
||||
m_reqFrame, 1,
|
||||
m_RawBuffer, m_nRawBuffSize,
|
||||
&lBytesWritten, 0)){
|
||||
m_pbmihRaw->biSize = lBytesWritten;
|
||||
ICDecompress(m_hic, 0, m_pbmihRaw, m_RawBuffer, m_pbmihDst, m_frame);
|
||||
data=m_frame;
|
||||
} else data=(unsigned char *)AVIStreamGetFrame(m_getFrame, m_curFrame)+40;
|
||||
if(!data)return 0;
|
||||
|
||||
switch(m_format){
|
||||
case GL_LUMINANCE: m_image.image.fromGray(data); break;
|
||||
default: m_image.image.fromBGR(data);
|
||||
}
|
||||
return &m_image;
|
||||
}
|
||||
|
||||
film::errCode filmAVI :: changeImage(int imgNum, int trackNum){
|
||||
if (imgNum<0)return film::FAILURE;
|
||||
if (m_numFrames<0){
|
||||
m_reqFrame = imgNum;
|
||||
return film::SUCCESS;
|
||||
}
|
||||
if (imgNum>m_numFrames){
|
||||
m_reqFrame=m_numFrames;
|
||||
return film::FAILURE;
|
||||
}
|
||||
|
||||
m_reqFrame = imgNum;
|
||||
return film::SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////
|
||||
// Properties
|
||||
bool filmAVI::enumProperties(gem::Properties&readable,
|
||||
gem::Properties&writeable) {
|
||||
readable.clear();
|
||||
writeable.clear();
|
||||
|
||||
gem::any value;
|
||||
value=0.;
|
||||
readable.set("fps", value);
|
||||
readable.set("frames", value);
|
||||
readable.set("width", value);
|
||||
readable.set("height", value);
|
||||
|
||||
writeable.set("colorspace", value);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void filmAVI::setProperties(gem::Properties&props) {
|
||||
double d;
|
||||
if(props.get("colorspace", d)) {
|
||||
m_wantedFormat=d;
|
||||
}
|
||||
}
|
||||
|
||||
void filmAVI::getProperties(gem::Properties&props) {
|
||||
std::vector<std::string> keys=props.keys();
|
||||
gem::any value;
|
||||
double d;
|
||||
unsigned int i=0;
|
||||
for(i=0; i<keys.size(); i++) {
|
||||
std::string key=keys[i];
|
||||
props.erase(key);
|
||||
if("fps"==key) {
|
||||
d=m_fps;
|
||||
value=d; props.set(key, value);
|
||||
}
|
||||
if("frames"==key) {
|
||||
d=m_numFrames;
|
||||
value=d; props.set(key, value);
|
||||
}
|
||||
if("width"==key) {
|
||||
d=m_image.image.xsize;
|
||||
value=d; props.set(key, value);
|
||||
}
|
||||
if("height"==key) {
|
||||
d=m_image.image.ysize;
|
||||
value=d; props.set(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
95
Gem/plugins/filmAVI/filmAVI.h
Normal file
95
Gem/plugins/filmAVI/filmAVI.h
Normal file
|
@ -0,0 +1,95 @@
|
|||
/* -----------------------------------------------------------------
|
||||
|
||||
GEM - Graphics Environment for Multimedia
|
||||
|
||||
Load an digital video (like AVI, Mpeg, Quicktime) into a pix block
|
||||
(OS independant parent-class)
|
||||
|
||||
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__FILMAVI_FILMAVI_H_
|
||||
#define _INCLUDE_GEMPLUGIN__FILMAVI_FILMAVI_H_
|
||||
|
||||
#include "plugins/film.h"
|
||||
#include "Gem/Image.h"
|
||||
#include <vfw.h>
|
||||
|
||||
/*-----------------------------------------------------------------
|
||||
-------------------------------------------------------------------
|
||||
CLASS
|
||||
filmAVI
|
||||
|
||||
film-loader class for AVI(windoze)
|
||||
|
||||
KEYWORDS
|
||||
pix film movie
|
||||
|
||||
DESCRIPTION
|
||||
|
||||
-----------------------------------------------------------------*/
|
||||
namespace gem { namespace plugins {
|
||||
class GEM_EXPORT filmAVI : public film {
|
||||
public:
|
||||
|
||||
//////////
|
||||
// Constructor
|
||||
filmAVI(void);
|
||||
|
||||
//////////
|
||||
// Destructor
|
||||
virtual ~filmAVI(void);
|
||||
|
||||
//////////
|
||||
// open a movie up
|
||||
virtual bool open(const std::string filename, const gem::Properties&);
|
||||
//////////
|
||||
// close the movie file
|
||||
virtual void close(void);
|
||||
|
||||
//////////
|
||||
// get the next frame
|
||||
virtual pixBlock* getFrame(void);
|
||||
|
||||
//////////
|
||||
// set the next frame to read;
|
||||
virtual errCode changeImage(int imgNum, int trackNum=-1);
|
||||
|
||||
// can be used within a threaded context
|
||||
virtual bool isThreadable(void) { return true; }
|
||||
|
||||
// Property handling
|
||||
virtual bool enumProperties(gem::Properties&readable,gem::Properties&writeable);
|
||||
virtual void setProperties(gem::Properties&props);
|
||||
virtual void getProperties(gem::Properties&props);
|
||||
|
||||
protected:
|
||||
GLenum m_wantedFormat; // format requested by the user
|
||||
double m_fps; // the frame-rate
|
||||
int m_numFrames; // number of frames in video
|
||||
int m_curFrame;
|
||||
pixBlock m_image; // output image
|
||||
|
||||
// the raw buffer for decoding...
|
||||
int m_nRawBuffSize;
|
||||
unsigned char* m_RawBuffer;
|
||||
GLint m_format;
|
||||
int m_reqFrame;
|
||||
|
||||
unsigned char* m_frame; /* this points to a buffer for decompression */
|
||||
|
||||
BITMAPINFOHEADER* m_pbmihRaw;
|
||||
BITMAPINFOHEADER* m_pbmihDst;
|
||||
|
||||
HIC m_hic;
|
||||
|
||||
PGETFRAME m_getFrame; // the frame information
|
||||
PAVISTREAM m_streamVid; // the stream itself
|
||||
};};};
|
||||
|
||||
#endif // for header file
|
21
Gem/plugins/filmAVI/win-vs2003/filmAVI.sln
Normal file
21
Gem/plugins/filmAVI/win-vs2003/filmAVI.sln
Normal file
|
@ -0,0 +1,21 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "filmAVI", "filmAVI.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/filmAVI/win-vs2003/filmAVI.vcproj
Normal file
146
Gem/plugins/filmAVI/win-vs2003/filmAVI.vcproj
Normal file
|
@ -0,0 +1,146 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="filmAVI"
|
||||
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="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 vfw32.lib pd.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="..\filmAVI.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\filmAVI.h">
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
21
Gem/plugins/filmAVI/win-vs2008/filmAVI.sln
Normal file
21
Gem/plugins/filmAVI/win-vs2008/filmAVI.sln
Normal file
|
@ -0,0 +1,21 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "filmAVI", "filmAVI.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
|
176
Gem/plugins/filmAVI/win-vs2008/filmAVI.vcproj
Normal file
176
Gem/plugins/filmAVI/win-vs2008/filmAVI.vcproj
Normal file
|
@ -0,0 +1,176 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="filmAVI"
|
||||
ProjectGUID="{F2368753-AF77-43B7-BE96-1292EC104941}"
|
||||
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\VFW.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"
|
||||
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"
|
||||
AdditionalDependencies="vfw32.lib"
|
||||
AdditionalLibraryDirectories=""
|
||||
ProgramDatabaseFile="$(ProjectDir)/$(ProjectName).pdb"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
ImportLibrary="$(ProjectDir)/$(TargetName).lib"
|
||||
/>
|
||||
<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="..\filmAVI.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\filmAVI.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
Loading…
Add table
Add a link
Reference in a new issue