This means that if you have WITH_BF_QUICKTIME or WITH_CODEC_QUICKTIME enabled, it will always use QTKit. The old backend was only used on 32 bit OS X builds, now 32 and 64 bit builds will give consistent input/output. On Windows or Linux quicktime isn't being used.
66 lines
1.8 KiB
C++
66 lines
1.8 KiB
C++
/*
|
|
* Quicktime_import.h
|
|
*
|
|
*
|
|
* ***** BEGIN GPL LICENSE BLOCK *****
|
|
*
|
|
* 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
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* 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,
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*
|
|
* 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.
|
|
*
|
|
* ***** END GPL LICENSE BLOCK *****
|
|
*/
|
|
|
|
/** \file blender/quicktime/quicktime_import.h
|
|
* \ingroup quicktime
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __QUICKTIME_IMPORT_H__
|
|
#define __QUICKTIME_IMPORT_H__
|
|
|
|
#define __AIFF__
|
|
|
|
#include "../imbuf/IMB_imbuf.h"
|
|
#include "../imbuf/IMB_imbuf_types.h"
|
|
|
|
#ifdef _WIN32
|
|
# ifndef __FIXMATH__
|
|
# include <FixMath.h>
|
|
# endif /* __FIXMATH__ */
|
|
#endif /* _WIN32 _ */
|
|
|
|
char *get_valid_qtname(const char *name);
|
|
|
|
/* quicktime movie import functions */
|
|
|
|
int anim_is_quicktime(const char *name);
|
|
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);
|
|
|
|
#endif /* __QUICKTIME_IMPORT_H__ */
|