MCPcopy Create free account
hub / github.com/cinder/Cinder / startQuickTime

Function startQuickTime

src/cinder/qtime/QuickTimeImplLegacy.cpp:81–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79::Movie openMovieFromPath( const fs::path &path );
80
81void startQuickTime()
82{
83 static bool initialized = false;
84
85 if( initialized )
86 return;
87
88#if defined( CINDER_MSW )
89 ::InitializeQTML( 0L );
90#endif
91 ::EnterMovies();
92 initialized = true;
93
94 // create a default GWorld which we will set in order to prevent NewMovieFromDataRef() from balking
95 ::Rect boundsRect;
96 boundsRect.left = boundsRect.top = 0;
97 boundsRect.right = boundsRect.bottom = 4;
98 ::QTNewGWorld( &sDefaultGWorld, k24BGRPixelFormat, &boundsRect, NULL, NULL, 0 );
99}
100
101float MovieBase::getPixelAspectRatio() const
102{

Callers 7

ObjMethod · 0.85
initFromLoaderMethod · 0.85
initFromPathMethod · 0.85
initFromMemoryMethod · 0.85
initFromDataSourceMethod · 0.85
ObjMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected