|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | do_invert (bNode *node, float *out, float *in) |
| static void | do_invert_fac (bNode *node, float *out, float *in, float *fac) |
| static void | node_composit_exec_invert (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | node_composit_init_invert (bNode *node) |
| void | register_node_type_cmp_invert (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_invert_in [] |
| static bNodeSocketType | cmp_node_invert_out [] |
Definition in file CMP_invert.c.
| static void do_invert | ( | bNode * | node, |
| float * | out, | ||
| float * | in | ||
| ) | [static] |
Definition at line 48 of file CMP_invert.c.
References CMP_CHAN_A, CMP_CHAN_RGB, bNode::custom1, and VECCOPY.
Referenced by do_invert_fac(), and node_composit_exec_invert().
| static void do_invert_fac | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 63 of file CMP_invert.c.
References CMP_CHAN_A, CMP_CHAN_RGB, bNode::custom1, do_invert(), and QUATCOPY.
Referenced by node_composit_exec_invert().
| static void node_composit_exec_invert | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 83 of file CMP_invert.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit1_pixel_processor(), composit2_pixel_processor(), bNode::custom1, bNodeStack::data, do_invert(), do_invert_fac(), NULL, pass_on_compbuf(), bNodeStack::vec, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_invert().
| static void node_composit_init_invert | ( | bNode * | node | ) | [static] |
Definition at line 117 of file CMP_invert.c.
References CMP_CHAN_RGB, and bNode::custom1.
Referenced by register_node_type_cmp_invert().
| void register_node_type_cmp_invert | ( | ListBase * | lb | ) |
Definition at line 123 of file CMP_invert.c.
References CMP_NODE_INVERT, NODE_CLASS_OP_COLOR, node_composit_exec_invert(), node_composit_init_invert(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_init(), node_type_size(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_invert_in[] [static] |
{
{ SOCK_VALUE, 1, "Fac", 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{ SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 37 of file CMP_invert.c.
bNodeSocketType cmp_node_invert_out[] [static] |
{
{ SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 43 of file CMP_invert.c.