lms-video/Gem/plugins/filmTEST/filmTEST.h
Santi Noreña e85d191b46 - 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
2013-02-04 18:00:17 +01:00

69 lines
1.8 KiB
C++

/*-----------------------------------------------------------------
GEM - Graphics Environment for Multimedia
Load an digital video (like AVI, Mpeg, Quicktime) into a pix block (Linux)
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__FILMTEST_FILMTEST_H_
#define _INCLUDE_GEMPLUGIN__FILMTEST_FILMTEST_H_
#include "plugins/film.h"
#include "Gem/Image.h"
/*-----------------------------------------------------------------
-------------------------------------------------------------------
CLASS
filmTEST
Loads in a film
KEYWORDS
pix
DESCRIPTION
-----------------------------------------------------------------*/
namespace gem { namespace plugins {
class GEM_EXPORT filmTEST : public film {
public:
//////////
// Constructor
filmTEST(void);
//////////
// open a movie up
virtual bool open(const std::string filename, const gem::Properties&);
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);
virtual bool enumProperties(gem::Properties&readprops, gem::Properties&writeprops);
virtual void getProperties(gem::Properties&props);
virtual void setProperties(gem::Properties&props);
virtual bool isThreadable(void);
//-----------------------------------
pixBlock m_image;
double m_fps;
unsigned int m_numFrames;
};};};
#endif // for header file