Blender V2.61 - r43446
Functions | Variables

node_composite_lensdist.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Functions

static void lensDistort (CompBuf *dst, CompBuf *src, float kr, float kg, float kb, int jit, int proj, int fit)
static void node_composit_exec_lensdist (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static void node_composit_init_lensdist (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
void register_node_type_cmp_lensdist (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_lensdist_in []
static bNodeSocketTemplate cmp_node_lensdist_out []

Detailed Description

Definition in file node_composite_lensdist.c.


Function Documentation

static void lensDistort ( CompBuf dst,
CompBuf src,
float  kr,
float  kg,
float  kb,
int  jit,
int  proj,
int  fit 
) [static]
static void node_composit_exec_lensdist ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_composit_init_lensdist ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]
void register_node_type_cmp_lensdist ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_RGBA, 1, "Image",          1.0f, 1.0f, 1.0f, 1.0f},
    {   SOCK_FLOAT, 1, "Distort",   0.f, 0.f, 0.f, 0.f, -0.999f, 1.f, PROP_NONE},
    {   SOCK_FLOAT, 1, "Dispersion", 0.f, 0.f, 0.f, 0.f, 0.f, 1.f, PROP_NONE},
    {   -1, 0, ""   }
}

Definition at line 35 of file node_composite_lensdist.c.

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

Definition at line 41 of file node_composite_lensdist.c.