|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Definition in file CMP_curves.c.
| static void do_curves | ( | bNode * | node, |
| float * | out, | ||
| float * | in | ||
| ) | [static] |
Definition at line 137 of file CMP_curves.c.
References curvemapping_evaluate_premulRGBF(), and bNode::storage.
Referenced by node_composit_exec_curve_rgb().
| static void do_curves_fac | ( | bNode * | node, |
| float * | out, | ||
| float * | in, | ||
| float * | fac | ||
| ) | [static] |
Definition at line 143 of file CMP_curves.c.
References curvemapping_evaluate_premulRGBF(), bNode::storage, and VECCOPY.
Referenced by node_composit_exec_curve_rgb().
| static void node_composit_exec_curve_rgb | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 161 of file CMP_curves.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit1_pixel_processor(), composit2_pixel_processor(), curvemapping_evaluateRGBF(), curvemapping_set_black_white(), bNodeStack::data, do_curves(), do_curves_fac(), NULL, bNode::storage, bNodeStack::vec, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_curve_rgb().
| static void node_composit_exec_curve_vec | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 95 of file CMP_curves.c.
References curvemapping_evaluate_premulRGBF(), bNode::storage, and bNodeStack::vec.
Referenced by register_node_type_cmp_curve_vec().
| static void node_composit_exec_curves_time | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | UNUSEDin, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 46 of file CMP_curves.c.
References RenderData::cfra, CLAMPIS, curvemapping_evaluateF(), bNode::custom1, bNode::custom2, bNode::storage, and bNodeStack::vec.
Referenced by register_node_type_cmp_curve_time().
| static void node_composit_init_curve_rgb | ( | bNode * | node | ) | [static] |
Definition at line 190 of file CMP_curves.c.
References curvemapping_add(), and bNode::storage.
Referenced by register_node_type_cmp_curve_rgb().
| static void node_composit_init_curve_vec | ( | bNode * | node | ) | [static] |
Definition at line 103 of file CMP_curves.c.
References curvemapping_add(), and bNode::storage.
Referenced by register_node_type_cmp_curve_vec().
| static void node_composit_init_curves_time | ( | bNode * | node | ) | [static] |
Definition at line 60 of file CMP_curves.c.
References curvemapping_add(), bNode::custom1, bNode::custom2, and bNode::storage.
Referenced by register_node_type_cmp_curve_time().
| void register_node_type_cmp_curve_rgb | ( | ListBase * | lb | ) |
Definition at line 195 of file CMP_curves.c.
References CMP_NODE_CURVE_RGB, NODE_CLASS_OP_COLOR, node_composit_exec_curve_rgb(), node_composit_init_curve_rgb(), 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().
| void register_node_type_cmp_curve_time | ( | ListBase * | lb | ) |
Definition at line 67 of file CMP_curves.c.
References CMP_NODE_TIME, NODE_CLASS_INPUT, node_composit_exec_curves_time(), node_composit_init_curves_time(), node_copy_curves(), node_free_curves(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_init(), node_type_size(), node_type_storage(), nodeRegisterType(), and NULL.
Referenced by registerCompositNodes().
| void register_node_type_cmp_curve_vec | ( | ListBase * | lb | ) |
Definition at line 108 of file CMP_curves.c.
References CMP_NODE_CURVE_VEC, NODE_CLASS_OP_VECTOR, node_composit_exec_curve_vec(), node_composit_init_curve_vec(), 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_curve_rgb_in[] [static] |
{
{ SOCK_VALUE, 1, "Fac", 1.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
{ SOCK_RGBA, 1, "Image", 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
{ SOCK_RGBA, 1, "Black Level", 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
{ SOCK_RGBA, 1, "White Level", 1.0f, 1.0f, 1.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 124 of file CMP_curves.c.
bNodeSocketType cmp_node_curve_rgb_out[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 1.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 132 of file CMP_curves.c.
bNodeSocketType cmp_node_curve_vec_in[] [static] |
{
{ SOCK_VECTOR, 1, "Vector", 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 85 of file CMP_curves.c.
bNodeSocketType cmp_node_curve_vec_out[] [static] |
{
{ SOCK_VECTOR, 0, "Vector", 0.0f, 0.0f, 1.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 90 of file CMP_curves.c.
bNodeSocketType cmp_node_time_out[] [static] |
{
{ SOCK_VALUE, 0, "Fac", 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 41 of file CMP_curves.c.