|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | node_composit_exec_crop (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | node_composit_init_crop (bNode *node) |
| void | register_node_type_cmp_crop (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_crop_in [] |
| static bNodeSocketType | cmp_node_crop_out [] |
Definition in file CMP_crop.c.
| static void node_composit_exec_crop | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 48 of file CMP_crop.c.
References alloc_compbuf(), bNode::custom1, bNode::custom2, bNodeStack::data, NodeTwoXYs::fac_x1, NodeTwoXYs::fac_x2, NodeTwoXYs::fac_y1, NodeTwoXYs::fac_y2, get_cropped_compbuf(), MAX2, MIN2, CompBuf::rect, bNode::storage, CompBuf::type, CompBuf::x, NodeTwoXYs::x1, NodeTwoXYs::x2, rcti::xmax, rcti::xmin, CompBuf::y, NodeTwoXYs::y1, NodeTwoXYs::y2, rcti::ymax, and rcti::ymin.
Referenced by register_node_type_cmp_crop().
| static void node_composit_init_crop | ( | bNode * | node | ) | [static] |
Definition at line 106 of file CMP_crop.c.
References MEM_callocN(), bNode::storage, NodeTwoXYs::x1, NodeTwoXYs::x2, NodeTwoXYs::y1, and NodeTwoXYs::y2.
Referenced by register_node_type_cmp_crop().
| void register_node_type_cmp_crop | ( | ListBase * | lb | ) |
Definition at line 116 of file CMP_crop.c.
References CMP_NODE_CROP, NODE_CLASS_DISTORT, node_composit_exec_crop(), node_composit_init_crop(), 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_crop_in[] [static] |
{
{ 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_crop.c.
bNodeSocketType cmp_node_crop_out[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 43 of file CMP_crop.c.