2022-02-11 09:07:11 +11:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
* Copyright 2006 Blender Foundation. All rights reserved. */
|
2007-03-24 06:57:29 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup nodes
|
2011-02-27 20:13:22 +00:00
|
|
|
*/
|
|
|
|
|
|
2012-02-17 18:59:41 +00:00
|
|
|
#pragma once
|
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"
|
|
|
|
|
|
2015-08-16 17:32:01 +10:00
|
|
|
#include "BLT_translation.h"
|
2012-06-02 19:58:12 +00:00
|
|
|
|
2017-12-07 15:36:26 +11:00
|
|
|
#include "BKE_colorband.h"
|
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.h"
|
2020-03-19 09:33:03 +01:00
|
|
|
#include "IMB_imbuf_types.h"
|
2007-03-24 06:57:29 +00:00
|
|
|
|
|
|
|
|
#include "RE_pipeline.h"
|
|
|
|
|
|
2011-09-20 04:38:59 +00:00
|
|
|
#include "NOD_composite.h"
|
2021-12-12 22:53:03 -06:00
|
|
|
#include "NOD_socket.h"
|
2021-09-28 17:57:37 -04:00
|
|
|
#include "NOD_socket_declarations.hh"
|
2011-09-20 04:38:59 +00:00
|
|
|
|
2012-08-21 11:53:09 +00:00
|
|
|
#define CMP_SCALE_MAX 12000
|
|
|
|
|
|
2021-04-12 18:43:23 +02:00
|
|
|
bool cmp_node_poll_default(struct bNodeType *ntype,
|
|
|
|
|
struct bNodeTree *ntree,
|
2021-09-28 15:29:16 -04:00
|
|
|
const char **r_disabled_hint);
|
2021-01-05 23:08:15 +11:00
|
|
|
void cmp_node_update_default(struct bNodeTree *ntree, struct bNode *node);
|
2022-01-03 19:32:33 -05:00
|
|
|
void cmp_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass);
|