|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | do_filter_edge (CompBuf *out, CompBuf *in, float *filter, float fac) |
| static void | do_filter3 (CompBuf *out, CompBuf *in, float *filter, float fac) |
| static void | node_composit_exec_filter (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_cmp_filter (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_filter_in [] |
| static bNodeSocketType | cmp_node_filter_out [] |
Definition in file CMP_filter.c.
Definition at line 97 of file CMP_filter.c.
References QUATCOPY, CompBuf::rect, CompBuf::type, VECCOPY, CompBuf::x, and CompBuf::y.
Referenced by node_composit_exec_filter().
Definition at line 48 of file CMP_filter.c.
References CB_RGBA, CB_VAL, QUATCOPY, CompBuf::rect, sqrt(), CompBuf::type, CompBuf::x, and CompBuf::y.
Referenced by node_composit_exec_filter().
| static void node_composit_exec_filter | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 170 of file CMP_filter.c.
References alloc_compbuf(), CMP_FILT_KIRSCH, CMP_FILT_LAPLACE, CMP_FILT_PREWITT, CMP_FILT_SHADOW, CMP_FILT_SHARP, CMP_FILT_SOBEL, CMP_FILT_SOFT, bNode::custom1, bNodeStack::data, do_filter3(), do_filter_edge(), generate_preview(), CompBuf::type, CompBuf::x, CompBuf::xof, CompBuf::y, and CompBuf::yof.
Referenced by register_node_type_cmp_filter().
| void register_node_type_cmp_filter | ( | ListBase * | lb | ) |
Definition at line 225 of file CMP_filter.c.
References CMP_NODE_FILTER, NODE_CLASS_OP_FILTER, node_composit_exec_filter(), node_filter_label(), NODE_OPTIONS, NODE_PREVIEW, node_type_base(), node_type_exec(), node_type_label(), node_type_size(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_filter_in[] [static] |
{
{ SOCK_VALUE, 1, "Fac", 1.0f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{ SOCK_RGBA, 1, "Image", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 38 of file CMP_filter.c.
bNodeSocketType cmp_node_filter_out[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 43 of file CMP_filter.c.