|
Blender
V2.59
|
#include "../CMP_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 (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_gamma_in [] |
| static bNodeSocketType | cmp_node_gamma_out [] |
Definition in file CMP_gamma.c.
| static void do_gamma | ( | bNode * | UNUSEDnode, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 50 of file CMP_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 59 of file CMP_gamma.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit2_pixel_processor(), bNodeStack::data, do_gamma(), NULL, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_gamma().
| void register_node_type_cmp_gamma | ( | ListBase * | lb | ) |
Definition at line 80 of file CMP_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(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_gamma_in[] [static] |
{
{ SOCK_RGBA, 1, "Image", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{ SOCK_VALUE, 1, "Gamma", 1.0f, 0.0f, 0.0f, 0.0f, 0.001f, 10.0f},
{ -1, 0, "" }
}
Definition at line 40 of file CMP_gamma.c.
bNodeSocketType cmp_node_gamma_out[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 45 of file CMP_gamma.c.