|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | do_huecorrect (bNode *node, float *out, float *in) |
| static void | do_huecorrect_fac (bNode *node, float *out, float *in, float *fac) |
| static void | node_composit_exec_huecorrect (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | node_composit_init_huecorrect (bNode *node) |
| void | register_node_type_cmp_huecorrect (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_huecorrect_in [] |
| static bNodeSocketType | cmp_node_huecorrect_out [] |
Definition in file CMP_huecorrect.c.
| static void do_huecorrect | ( | bNode * | node, |
| float * | out, | ||
| float * | in | ||
| ) | [static] |
Definition at line 48 of file CMP_huecorrect.c.
References CLAMP(), curvemapping_evaluateF(), hsv_to_rgb(), rgb_to_hsv(), and bNode::storage.
Referenced by node_composit_exec_huecorrect().
| static void do_huecorrect_fac | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 75 of file CMP_huecorrect.c.
References CLAMP(), curvemapping_evaluateF(), hsv_to_rgb(), rgb_to_hsv(), and bNode::storage.
Referenced by node_composit_exec_huecorrect().
| static void node_composit_exec_huecorrect | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 106 of file CMP_huecorrect.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit1_pixel_processor(), composit2_pixel_processor(), bNodeStack::data, do_huecorrect(), do_huecorrect_fac(), NULL, pass_on_compbuf(), CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_huecorrect().
| static void node_composit_init_huecorrect | ( | bNode * | node | ) | [static] |
Definition at line 140 of file CMP_huecorrect.c.
References CurveMapping::clipr, CurveMapping::cm, CurveMapping::cur, CURVE_PRESET_MID9, curvemap_reset(), CURVEMAP_SLOPE_POSITIVE, curvemapping_add(), CurveMapping::preset, and bNode::storage.
Referenced by register_node_type_cmp_huecorrect().
| void register_node_type_cmp_huecorrect | ( | ListBase * | lb | ) |
Definition at line 156 of file CMP_huecorrect.c.
References CMP_NODE_HUECORRECT, NODE_CLASS_OP_COLOR, node_composit_exec_huecorrect(), node_composit_init_huecorrect(), node_copy_curves(), node_free_curves(), 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_huecorrect_in[] [static] |
{
{ SOCK_VALUE, 1, "Fac", 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ SOCK_RGBA, 1, "Image", 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 37 of file CMP_huecorrect.c.
bNodeSocketType cmp_node_huecorrect_out[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 1.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 43 of file CMP_huecorrect.c.