5 * ***** BEGIN GPL LICENSE BLOCK *****
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 * The Original Code is Copyright (C) 2002-2003 by TNCCI Inc.
22 * All rights reserved.
24 * The Original Code is: all of this file.
26 * Contributor(s): none yet.
28 * ***** END GPL LICENSE BLOCK *****
31 /** \file blender/quicktime/quicktime_import.h
37 #ifndef __QUICKTIME_IMPORT_H__
38 #define __QUICKTIME_IMPORT_H__
42 #include "../imbuf/IMB_imbuf.h"
43 #include "../imbuf/IMB_imbuf_types.h"
49 #elif defined(__APPLE__)
50 #define __CARBONSOUND__
51 #import <Carbon/Carbon.h>
52 #include <QuickTime/Movies.h>
60 #endif /* __FIXMATH__ */
64 char *get_valid_qtname(char *name);
67 // quicktime movie import functions
69 int anim_is_quicktime (const char *name);
70 int startquicktime (struct anim *anim);
71 void free_anim_quicktime (struct anim *anim);
72 ImBuf *qtime_fetchibuf (struct anim *anim, int position);
74 // quicktime image import functions
76 int imb_is_a_quicktime (char *name);
77 ImBuf *imb_quicktime_decode(unsigned char *mem, int size, int flags);
79 #endif // __QUICKTIME_IMPORT_H__