|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Defines | |
| #define | CMP_SCALE_MAX 12000 |
Functions | |
| static void | node_composit_exec_scale (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_cmp_scale (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_scale_in [] |
| static bNodeSocketType | cmp_node_scale_out [] |
Definition in file CMP_scale.c.
| #define CMP_SCALE_MAX 12000 |
Definition at line 39 of file CMP_scale.c.
Referenced by node_composit_exec_scale().
| static void node_composit_exec_scale | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 54 of file CMP_scale.c.
References alloc_compbuf(), CB_RGBA, CMP_SCALE_MAX, CMP_SCALE_RELATIVE, CMP_SCALE_RENDERPERCENT, CMP_SCALE_SCENEPERCENT, bNode::custom1, bNodeStack::data, dupalloc_compbuf(), free_compbuf(), IB_rectfloat, IMB_allocImBuf(), IMB_freeImBuf(), IMB_scaleImBuf(), ImBuf::mall, CompBuf::malloc, MAX2, MIN2, NULL, pass_on_compbuf(), CompBuf::rect, ImBuf::rect_float, RenderData::size, typecheck_compbuf(), CompBuf::x, CompBuf::xof, RenderData::xsch, CompBuf::y, CompBuf::yof, and RenderData::ysch.
Referenced by register_node_type_cmp_scale().
| void register_node_type_cmp_scale | ( | ListBase * | lb | ) |
Definition at line 117 of file CMP_scale.c.
References CMP_NODE_SCALE, NODE_CLASS_DISTORT, node_composit_exec_scale(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_size(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_scale_in[] [static] |
{
{ SOCK_RGBA, 1, "Image", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{ SOCK_VALUE, 1, "X", 1.0f, 0.0f, 0.0f, 0.0f, 0.0001f, CMP_SCALE_MAX},
{ SOCK_VALUE, 1, "Y", 1.0f, 0.0f, 0.0f, 0.0f, 0.0001f, CMP_SCALE_MAX},
{ -1, 0, "" }
}
Definition at line 41 of file CMP_scale.c.
bNodeSocketType cmp_node_scale_out[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 47 of file CMP_scale.c.