"Attached is the new source for the Quicktime-Plugin which adds the ability to write pictures in various formats (tested: jpg, png, tif, psd) (24bit + 32bit only, 8bit not tested) There are changes in the attached osgDB::Registry, which allows osg to find resources/plugins in the right folders under OS X" Note, from Robert Osfield, changed the FilePathList* filepath + delete to a FilePathList filepath to avoid possible memory leaks when expections are thrown/ make it more maintainable. Also didn't merge the automatic playing of movies.
20 lines
381 B
C
20 lines
381 B
C
#ifndef __QTTEXTURE_H__
|
|
#define __QTTEXTURE_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
unsigned char* LoadBufferFromDarwinPath ( const char *fname, long *origWidth,
|
|
long *origHeight, long *origDepth,
|
|
long *buffWidth, long *buffHeight, long *buffDepth);
|
|
|
|
char* QTfailureMessage(void);
|
|
FSSpec *darwinPathToFSSpec (char *fname );
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|