- 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
39
Gem/plugins/filmQT/Makefile.am
Normal file
39
Gem/plugins/filmQT/Makefile.am
Normal file
|
@ -0,0 +1,39 @@
|
|||
|
||||
ACLOCAL_AMFLAGS = -I $(top_srcdir)/m4
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src @GEM_EXTERNAL_CPPFLAGS@
|
||||
|
||||
EXTRA_DIST =
|
||||
EXTRA_DIST += win-vs2003/filmQT.sln win-vs2003/filmQT.vcproj
|
||||
EXTRA_DIST += win-vs2008/filmQT.sln win-vs2008/filmQT.vcproj
|
||||
|
||||
pkglib_LTLIBRARIES=
|
||||
if HAVE_FRAMEWORK_QUICKTIME
|
||||
pkglib_LTLIBRARIES+= gem_filmQT.la
|
||||
endif
|
||||
|
||||
gem_filmQT_la_CXXFLAGS =
|
||||
gem_filmQT_la_LDFLAGS = -module -avoid-version -shared
|
||||
if WINDOWS
|
||||
gem_filmQT_la_LDFLAGS += -no-undefined
|
||||
endif
|
||||
gem_filmQT_la_LIBADD =
|
||||
|
||||
# RTE
|
||||
gem_filmQT_la_CXXFLAGS += @GEM_RTE_CFLAGS@ @GEM_ARCH_CXXFLAGS@
|
||||
gem_filmQT_la_LDFLAGS += @GEM_RTE_LIBS@ @GEM_ARCH_LDFLAGS@
|
||||
# flags for building Gem externals
|
||||
gem_filmQT_la_CXXFLAGS += @GEM_EXTERNAL_CFLAGS@
|
||||
gem_filmQT_la_LIBADD += -L$(top_builddir) @GEM_EXTERNAL_LIBS@
|
||||
# gem_filmQT_la @MOREFLAGS@
|
||||
|
||||
# Dependencies
|
||||
gem_filmQT_la_CXXFLAGS += @GEM_FRAMEWORK_QUICKTIME@
|
||||
gem_filmQT_la_LIBADD += @GEM_FRAMEWORK_QUICKTIME@
|
||||
|
||||
# convenience symlinks
|
||||
include $(srcdir)/../symlink_ltlib.mk
|
||||
|
||||
|
||||
### SOURCES
|
||||
gem_filmQT_la_SOURCES= filmQT.cpp filmQT.h
|
||||
|
419
Gem/plugins/filmQT/filmQT.cpp
Normal file
419
Gem/plugins/filmQT/filmQT.cpp
Normal file
|
@ -0,0 +1,419 @@
|
|||
////////////////////////////////////////////////////////
|
||||
//
|
||||
// GEM - Graphics Environment for Multimedia
|
||||
//
|
||||
// tigital@mac.com
|
||||
//
|
||||
// Implementation file
|
||||
//
|
||||
// Copyright (c) 1997-1999 Mark Danks.
|
||||
// Copyright (c) 2002 James Tittle & Chris Clepper
|
||||
// Copyright (c) 2003-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
|
||||
|
||||
#if defined __APPLE__
|
||||
# if !defined __x86_64__
|
||||
// with OSX10.6, apple has removed loads of Carbon functionality (in 64bit mode)
|
||||
// LATER make this a real check in configure
|
||||
# define HAVE_CARBONQUICKTIME
|
||||
# elif defined HAVE_QUICKTIME
|
||||
# undef HAVE_QUICKTIME
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_QUICKTIME
|
||||
|
||||
|
||||
#include "filmQT.h"
|
||||
#include "plugins/PluginFactory.h"
|
||||
#include "Gem/Properties.h"
|
||||
#include "Gem/RTE.h"
|
||||
#include "Gem/Exception.h"
|
||||
|
||||
using namespace gem::plugins;
|
||||
|
||||
REGISTER_FILMFACTORY("QuickTime", filmQT);
|
||||
# ifdef __APPLE__
|
||||
# define FILMQT_DEFAULT_PIXELFORMAT GL_YCBCR_422_APPLE
|
||||
|
||||
static bool filmQT_initQT(void) { return true; }
|
||||
static bool filmQT_deinitQT(void) { return true; }
|
||||
|
||||
# else /* !__APPLE__ */
|
||||
|
||||
/* TextUtils.h is from QTdev */
|
||||
# include "TextUtils.h"
|
||||
# define OffsetRect MacOffsetRect
|
||||
# define FILMQT_DEFAULT_PIXELFORMAT GL_RGBA
|
||||
|
||||
static bool filmQT_initQT(void) {
|
||||
// Initialize QuickTime Media Layer
|
||||
OSErr err = noErr;
|
||||
if ((err = InitializeQTML(0))) {
|
||||
error("filmQT: Could not initialize quicktime: error %d\n", err);
|
||||
return false;
|
||||
}
|
||||
|
||||
// Initialize QuickTime
|
||||
if (err = EnterMovies()) {
|
||||
error("filmQT: Could not initialize quicktime: error %d\n", err);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool filmQT_deinitQT(void) {
|
||||
// Deinitialize QuickTime Media Layer
|
||||
ExitMovies();
|
||||
// Deinitialize QuickTime Media Layer
|
||||
TerminateQTML();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
# endif /* w32 */
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
//
|
||||
// filmQT
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
// Constructor
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
|
||||
filmQT :: filmQT(void) :
|
||||
m_wantedFormat(FILMQT_DEFAULT_PIXELFORMAT),
|
||||
m_fps(-1.),
|
||||
m_numFrames(-1), m_numTracks(-1),
|
||||
m_curFrame(-1), m_curTrack(-1),
|
||||
m_readNext(false),
|
||||
m_auto(0.f),
|
||||
m_movie(NULL),
|
||||
m_srcGWorld(NULL),
|
||||
m_movieTime(0),
|
||||
m_movieTrack(0),
|
||||
m_timeScale(1),
|
||||
m_frameDuration(0),
|
||||
m_bInit(false)
|
||||
{
|
||||
if(!filmQT_initQT()) {
|
||||
throw(GemException("unable to initialize QuickTime"));
|
||||
}
|
||||
m_image.image.setCsizeByFormat(m_wantedFormat);
|
||||
m_bInit = true;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// Destructor
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
filmQT :: ~filmQT(void)
|
||||
{
|
||||
close();
|
||||
/* should we check whether "m_bInit" is true? */
|
||||
filmQT_deinitQT();
|
||||
}
|
||||
|
||||
void filmQT :: close(void)
|
||||
{
|
||||
if (!m_bInit){
|
||||
return;
|
||||
}
|
||||
|
||||
DisposeMovie(m_movie);
|
||||
|
||||
//in QT Bizzaro World GWorlds dispose themselves! And leak about 4k per call
|
||||
// ::DisposeGWorld(m_srcGWorld);
|
||||
// m_srcGWorld = NULL;
|
||||
}
|
||||
|
||||
bool filmQT :: open(const std::string filename, const gem::Properties&wantProps) {
|
||||
FSSpec theFSSpec;
|
||||
OSErr err = noErr;
|
||||
Rect m_srcRect;
|
||||
long m_rowBytes;
|
||||
|
||||
short refnum = 0;
|
||||
long movieDur, movieTimeScale;
|
||||
OSType whichMediaType;
|
||||
short flags = 0;
|
||||
double d;
|
||||
|
||||
OSType pixelformat=0;
|
||||
long hints=0;
|
||||
|
||||
if (filename.empty())return false;
|
||||
if (!m_bInit){
|
||||
error("filmQT: object not correctly initialized\n");
|
||||
return false;
|
||||
}
|
||||
// Clean up any open files: closeMess();
|
||||
|
||||
Str255 pstrFilename;
|
||||
CopyCStringToPascal(filename.c_str(), pstrFilename); // Convert to Pascal string
|
||||
|
||||
err = FSMakeFSSpec (0, 0L, pstrFilename, &theFSSpec); // Make specification record
|
||||
#ifdef __APPLE__
|
||||
if (err != noErr) {
|
||||
FSRef ref;
|
||||
err = ::FSPathMakeRef((const UInt8*)filename.c_str(), &ref, NULL);
|
||||
err = ::FSGetCatalogInfo(&ref, kFSCatInfoNone, NULL, NULL, &theFSSpec, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (err != noErr) {
|
||||
error("filmQT: Unable to find file: %s (%d)", filename.c_str(), err);
|
||||
//goto unsupported;
|
||||
}
|
||||
err = ::OpenMovieFile(&theFSSpec, &refnum, fsRdPerm);
|
||||
if (err) {
|
||||
error("filmQT: Couldn't open the movie file: %s (%d)", filename.c_str(), err);
|
||||
if (refnum) ::CloseMovieFile(refnum);
|
||||
goto unsupported;
|
||||
}
|
||||
err = ::NewMovieFromFile(&m_movie, refnum, NULL, NULL, newMovieActive, NULL);
|
||||
if (err) {
|
||||
error("filmQT: Couldn't make a movie from file: %s (%d)", filename.c_str(), err);
|
||||
if (refnum) ::CloseMovieFile(refnum);
|
||||
m_movie=NULL;
|
||||
goto unsupported;
|
||||
}
|
||||
if (refnum) ::CloseMovieFile(refnum);
|
||||
|
||||
m_curFrame = -1;
|
||||
m_numTracks = static_cast<int>(GetMovieTrackCount(m_movie));
|
||||
|
||||
// Get the length of the movie
|
||||
movieDur = static_cast<long>(GetMovieDuration(m_movie));
|
||||
movieTimeScale = static_cast<long>(GetMovieTimeScale(m_movie));
|
||||
|
||||
whichMediaType = VisualMediaCharacteristic;
|
||||
|
||||
// shouldn't the flags be OR'ed instead of ADDed ? (jmz)
|
||||
flags = nextTimeMediaSample | nextTimeEdgeOK;
|
||||
|
||||
m_frameDuration=0;
|
||||
|
||||
GetMovieNextInterestingTime( m_movie, flags,
|
||||
static_cast<TimeValue>(1),
|
||||
&whichMediaType, 0,
|
||||
static_cast<Fixed>(1<<16), NULL, &m_frameDuration);
|
||||
if(movieDur<=0)
|
||||
m_numFrames=-1;
|
||||
else
|
||||
m_numFrames = movieDur/m_frameDuration;
|
||||
|
||||
if(m_frameDuration>=movieDur) {
|
||||
m_fps=30.f;
|
||||
//m_frameDuration=(float)movieTimeScale/m_fps;
|
||||
m_frameDuration=0;
|
||||
m_numFrames=-1;
|
||||
} else {
|
||||
m_fps = (float)movieTimeScale/(float)m_frameDuration;
|
||||
}
|
||||
|
||||
// Get the bounds for the movie
|
||||
::GetMovieBox(m_movie, &m_srcRect);
|
||||
// OffsetRect(&m_srcRect, -m_srcRect.left, -m_srcRect.top);
|
||||
SetMovieBox(m_movie, &m_srcRect);
|
||||
m_image.image.xsize = m_srcRect.right - m_srcRect.left;
|
||||
m_image.image.ysize = m_srcRect.bottom - m_srcRect.top;
|
||||
|
||||
switch(m_wantedFormat) {
|
||||
default: // if no other format is requested, use YUV
|
||||
case GL_YCBCR_422_APPLE:
|
||||
post("YUV");
|
||||
m_image.image.format = m_wantedFormat;
|
||||
hints |= hintsHighQuality | hintsDeinterlaceFields;
|
||||
pixelformat=k422YpCbCr8CodecType;
|
||||
break;
|
||||
case GL_BGRA_EXT:
|
||||
post("BGRA");
|
||||
m_image.image.format = GL_BGRA_EXT;
|
||||
hints |= hintsHighQuality;
|
||||
pixelformat=k32ARGBPixelFormat;
|
||||
break;
|
||||
case GL_RGBA:
|
||||
post("RGBA");
|
||||
m_image.image.format = GL_RGBA;
|
||||
hints |= hintsHighQuality;
|
||||
pixelformat=k32RGBAPixelFormat;
|
||||
break;
|
||||
}
|
||||
m_image.image.setCsizeByFormat();
|
||||
m_image.image.allocate();
|
||||
|
||||
m_rowBytes = m_image.image.xsize * m_image.image.csize;
|
||||
SetMoviePlayHints(m_movie, hints, hints);
|
||||
err = SetMovieAudioMute(m_movie, true, 0);
|
||||
if(noErr!=err) {
|
||||
error("filmQT: unable to mute movie...");
|
||||
}
|
||||
|
||||
err = QTNewGWorldFromPtr( &m_srcGWorld,
|
||||
pixelformat,
|
||||
&m_srcRect,
|
||||
NULL,
|
||||
NULL,
|
||||
0,
|
||||
m_image.image.data,
|
||||
m_rowBytes);
|
||||
if (err) {
|
||||
error("filmQT: Couldn't make QTNewGWorldFromPtr %d", err);
|
||||
goto unsupported;
|
||||
}
|
||||
|
||||
// *** set the graphics world for displaying the movie ***
|
||||
::SetMovieGWorld(m_movie, m_srcGWorld, GetGWorldDevice(m_srcGWorld));
|
||||
if(GetMoviesError()){
|
||||
close();
|
||||
goto unsupported;
|
||||
}
|
||||
|
||||
if(m_frameDuration)
|
||||
SetMovieRate(m_movie,X2Fix(m_auto));
|
||||
else if (m_auto == 0.f)
|
||||
SetMovieRate(m_movie,X2Fix(1.f));
|
||||
|
||||
::MoviesTask(m_movie, 0); // *** this does the actual drawing into the GWorld ***
|
||||
|
||||
m_readNext=true;
|
||||
|
||||
return true;
|
||||
|
||||
unsupported:
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// getFrame
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
pixBlock* filmQT :: getFrame(void)
|
||||
{
|
||||
CGrafPtr savedPort;
|
||||
GDHandle savedDevice;
|
||||
Rect m_srcRect;
|
||||
|
||||
::GetGWorld(&savedPort, &savedDevice);
|
||||
::SetGWorld(m_srcGWorld, NULL);
|
||||
::GetMovieBox(m_movie, &m_srcRect);
|
||||
|
||||
// set the time for the frame and give time to the movie toolbox
|
||||
if(m_frameDuration>0)
|
||||
SetMovieTimeValue(m_movie, m_movieTime);
|
||||
MoviesTask(m_movie, 0); // *** this does the actual drawing into the GWorld ***
|
||||
m_image.newimage = m_readNext;
|
||||
|
||||
m_image.image.upsidedown=true;
|
||||
SetMovieRate(m_movie,X2Fix(m_auto));
|
||||
|
||||
m_readNext=(m_auto!=0.f);
|
||||
return &m_image;
|
||||
}
|
||||
|
||||
film::errCode filmQT :: changeImage(int imgNum, int trackNum){
|
||||
m_readNext = false;
|
||||
if (imgNum ==-1) imgNum=m_curFrame;
|
||||
if (m_numFrames>1 && imgNum>=m_numFrames){
|
||||
m_movieTime=0;
|
||||
return film::FAILURE;
|
||||
}
|
||||
if (trackNum==-1||trackNum>m_numTracks)trackNum=m_curTrack;
|
||||
m_readNext=true;
|
||||
|
||||
if(imgNum!=m_curFrame && m_frameDuration<1)
|
||||
SetMovieRate(m_movie,X2Fix(1.0));
|
||||
|
||||
m_curFrame = imgNum;
|
||||
|
||||
/* i have moved the "auto"-thing into [pix_film].
|
||||
* this is good because the decoder-class need not care about auto-play anylonger
|
||||
* this is bad, because we might do it more sophisticated in the decoder-class
|
||||
*/
|
||||
m_movieTime = static_cast<long>(m_curFrame * m_frameDuration);
|
||||
|
||||
|
||||
return film::SUCCESS;
|
||||
}
|
||||
|
||||
///////////////////////////////
|
||||
// Properties
|
||||
bool filmQT::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("tracks", value);
|
||||
readable.set("width", value);
|
||||
readable.set("height", value);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void filmQT::setProperties(gem::Properties&props) {
|
||||
}
|
||||
|
||||
void filmQT::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 && m_numFrames>=0) {
|
||||
d=m_numFrames;
|
||||
value=d; props.set(key, value);
|
||||
}
|
||||
if("tracks"==key && m_numTracks>=0) {
|
||||
d=m_numTracks;
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifdef LOADRAM
|
||||
//////////
|
||||
// load film into RAM
|
||||
void filmQT :: LoadRam(void){
|
||||
TimeValue length;
|
||||
OSErr err;
|
||||
if (m_haveMovie){
|
||||
m_movieTime = 0;
|
||||
length = GetMovieDuration(m_movie);
|
||||
err =LoadMovieIntoRam(m_movie,m_movieTime,length,keepInRam);
|
||||
if (err) {
|
||||
post("filmQT: LoadMovieIntoRam failed miserably");
|
||||
}
|
||||
}else{
|
||||
post("filmQT: no movie to load into RAM!");
|
||||
}
|
||||
}
|
||||
#endif // LoadRAM
|
||||
#endif // HAVE_QT
|
98
Gem/plugins/filmQT/filmQT.h
Normal file
98
Gem/plugins/filmQT/filmQT.h
Normal file
|
@ -0,0 +1,98 @@
|
|||
/*-----------------------------------------------------------------
|
||||
|
||||
GEM - Graphics Environment for Multimedia
|
||||
|
||||
Load an digital video (like AVI, Mpeg, Quicktime) into a pix block (Windus/Apple)
|
||||
|
||||
Copyright (c) 1997-1999 Mark Danks. mark@danks.org
|
||||
Copyright (c) 2002 James Tittle. tigital@mac.com
|
||||
Copyright (c) 2011 IOhannes m zmölnig. 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__FILMQT_FILMQT_H_
|
||||
#define _INCLUDE_GEMPLUGIN__FILMQT_FILMQT_H_
|
||||
#include "plugins/film.h"
|
||||
#include "Gem/Image.h"
|
||||
|
||||
#ifdef HAVE_CARBONQUICKTIME
|
||||
# include <Carbon/Carbon.h>
|
||||
# include <QuickTime/QuickTime.h>
|
||||
#else defined _WIN32
|
||||
# include <QTML.h>
|
||||
# include <Movies.h>
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------------
|
||||
-------------------------------------------------------------------
|
||||
CLASS
|
||||
filmQT
|
||||
|
||||
Loads in a film
|
||||
|
||||
KEYWORDS
|
||||
pix
|
||||
|
||||
DESCRIPTION
|
||||
|
||||
-----------------------------------------------------------------*/
|
||||
namespace gem { namespace plugins {
|
||||
class GEM_EXPORT filmQT : public film
|
||||
{
|
||||
public:
|
||||
//////////
|
||||
// Constructor
|
||||
filmQT(void);
|
||||
//////////
|
||||
// Destructor
|
||||
virtual ~filmQT(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);
|
||||
|
||||
// cannot be used within a threaded context
|
||||
virtual bool isThreadable(void) { return false; }
|
||||
|
||||
// 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; // the requested pixel format (in GL)
|
||||
double m_fps; // the frame-rate
|
||||
int m_numFrames, m_numTracks; // number of frames in video
|
||||
int m_curFrame, m_curTrack;
|
||||
pixBlock m_image; // output image
|
||||
bool m_readNext;
|
||||
float m_auto;
|
||||
|
||||
//-----------------------------------
|
||||
// GROUP: Movie data
|
||||
//-----------------------------------
|
||||
Movie m_movie;
|
||||
GWorldPtr m_srcGWorld;
|
||||
TimeValue m_movieTime;
|
||||
Track m_movieTrack;
|
||||
TimeValue m_timeScale;
|
||||
TimeValue m_frameDuration;
|
||||
|
||||
// managed to initialize our Quicktime-Decoder
|
||||
bool m_bInit;
|
||||
};};};
|
||||
|
||||
#endif // for header file
|
21
Gem/plugins/filmQT/win-vs2003/filmQT.sln
Normal file
21
Gem/plugins/filmQT/win-vs2003/filmQT.sln
Normal file
|
@ -0,0 +1,21 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "filmQT", "filmQT.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/filmQT/win-vs2003/filmQT.vcproj
Normal file
146
Gem/plugins/filmQT/win-vs2003/filmQT.vcproj
Normal file
|
@ -0,0 +1,146 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="filmQT"
|
||||
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";"$(ProgramFiles)\QuickTime SDK\CIncludes""
|
||||
PreprocessorDefinitions="NT;WIN32;_WINDOWS;__WIN32__;_LANGUAGE_C_PLUS_PLUS;WIN32_LEAN_AND_MEAN;HAVE_QUICKTIME"
|
||||
StringPooling="TRUE"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="TRUE"
|
||||
EnableEnhancedInstructionSet="0"
|
||||
DefaultCharIsUnsigned="FALSE"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386"
|
||||
AdditionalDependencies="Gem.lib QTMLClient.lib pd.lib"
|
||||
OutputFile="$(OutDir)/gem_$(ProjectName).dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories=""$(SolutionDir)";"$(ProjectDir)\..\..\build\win-vs2003";"$(ProjectDir)\..\..\..\..\pd\bin";"$(ProgramFiles)\pd\bin";"$(ProgramFiles)\QuickTime SDK\Libraries""
|
||||
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="..\filmQT.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\filmQT.h">
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
21
Gem/plugins/filmQT/win-vs2008/filmQT.sln
Normal file
21
Gem/plugins/filmQT/win-vs2008/filmQT.sln
Normal file
|
@ -0,0 +1,21 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "filmQT", "filmQT.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
|
171
Gem/plugins/filmQT/win-vs2008/filmQT.vcproj
Normal file
171
Gem/plugins/filmQT/win-vs2008/filmQT.vcproj
Normal file
|
@ -0,0 +1,171 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="filmQT"
|
||||
ProjectGUID="{92E57A6D-B582-46F0-B02D-E0F29A594143}"
|
||||
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\QuickTime.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"
|
||||
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="..\filmQT.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\filmQT.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
Loading…
Add table
Add a link
Reference in a new issue