Blender V2.61 - r43446
Functions | Variables

node_composite_levels.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Functions

static void rgb_tobw (float r, float g, float b, float *out)
static void fill_bins (bNode *node, CompBuf *in, int *bins)
static float brightness_mean (bNode *node, CompBuf *in)
static float brightness_standard_deviation (bNode *node, CompBuf *in, float mean)
static void draw_histogram (bNode *node, CompBuf *out, int *bins)
static void node_composit_exec_view_levels (void *data, bNode *node, bNodeStack **in, bNodeStack **out)
static void node_composit_init_view_levels (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
void register_node_type_cmp_view_levels (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_view_levels_in []
static bNodeSocketTemplate cmp_node_view_levels_out []

Detailed Description

Definition in file node_composite_levels.c.


Function Documentation

static float brightness_mean ( bNode node,
CompBuf in 
) [static]
static float brightness_standard_deviation ( bNode node,
CompBuf in,
float  mean 
) [static]
static void draw_histogram ( bNode node,
CompBuf out,
int *  bins 
) [static]
static void fill_bins ( bNode node,
CompBuf in,
int *  bins 
) [static]
static void node_composit_exec_view_levels ( void *  data,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_composit_init_view_levels ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]

Definition at line 318 of file node_composite_levels.c.

References bNode::custom1.

Referenced by register_node_type_cmp_view_levels().

void register_node_type_cmp_view_levels ( bNodeTreeType ttype)
static void rgb_tobw ( float  r,
float  g,
float  b,
float *  out 
) [static]

Variable Documentation

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

Definition at line 37 of file node_composite_levels.c.

Initial value:
{
    {SOCK_FLOAT, 0,"Mean"},
    {SOCK_FLOAT, 0,"Std Dev"},
    {-1,0,""}
}

Definition at line 42 of file node_composite_levels.c.