![]() |
Blender V2.61 - r43446
|
#include "node_composite_util.h"Go to the source code of this file.
Functions | |
| static void | do_gamma (bNode *UNUSED(node), float *out, float *in, float *fac) |
| static void | node_composit_exec_gamma (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_cmp_gamma (bNodeTreeType *ttype) |
Variables | |
| static bNodeSocketTemplate | cmp_node_gamma_in [] |
| static bNodeSocketTemplate | cmp_node_gamma_out [] |
Definition in file node_composite_gamma.c.
| static void do_gamma | ( | bNode * | UNUSEDnode, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 48 of file node_composite_gamma.c.
Referenced by node_composit_exec_gamma().
| static void node_composit_exec_gamma | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 57 of file node_composite_gamma.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit2_pixel_processor(), bNodeStack::data, data, do_gamma(), NULL, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_gamma().
| void register_node_type_cmp_gamma | ( | bNodeTreeType * | ttype | ) |
Definition at line 78 of file node_composite_gamma.c.
References CMP_NODE_GAMMA, NODE_CLASS_OP_COLOR, node_composit_exec_gamma(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_size(), node_type_socket_templates(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketTemplate cmp_node_gamma_in[] [static] |
{
{ SOCK_RGBA, 1, "Image", 1.0f, 1.0f, 1.0f, 1.0f},
{ SOCK_FLOAT, 1, "Gamma", 1.0f, 0.0f, 0.0f, 0.0f, 0.001f, 10.0f, PROP_UNSIGNED},
{ -1, 0, "" }
}
Definition at line 38 of file node_composite_gamma.c.
bNodeSocketTemplate cmp_node_gamma_out[] [static] |
{
{ SOCK_RGBA, 0, "Image"},
{ -1, 0, "" }
}
Definition at line 43 of file node_composite_gamma.c.