|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | do_hue_sat_fac (bNode *node, float *out, float *in, float *fac) |
| static void | node_composit_exec_hue_sat (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | node_composit_init_hue_sat (bNode *node) |
| void | register_node_type_cmp_hue_sat (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_hue_sat_in [] |
| static bNodeSocketType | cmp_node_hue_sat_out [] |
Definition in file CMP_hueSatVal.c.
| static void do_hue_sat_fac | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 49 of file CMP_hueSatVal.c.
References hsv_to_rgb(), NodeHueSat::hue, QUATCOPY, rgb_to_hsv(), NodeHueSat::sat, bNode::storage, and NodeHueSat::val.
Referenced by node_composit_exec_hue_sat().
| static void node_composit_exec_hue_sat | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 73 of file CMP_hueSatVal.c.
References CB_RGBA, CB_VAL, composit2_pixel_processor(), bNodeStack::data, do_hue_sat_fac(), dupalloc_compbuf(), free_compbuf(), NULL, and typecheck_compbuf().
Referenced by register_node_type_cmp_hue_sat().
| static void node_composit_init_hue_sat | ( | bNode * | node | ) | [static] |
Definition at line 98 of file CMP_hueSatVal.c.
References NodeHueSat::hue, MEM_callocN(), NodeHueSat::sat, bNode::storage, and NodeHueSat::val.
Referenced by register_node_type_cmp_hue_sat().
| void register_node_type_cmp_hue_sat | ( | ListBase * | lb | ) |
Definition at line 107 of file CMP_hueSatVal.c.
References CMP_NODE_HUE_SAT, NODE_CLASS_OP_COLOR, node_composit_exec_hue_sat(), node_composit_init_hue_sat(), 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_hue_sat_in[] [static] |
{
{ SOCK_VALUE, 1, "Fac", 1.0f, 0.0f, 0.0f, 0.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 39 of file CMP_hueSatVal.c.
bNodeSocketType cmp_node_hue_sat_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_hueSatVal.c.