Blender V2.61 - r43446
|
#include "node_composite_util.h"
Go to the source code of this file.
Functions | |
static void | node_composit_exec_output_file (void *data, bNode *node, bNodeStack **in, bNodeStack **UNUSED(out)) |
static void | node_composit_init_output_file (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp)) |
void | register_node_type_cmp_output_file (bNodeTreeType *ttype) |
Variables | |
static bNodeSocketTemplate | cmp_node_output_file_in [] |
Definition in file node_composite_outputFile.c.
static void node_composit_exec_output_file | ( | void * | data, |
bNode * | node, | ||
bNodeStack ** | in, | ||
bNodeStack ** | UNUSEDout | ||
) | [static] |
Definition at line 42 of file node_composite_outputFile.c.
References BKE_makepicstring(), BKE_write_ibuf(), CB_RGBA, CB_VAL, RenderData::cfra, RenderData::color_mgt_flag, bNodeStack::data, data, ImBuf::dither, RenderData::dither_intensity, NodeImageFile::efra, ImageFormatData::flag, free_compbuf(), G, generate_preview(), IB_PROFILE_LINEAR_RGB, NodeImageFile::im_format, IMB_allocImBuf(), IMB_freeImBuf(), ImageFormatData::imtype, Main::name, NodeImageFile::name, ImBuf::profile, R_COLOR_MANAGEMENT, R_EXTENSION, R_IMF_FLAG_ZBUF, CompBuf::rect, ImBuf::rect_float, RenderData::scemode, NodeImageFile::sfra, bNode::storage, TRUE, CompBuf::type, typecheck_compbuf(), CompBuf::x, CompBuf::y, and ImBuf::zbuf_float.
Referenced by register_node_type_cmp_output_file().
static void node_composit_init_output_file | ( | bNodeTree * | UNUSEDntree, |
bNode * | node, | ||
bNodeTemplate * | UNUSEDntemp | ||
) | [static] |
Definition at line 95 of file node_composite_outputFile.c.
References BKE_imtype_is_movie(), BLI_strncpy(), RenderData::efra, bNode::id, RenderData::im_format, ImageFormatData::imtype, MEM_callocN(), RenderData::pic, Scene::r, R_IMF_IMTYPE_OPENEXR, RenderData::sfra, and bNode::storage.
Referenced by register_node_type_cmp_output_file().
void register_node_type_cmp_output_file | ( | bNodeTreeType * | ttype | ) |
Definition at line 112 of file node_composite_outputFile.c.
References CMP_NODE_OUTPUT_FILE, NODE_CLASS_OUTPUT, node_composit_exec_output_file(), node_composit_init_output_file(), node_copy_standard_storage(), node_free_standard_storage(), NODE_OPTIONS, NODE_PREVIEW, node_type_base(), node_type_exec(), node_type_init(), node_type_size(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), and NULL.
Referenced by registerCompositNodes().
bNodeSocketTemplate cmp_node_output_file_in[] [static] |
{ { SOCK_RGBA, 1, "Image", 0.0f, 0.0f, 0.0f, 1.0f}, { SOCK_FLOAT, 1, "Z", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, PROP_NONE}, { -1, 0, "" } }
Definition at line 36 of file node_composite_outputFile.c.