Blender  V2.59
Functions | Variables
CMP_gamma.c File Reference
#include "../CMP_util.h"

Go to the source code of this file.

Functions

static void do_gamma (bNode *UNUSED(node), float *out, float *in, float *fac)
static void node_composit_exec_gamma (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
void register_node_type_cmp_gamma (ListBase *lb)

Variables

static bNodeSocketType cmp_node_gamma_in []
static bNodeSocketType cmp_node_gamma_out []

Detailed Description

Definition in file CMP_gamma.c.


Function Documentation

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

Definition at line 50 of file CMP_gamma.c.

References i, and pow().

Referenced by node_composit_exec_gamma().

static void node_composit_exec_gamma ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
void register_node_type_cmp_gamma ( ListBase lb)

Variable Documentation

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

Definition at line 40 of file CMP_gamma.c.

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

Definition at line 45 of file CMP_gamma.c.