Quicktime for Cocoa : import part
[blender-staging.git] / source / blender / quicktime / apple / quicktime_import.c
index 1f3071f114c0077c39808f3cacfd6a0f440e98bb..571da92a29257b3ba97c155282d48aeb49a9d899 100644 (file)
 #include "quicktime_import.h"
 #include "quicktime_export.h"
 
-
 #define        RECT_WIDTH(r)   (r.right-r.left)
 #define        RECT_HEIGHT(r)  (r.bottom-r.top)
 
 #define QTIME_DEBUG 0
 
+typedef struct _QuicktimeMovie {
+
+       GWorldPtr       offscreenGWorld;
+       PixMapHandle    offscreenPixMap;
+       Movie           movie;
+       Rect            movieBounds;
+       short           movieRefNum;
+       short           movieResId;
+       int                     movWidth, movHeight;
+
+       
+       int                     framecount;
+       
+       
+       ImBuf           *ibuf;
+       
+
+       TimeValue       *frameIndex;
+       Media           theMedia;
+       Track           theTrack;
+       long            trackIndex;
+       short           depth;
+       
+       int                     have_gw;        //ugly
+} QuicktimeMovie;
+
+
 
 void quicktime_init(void)
 {