2
PsychToolbox3/Source/Common/Screen/PsychMovieSupportQuickTime.h
4
PLATFORMS: This is the version shared between OS/X and Windows.
8
mario.kleiner@tuebingen.mpg.de mk Mario Kleiner
13
11/30/10 mk Moved to Common/Screen, renamed functions to PsychQTxxx
17
Psychtoolbox functions for dealing with movies, using Apple's Quicktime
18
SDK/Engine in the classic V6.x/7.x version.
23
#ifndef PSYCH_IS_INCLUDED_PsychMovieSupportQuickTime
24
#define PSYCH_IS_INCLUDED_PsychMovieSupportQuickTime
28
#if PSYCH_SYSTEM == PSYCH_WINDOWS
31
#include <Quicktime/Movies.h>
34
void PsychQTMovieInit(void);
35
int PsychQTGetMovieCount(void);
36
void PsychQTCreateMovie(PsychWindowRecordType *win, const char* moviename, double preloadSecs, int* moviehandle, int specialFlags1);
37
void PsychQTGetMovieInfos(int moviehandle, int* width, int* height, int* framecount, double* durationsecs, double* framerate, int* nrdroppedframes);
38
void PsychQTDeleteMovie(int moviehandle);
39
void PsychQTDeleteAllMovies(void);
40
void PsychQTFreeMovieTexture(PsychWindowRecordType *win);
41
int PsychQTGetTextureFromMovie(PsychWindowRecordType *win, int moviehandle, int checkForImage, double timeindex, PsychWindowRecordType *out_texture, double *presentation_timestamp);
42
int PsychQTPlaybackRate(int moviehandle, double playbackrate, int loop, double soundvolume);
43
void PsychQTExitMovies(void);
44
double PsychQTGetMovieTimeIndex(int moviehandle);
45
double PsychQTSetMovieTimeIndex(int moviehandle, double timeindex, psych_bool indexIsFrames);