2011-02-23 10:52:22 +00:00
|
|
|
/*
|
2007-03-24 06:57:29 +00:00
|
|
|
* ***** 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,
|
2010-02-12 13:34:04 +00:00
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2007-03-24 06:57:29 +00:00
|
|
|
*
|
|
|
|
|
* The Original Code is Copyright (C) 2006 Blender Foundation.
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* The Original Code is: all of this file.
|
|
|
|
|
*
|
|
|
|
|
* Contributor(s): none yet.
|
|
|
|
|
*
|
|
|
|
|
* ***** END GPL LICENSE BLOCK *****
|
|
|
|
|
*/
|
|
|
|
|
|
2011-09-05 21:01:50 +00:00
|
|
|
/** \file blender/nodes/composite/node_composite_util.h
|
2011-02-27 20:13:22 +00:00
|
|
|
* \ingroup nodes
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
2012-02-17 18:59:41 +00:00
|
|
|
#ifndef __NODE_COMPOSITE_UTIL_H__
|
|
|
|
|
#define __NODE_COMPOSITE_UTIL_H__
|
2007-03-24 06:57:29 +00:00
|
|
|
|
|
|
|
|
#include "DNA_ID.h"
|
2011-11-07 12:56:05 +00:00
|
|
|
#include "DNA_movieclip_types.h"
|
2007-03-24 06:57:29 +00:00
|
|
|
#include "DNA_node_types.h"
|
|
|
|
|
|
2011-01-07 18:36:47 +00:00
|
|
|
#include "BLI_math.h"
|
|
|
|
|
#include "BLI_blenlib.h"
|
|
|
|
|
|
2015-08-16 17:32:01 +10:00
|
|
|
#include "BLT_translation.h"
|
2012-06-02 19:58:12 +00:00
|
|
|
|
2007-03-24 06:57:29 +00:00
|
|
|
#include "BKE_colortools.h"
|
|
|
|
|
#include "BKE_image.h"
|
|
|
|
|
#include "BKE_texture.h"
|
2011-11-07 12:56:05 +00:00
|
|
|
#include "BKE_tracking.h"
|
2011-01-07 19:18:31 +00:00
|
|
|
|
2007-04-04 13:58:12 +00:00
|
|
|
#include "node_util.h"
|
2007-03-25 16:05:46 +00:00
|
|
|
|
2007-03-24 06:57:29 +00:00
|
|
|
#include "IMB_imbuf_types.h"
|
|
|
|
|
#include "IMB_imbuf.h"
|
|
|
|
|
|
|
|
|
|
#include "RE_pipeline.h"
|
|
|
|
|
|
2011-09-20 04:38:59 +00:00
|
|
|
/* only for forward declarations */
|
|
|
|
|
#include "NOD_composite.h"
|
|
|
|
|
|
2012-08-21 11:53:09 +00:00
|
|
|
#define CMP_SCALE_MAX 12000
|
|
|
|
|
|
2013-03-18 16:34:57 +00:00
|
|
|
int cmp_node_poll_default(struct bNodeType *ntype, struct bNodeTree *ntree);
|
|
|
|
|
void cmp_node_update_default(struct bNodeTree *UNUSED(ntree), struct bNode *node);
|
|
|
|
|
void cmp_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass, short flag);
|
|
|
|
|
|
2013-01-14 15:53:17 +00:00
|
|
|
#endif /* __NODE_COMPOSITE_UTIL_H__ */
|
2013-03-18 16:34:57 +00:00
|
|
|
|