Blender V2.61 - r43446
Functions | Variables

node_composite_channelMatte.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Functions

static void do_normalized_rgba_to_ycca2 (bNode *UNUSED(node), float *out, float *in)
static void do_normalized_ycca_to_rgba2 (bNode *UNUSED(node), float *out, float *in)
static void do_channel_matte (bNode *node, float *out, float *in)
static void node_composit_exec_channel_matte (void *data, bNode *node, bNodeStack **in, bNodeStack **out)
static void node_composit_init_channel_matte (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
void register_node_type_cmp_channel_matte (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_channel_matte_in []
static bNodeSocketTemplate cmp_node_channel_matte_out []

Detailed Description

Definition in file node_composite_channelMatte.c.


Function Documentation

static void do_channel_matte ( bNode *  node,
float *  out,
float *  in 
) [static]
static void do_normalized_rgba_to_ycca2 ( bNode *  UNUSEDnode,
float *  out,
float *  in 
) [static]

Definition at line 48 of file node_composite_channelMatte.c.

References BLI_YCC_ITU_BT601, and rgb_to_ycc().

Referenced by node_composit_exec_channel_matte().

static void do_normalized_ycca_to_rgba2 ( bNode *  UNUSEDnode,
float *  out,
float *  in 
) [static]

Definition at line 58 of file node_composite_channelMatte.c.

References BLI_YCC_ITU_BT601, and ycc_to_rgb().

Referenced by node_composit_exec_channel_matte().

static void node_composit_exec_channel_matte ( void *  data,
bNode *  node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_composit_init_channel_matte ( bNodeTree *  UNUSEDntree,
bNode *  node,
bNodeTemplate *  UNUSEDntemp 
) [static]
void register_node_type_cmp_channel_matte ( bNodeTreeType *  ttype)

Variable Documentation

Initial value:
{
    {SOCK_RGBA,1,"Image", 1.0f, 1.0f, 1.0f, 1.0f},
    {-1,0,""}
}

Definition at line 37 of file node_composite_channelMatte.c.

Initial value:
{
    {SOCK_RGBA,0,"Image"},
    {SOCK_FLOAT,0,"Matte"},
    {-1,0,""}
}

Definition at line 42 of file node_composite_channelMatte.c.