Blender V2.61 - r43446
Functions | Variables

node_composite_tonemap.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Functions

static float avgLogLum (CompBuf *src, float *auto_key, float *Lav, float *Cav)
static void tonemap (NodeTonemap *ntm, CompBuf *dst, CompBuf *src)
static void node_composit_exec_tonemap (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static void node_composit_init_tonemap (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
void register_node_type_cmp_tonemap (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_tonemap_in []
static bNodeSocketTemplate cmp_node_tonemap_out []

Detailed Description

Definition in file node_composite_tonemap.c.


Function Documentation

static float avgLogLum ( CompBuf src,
float *  auto_key,
float *  Lav,
float *  Cav 
) [static]

Definition at line 45 of file node_composite_tonemap.c.

References credits_svn_gen::e, KDL::exp(), fRGB_add, fRGB_mult, L, log(), MAX2, p, CompBuf::rect, CompBuf::x, and CompBuf::y.

Referenced by tonemap().

static void node_composit_exec_tonemap ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_composit_init_tonemap ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]
void register_node_type_cmp_tonemap ( bNodeTreeType ttype)
static void tonemap ( NodeTonemap ntm,
CompBuf dst,
CompBuf src 
) [static]

Variable Documentation

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

Definition at line 35 of file node_composite_tonemap.c.

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

Definition at line 39 of file node_composite_tonemap.c.