|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | do_alphaover_premul (bNode *UNUSED(node), float *out, float *src, float *over, float *fac) |
| static void | do_alphaover_key (bNode *UNUSED(node), float *out, float *src, float *over, float *fac) |
| static void | do_alphaover_mixed (bNode *node, float *out, float *src, float *over, float *fac) |
| static void | node_composit_exec_alphaover (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | node_alphaover_init (bNode *node) |
| void | register_node_type_cmp_alphaover (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_alphaover_in [] |
| static bNodeSocketType | cmp_node_alphaover_out [] |
Definition in file CMP_alphaOver.c.
| static void do_alphaover_key | ( | bNode * | UNUSEDnode, |
| float * | out, | ||
| float * | src, | ||
| float * | over, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 69 of file CMP_alphaOver.c.
References mul(), and QUATCOPY.
Referenced by node_composit_exec_alphaover().
| static void do_alphaover_mixed | ( | bNode * | node, |
| float * | out, | ||
| float * | src, | ||
| float * | over, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 90 of file CMP_alphaOver.c.
References mul(), QUATCOPY, bNode::storage, and NodeTwoFloats::x.
Referenced by node_composit_exec_alphaover().
| static void do_alphaover_premul | ( | bNode * | UNUSEDnode, |
| float * | out, | ||
| float * | src, | ||
| float * | over, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 49 of file CMP_alphaOver.c.
References mul(), and QUATCOPY.
Referenced by node_composit_exec_alphaover().
| static void node_alphaover_init | ( | bNode * | node | ) | [static] |
Definition at line 143 of file CMP_alphaOver.c.
References MEM_callocN(), and bNode::storage.
Referenced by register_node_type_cmp_alphaover().
| static void node_composit_exec_alphaover | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 115 of file CMP_alphaOver.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit3_pixel_processor(), bNode::custom1, bNodeStack::data, do_alphaover_key(), do_alphaover_mixed(), do_alphaover_premul(), NULL, bNode::storage, CompBuf::x, NodeTwoFloats::x, and CompBuf::y.
Referenced by register_node_type_cmp_alphaover().
| void register_node_type_cmp_alphaover | ( | ListBase * | lb | ) |
Definition at line 148 of file CMP_alphaOver.c.
References CMP_NODE_ALPHAOVER, node_alphaover_init(), NODE_CLASS_OP_COLOR, node_composit_exec_alphaover(), 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_alphaover_in[] [static] |
{
{ SOCK_VALUE, 1, "Fac", 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f},
{ SOCK_RGBA, 1, "Image", 0.8f, 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_alphaOver.c.
bNodeSocketType cmp_node_alphaover_out[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 44 of file CMP_alphaOver.c.