Blender V2.61 - r43446
|
#include "node_composite_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 (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp)) |
void | register_node_type_cmp_hue_sat (bNodeTreeType *ttype) |
Variables | |
static bNodeSocketTemplate | cmp_node_hue_sat_in [] |
static bNodeSocketTemplate | cmp_node_hue_sat_out [] |
Definition in file node_composite_hueSatVal.c.
static void do_hue_sat_fac | ( | bNode * | node, |
float * | out, | ||
float * | in, | ||
float * | fac | ||
) | [static] |
Definition at line 47 of file node_composite_hueSatVal.c.
References copy_v4_v4(), hsv_to_rgb(), NodeHueSat::hue, 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 71 of file node_composite_hueSatVal.c.
References CB_RGBA, CB_VAL, composit2_pixel_processor(), bNodeStack::data, 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 | ( | bNodeTree * | UNUSEDntree, |
bNode * | node, | ||
bNodeTemplate * | UNUSEDntemp | ||
) | [static] |
Definition at line 96 of file node_composite_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 | ( | bNodeTreeType * | ttype | ) |
Definition at line 105 of file node_composite_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_socket_templates(), node_type_storage(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketTemplate cmp_node_hue_sat_in[] [static] |
{ { SOCK_FLOAT, 1, "Fac", 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR}, { SOCK_RGBA, 1, "Image", 1.0f, 1.0f, 1.0f, 1.0f}, { -1, 0, "" } }
Definition at line 37 of file node_composite_hueSatVal.c.
bNodeSocketTemplate cmp_node_hue_sat_out[] [static] |
{ { SOCK_RGBA, 0, "Image"}, { -1, 0, "" } }
Definition at line 42 of file node_composite_hueSatVal.c.