Blender  V2.59
Functions | Variables
CMP_alphaOver.c File Reference
#include "../CMP_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 (bNode *node)
void register_node_type_cmp_alphaover (ListBase *lb)

Variables

static bNodeSocketType cmp_node_alphaover_in []
static bNodeSocketType cmp_node_alphaover_out []

Detailed Description

Definition in file CMP_alphaOver.c.


Function Documentation

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

Definition at line 69 of file CMP_alphaOver.c.

References mul(), and QUATCOPY.

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 90 of file CMP_alphaOver.c.

References mul(), QUATCOPY, 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 49 of file CMP_alphaOver.c.

References mul(), and QUATCOPY.

Referenced by node_composit_exec_alphaover().

static void node_alphaover_init ( bNode node) [static]

Definition at line 143 of file CMP_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 ( ListBase lb)

Variable Documentation

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

Definition at line 38 of file CMP_alphaOver.c.

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

Definition at line 44 of file CMP_alphaOver.c.