Blender V2.61 - r43446
Functions | Variables

node_composite_alphaOver.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Functions

static void do_alphaover_premul (bNode *UNUSED(node), float *out, float *src, float *over, float *fac)
static void do_alphaover_key (bNode *UNUSED(node), float *out, float *src, float *over, float *fac)
static void do_alphaover_mixed (bNode *node, float *out, float *src, float *over, float *fac)
static void node_composit_exec_alphaover (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static void node_alphaover_init (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
void register_node_type_cmp_alphaover (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_alphaover_in []
static bNodeSocketTemplate cmp_node_alphaover_out []

Detailed Description

Definition in file node_composite_alphaOver.c.


Function Documentation

static void do_alphaover_key ( bNode UNUSEDnode,
float *  out,
float *  src,
float *  over,
float *  fac 
) [static]

Definition at line 68 of file node_composite_alphaOver.c.

References copy_v4_v4(), and mul().

Referenced by node_composit_exec_alphaover().

static void do_alphaover_mixed ( bNode node,
float *  out,
float *  src,
float *  over,
float *  fac 
) [static]

Definition at line 89 of file node_composite_alphaOver.c.

References copy_v4_v4(), mul(), bNode::storage, and NodeTwoFloats::x.

Referenced by node_composit_exec_alphaover().

static void do_alphaover_premul ( bNode UNUSEDnode,
float *  out,
float *  src,
float *  over,
float *  fac 
) [static]

Definition at line 47 of file node_composite_alphaOver.c.

References copy_v4_v4(), and mul().

Referenced by node_composit_exec_alphaover().

static void node_alphaover_init ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]

Definition at line 142 of file node_composite_alphaOver.c.

References MEM_callocN(), and bNode::storage.

Referenced by register_node_type_cmp_alphaover().

static void node_composit_exec_alphaover ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
void register_node_type_cmp_alphaover ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_FLOAT, 1, "Fac",           1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, PROP_FACTOR},
    {   SOCK_RGBA, 1, "Image",          1.0f, 1.0f, 1.0f, 1.0f},
    {   SOCK_RGBA, 1, "Image",          1.0f, 1.0f, 1.0f, 1.0f},
    {   -1, 0, ""   }
}

Definition at line 36 of file node_composite_alphaOver.c.

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

Definition at line 42 of file node_composite_alphaOver.c.