~ubuntu-branches/ubuntu/trusty/psychtoolbox-3/trusty-proposed

« back to all changes in this revision

Viewing changes to PsychSourceGL/Source/Common/Screen/PsychMovieSupportQuickTime.h

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-11-19 23:34:50 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20131119233450-f7nf92vb8qavjmk8
Tags: 3.0.11.20131017.dfsg1-3
Upload to unsable since fresh glew has arrived to sid!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
        PsychToolbox3/Source/Common/Screen/PsychMovieSupportQuickTime.h
3
 
        
4
 
        PLATFORMS:      This is the version shared between OS/X and Windows.  
5
 
                                
6
 
        AUTHORS:
7
 
 
8
 
        mario.kleiner@tuebingen.mpg.de   mk   Mario Kleiner
9
 
 
10
 
        HISTORY:
11
 
 
12
 
        10/31/05    mk      Wrote it.
13
 
        11/30/10    mk      Moved to Common/Screen, renamed functions to PsychQTxxx
14
 
 
15
 
        DESCRIPTION:
16
 
        
17
 
        Psychtoolbox functions for dealing with movies, using Apple's Quicktime
18
 
        SDK/Engine in the classic V6.x/7.x version.
19
 
 
20
 
*/
21
 
 
22
 
//include once
23
 
#ifndef PSYCH_IS_INCLUDED_PsychMovieSupportQuickTime
24
 
#define PSYCH_IS_INCLUDED_PsychMovieSupportQuickTime
25
 
 
26
 
#include "Screen.h"
27
 
 
28
 
#if PSYCH_SYSTEM == PSYCH_WINDOWS
29
 
#include <Movies.h>
30
 
#else
31
 
#include <Quicktime/Movies.h>
32
 
#endif
33
 
 
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);
46
 
 
47
 
//end include once
48
 
#endif