Blender V2.61 - r43446
Functions | Variables

node_composite_glare.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Functions

static void mixImages (CompBuf *dst, CompBuf *src, float mix)
static void addImage (CompBuf *dst, CompBuf *src, float scale)
static CompBufBTP (CompBuf *src, float threshold, int scaledown)
static void star4 (NodeGlare *ndg, CompBuf *dst, CompBuf *src)
static void streaks (NodeGlare *ndg, CompBuf *dst, CompBuf *src)
static float smoothMask (float x, float y)
static void ghosts (NodeGlare *ndg, CompBuf *dst, CompBuf *src)
static void fglow (NodeGlare *ndg, CompBuf *dst, CompBuf *src)
static void node_composit_exec_glare (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static void node_composit_init_glare (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
void register_node_type_cmp_glare (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_glare_in []
static bNodeSocketTemplate cmp_node_glare_out []

Detailed Description

Definition in file node_composite_glare.c.


Function Documentation

static void addImage ( CompBuf dst,
CompBuf src,
float  scale 
) [static]

Definition at line 92 of file node_composite_glare.c.

References p, CompBuf::rect, CompBuf::type, CompBuf::x, and CompBuf::y.

Referenced by streaks().

static CompBuf* BTP ( CompBuf src,
float  threshold,
int  scaledown 
) [static]

Definition at line 103 of file node_composite_glare.c.

References MAX2, qd_downScaledCopy(), CompBuf::rect, CompBuf::x, and CompBuf::y.

Referenced by fglow(), ghosts(), star4(), and streaks().

static void fglow ( NodeGlare ndg,
CompBuf dst,
CompBuf src 
) [static]
static void ghosts ( NodeGlare ndg,
CompBuf dst,
CompBuf src 
) [static]
static void mixImages ( CompBuf dst,
CompBuf src,
float  mix 
) [static]
static void node_composit_exec_glare ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_composit_init_glare ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]
void register_node_type_cmp_glare ( bNodeTreeType ttype)
static float smoothMask ( float  x,
float  y 
) [static]

Definition at line 296 of file node_composite_glare.c.

References sqrtf.

Referenced by ghosts().

static void star4 ( NodeGlare ndg,
CompBuf dst,
CompBuf src 
) [static]
static void streaks ( NodeGlare ndg,
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_glare.c.

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

Definition at line 39 of file node_composite_glare.c.