Blender V2.61 - r43446
Functions | Variables

node_composite_blur.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Functions

static float * make_gausstab (int filtertype, int rad)
static float * make_bloomtab (int rad)
static void blur_single_image (bNode *node, CompBuf *new, CompBuf *img, float scale)
static void bloom_with_reference (CompBuf *new, CompBuf *img, CompBuf *UNUSED(ref), float UNUSED(fac), NodeBlurData *nbd)
static void bokeh_single_image (bNode *node, CompBuf *new, CompBuf *img, float fac)
static void blur_with_reference (bNode *node, CompBuf *new, CompBuf *img, CompBuf *ref)
static void node_composit_exec_blur (void *data, bNode *node, bNodeStack **in, bNodeStack **out)
static void node_composit_init_blur (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
void register_node_type_cmp_blur (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_blur_in []
static bNodeSocketTemplate cmp_node_blur_out []

Detailed Description

Definition in file node_composite_blur.c.


Function Documentation

static void bloom_with_reference ( CompBuf new,
CompBuf img,
CompBuf UNUSEDref,
float   UNUSEDfac,
NodeBlurData nbd 
) [static]
static void blur_single_image ( bNode node,
CompBuf new,
CompBuf img,
float  scale 
) [static]
static void blur_with_reference ( bNode node,
CompBuf new,
CompBuf img,
CompBuf ref 
) [static]
static void bokeh_single_image ( bNode node,
CompBuf new,
CompBuf img,
float  fac 
) [static]
static float* make_bloomtab ( int  rad) [static]

Definition at line 70 of file node_composite_blur.c.

References fabsf, i, MEM_mallocN(), powf, and simple_enum_gen::val.

Referenced by bloom_with_reference().

static float* make_gausstab ( int  filtertype,
int  rad 
) [static]
static void node_composit_exec_blur ( void *  data,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_composit_init_blur ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]

Definition at line 719 of file node_composite_blur.c.

References MEM_callocN(), and bNode::storage.

Referenced by register_node_type_cmp_blur().

void register_node_type_cmp_blur ( bNodeTreeType ttype)

Variable Documentation

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

Definition at line 37 of file node_composite_blur.c.

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

Definition at line 42 of file node_composite_blur.c.