|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Defines | |
| #define | avg(a, b) ((a+b)/2) |
Functions | |
| static void | do_simple_spillmap_red (bNode *node, float *out, float *in) |
| static void | do_simple_spillmap_red_fac (bNode *node, float *out, float *in, float *fac) |
| static void | do_simple_spillmap_green (bNode *node, float *out, float *in) |
| static void | do_simple_spillmap_green_fac (bNode *node, float *out, float *in, float *fac) |
| static void | do_simple_spillmap_blue (bNode *node, float *out, float *in) |
| static void | do_simple_spillmap_blue_fac (bNode *node, float *out, float *in, float *fac) |
| static void | do_average_spillmap_red (bNode *node, float *out, float *in) |
| static void | do_average_spillmap_red_fac (bNode *node, float *out, float *in, float *fac) |
| static void | do_average_spillmap_green (bNode *node, float *out, float *in) |
| static void | do_average_spillmap_green_fac (bNode *node, float *out, float *in, float *fac) |
| static void | do_average_spillmap_blue (bNode *node, float *out, float *in) |
| static void | do_average_spillmap_blue_fac (bNode *node, float *out, float *in, float *fac) |
| static void | do_apply_spillmap_red (bNode *node, float *out, float *in, float *map) |
| static void | do_apply_spillmap_green (bNode *node, float *out, float *in, float *map) |
| static void | do_apply_spillmap_blue (bNode *node, float *out, float *in, float *map) |
| static void | node_composit_exec_color_spill (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | node_composit_init_color_spill (bNode *node) |
| void | register_node_type_cmp_color_spill (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_color_spill_in [] |
| static bNodeSocketType | cmp_node_color_spill_out [] |
Definition in file CMP_colorSpill.c.
| #define avg | ( | a, | |
| b | |||
| ) | ((a+b)/2) |
Definition at line 38 of file CMP_colorSpill.c.
Referenced by collapse_edgeuvs(), do_average_spillmap_blue(), do_average_spillmap_blue_fac(), do_average_spillmap_green(), do_average_spillmap_green_fac(), do_average_spillmap_red(), do_average_spillmap_red_fac(), do_mesh_smooth_brush(), do_multires_smooth_brush(), KX_TimeLogger::GetAverage(), load_tex(), and tex_strength().
| static void do_apply_spillmap_blue | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | map | ||
| ) | [static] |
Definition at line 174 of file CMP_colorSpill.c.
References bNode::storage, NodeColorspill::uspillb, NodeColorspill::uspillg, and NodeColorspill::uspillr.
Referenced by node_composit_exec_color_spill().
| static void do_apply_spillmap_green | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | map | ||
| ) | [static] |
Definition at line 158 of file CMP_colorSpill.c.
References bNode::storage, NodeColorspill::uspillb, NodeColorspill::uspillg, and NodeColorspill::uspillr.
Referenced by node_composit_exec_color_spill().
| static void do_apply_spillmap_red | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | map | ||
| ) | [static] |
Definition at line 142 of file CMP_colorSpill.c.
References bNode::storage, NodeColorspill::uspillb, NodeColorspill::uspillg, and NodeColorspill::uspillr.
Referenced by node_composit_exec_color_spill().
| static void do_average_spillmap_blue | ( | bNode * | node, |
| float * | out, | ||
| float * | in | ||
| ) | [static] |
Definition at line 127 of file CMP_colorSpill.c.
References avg, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_average_spillmap_blue_fac | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 134 of file CMP_colorSpill.c.
References avg, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_average_spillmap_green | ( | bNode * | node, |
| float * | out, | ||
| float * | in | ||
| ) | [static] |
Definition at line 112 of file CMP_colorSpill.c.
References avg, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_average_spillmap_green_fac | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 119 of file CMP_colorSpill.c.
References avg, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_average_spillmap_red | ( | bNode * | node, |
| float * | out, | ||
| float * | in | ||
| ) | [static] |
Definition at line 97 of file CMP_colorSpill.c.
References avg, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_average_spillmap_red_fac | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 104 of file CMP_colorSpill.c.
References avg, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_simple_spillmap_blue | ( | bNode * | node, |
| float * | out, | ||
| float * | in | ||
| ) | [static] |
Definition at line 82 of file CMP_colorSpill.c.
References NodeColorspill::limchan, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_simple_spillmap_blue_fac | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 89 of file CMP_colorSpill.c.
References NodeColorspill::limchan, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_simple_spillmap_green | ( | bNode * | node, |
| float * | out, | ||
| float * | in | ||
| ) | [static] |
Definition at line 67 of file CMP_colorSpill.c.
References NodeColorspill::limchan, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_simple_spillmap_green_fac | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 74 of file CMP_colorSpill.c.
References NodeColorspill::limchan, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_simple_spillmap_red | ( | bNode * | node, |
| float * | out, | ||
| float * | in | ||
| ) | [static] |
Definition at line 52 of file CMP_colorSpill.c.
References NodeColorspill::limchan, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void do_simple_spillmap_red_fac | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 59 of file CMP_colorSpill.c.
References NodeColorspill::limchan, NodeColorspill::limscale, and bNode::storage.
Referenced by node_composit_exec_color_spill().
| static void node_composit_exec_color_spill | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 190 of file CMP_colorSpill.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit1_pixel_processor(), composit2_pixel_processor(), bNode::custom1, bNode::custom2, bNodeStack::data, do_apply_spillmap_blue(), do_apply_spillmap_green(), do_apply_spillmap_red(), do_average_spillmap_blue(), do_average_spillmap_blue_fac(), do_average_spillmap_green(), do_average_spillmap_green_fac(), do_average_spillmap_red(), do_average_spillmap_red_fac(), do_simple_spillmap_blue(), do_simple_spillmap_blue_fac(), do_simple_spillmap_green(), do_simple_spillmap_green_fac(), do_simple_spillmap_red(), do_simple_spillmap_red_fac(), dupalloc_compbuf(), free_compbuf(), NULL, bNode::storage, typecheck_compbuf(), NodeColorspill::unspill, NodeColorspill::uspillb, NodeColorspill::uspillg, NodeColorspill::uspillr, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_color_spill().
| static void node_composit_init_color_spill | ( | bNode * | node | ) | [static] |
Definition at line 318 of file CMP_colorSpill.c.
References bNode::custom1, bNode::custom2, NodeColorspill::limchan, NodeColorspill::limscale, MEM_callocN(), bNode::storage, and NodeColorspill::unspill.
Referenced by register_node_type_cmp_color_spill().
| void register_node_type_cmp_color_spill | ( | ListBase * | lb | ) |
Definition at line 329 of file CMP_colorSpill.c.
References CMP_NODE_COLOR_SPILL, NODE_CLASS_MATTE, node_composit_exec_color_spill(), node_composit_init_color_spill(), node_copy_standard_storage(), node_free_standard_storage(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_init(), node_type_size(), node_type_storage(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_color_spill_in[] [static] |
{
{SOCK_RGBA,1,"Image", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{SOCK_VALUE, 1, "Fac", 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{-1,0,""}
}
Definition at line 41 of file CMP_colorSpill.c.
bNodeSocketType cmp_node_color_spill_out[] [static] |
{
{SOCK_RGBA,0,"Image", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{-1,0,""}
}
Definition at line 47 of file CMP_colorSpill.c.