2011-02-23 10:52:22 +00:00
|
|
|
/*
|
2003-04-28 02:15:46 +00:00
|
|
|
* Quicktime_import.h
|
|
|
|
|
*
|
|
|
|
|
*
|
2008-04-16 22:40:48 +00:00
|
|
|
* ***** BEGIN GPL LICENSE BLOCK *****
|
2003-04-28 02:15:46 +00:00
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
2008-04-16 22:40:48 +00:00
|
|
|
* of the License, or (at your option) any later version.
|
2003-04-28 02:15:46 +00:00
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
2010-02-12 13:34:04 +00:00
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2003-04-28 02:15:46 +00:00
|
|
|
*
|
|
|
|
|
* The Original Code is Copyright (C) 2002-2003 by TNCCI Inc.
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* The Original Code is: all of this file.
|
|
|
|
|
*
|
|
|
|
|
* Contributor(s): none yet.
|
|
|
|
|
*
|
2008-04-16 22:40:48 +00:00
|
|
|
* ***** END GPL LICENSE BLOCK *****
|
2003-04-28 02:15:46 +00:00
|
|
|
*/
|
|
|
|
|
|
2011-02-27 20:01:38 +00:00
|
|
|
/** \file blender/quicktime/quicktime_import.h
|
|
|
|
|
* \ingroup quicktime
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
2003-04-28 02:15:46 +00:00
|
|
|
|
2012-02-17 18:59:41 +00:00
|
|
|
#ifndef __QUICKTIME_IMPORT_H__
|
|
|
|
|
#define __QUICKTIME_IMPORT_H__
|
2003-04-28 02:15:46 +00:00
|
|
|
|
2003-12-07 12:55:18 +00:00
|
|
|
#define __AIFF__
|
|
|
|
|
|
2003-04-28 02:15:46 +00:00
|
|
|
#include "../imbuf/IMB_imbuf.h"
|
|
|
|
|
#include "../imbuf/IMB_imbuf_types.h"
|
|
|
|
|
|
2009-11-18 09:49:42 +00:00
|
|
|
#ifndef USE_QTKIT
|
2003-04-28 02:15:46 +00:00
|
|
|
#ifndef __MOVIES__
|
2003-05-02 13:36:56 +00:00
|
|
|
#ifdef _WIN32
|
2003-04-28 02:15:46 +00:00
|
|
|
#include <Movies.h>
|
2003-05-02 13:36:56 +00:00
|
|
|
#elif defined(__APPLE__)
|
2006-04-05 12:03:43 +00:00
|
|
|
#define __CARBONSOUND__
|
2005-06-08 18:55:49 +00:00
|
|
|
#import <Carbon/Carbon.h>
|
2003-05-02 13:36:56 +00:00
|
|
|
#include <QuickTime/Movies.h>
|
|
|
|
|
#endif
|
2009-11-18 09:49:42 +00:00
|
|
|
#endif //__MOVIES__
|
|
|
|
|
#endif //USE_QTKIT
|
2003-04-28 02:15:46 +00:00
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#ifndef __FIXMATH__
|
|
|
|
|
#include <FixMath.h>
|
|
|
|
|
#endif /* __FIXMATH__ */
|
|
|
|
|
#endif /* _WIN32 _ */
|
|
|
|
|
|
|
|
|
|
|
2004-12-10 01:28:28 +00:00
|
|
|
char *get_valid_qtname(char *name);
|
|
|
|
|
|
2003-04-28 02:15:46 +00:00
|
|
|
|
|
|
|
|
// quicktime movie import functions
|
|
|
|
|
|
2010-11-19 02:14:18 +00:00
|
|
|
int anim_is_quicktime (const char *name);
|
2003-04-28 02:15:46 +00:00
|
|
|
int startquicktime (struct anim *anim);
|
|
|
|
|
void free_anim_quicktime (struct anim *anim);
|
|
|
|
|
ImBuf *qtime_fetchibuf (struct anim *anim, int position);
|
|
|
|
|
|
|
|
|
|
// quicktime image import functions
|
|
|
|
|
|
|
|
|
|
int imb_is_a_quicktime (char *name);
|
|
|
|
|
ImBuf *imb_quicktime_decode(unsigned char *mem, int size, int flags);
|
|
|
|
|
|
2012-02-17 18:59:41 +00:00
|
|
|
#endif // __QUICKTIME_IMPORT_H__
|