synfig-core  1.0.3
Macros | Functions
synfig/blur.cpp File Reference

Blur Implementation File. More...

#include <synfig/general.h>
#include <synfig/surface.h>
#include "blur.h"
#include <stdexcept>
#include <ETL/stringf>
#include <ETL/pen>
#include <ETL/gaussian>
#include <ETL/boxblur>

Macros

#define GAUSSIAN_ADJUSTMENT   (0.05)

Functions

template<typename T >
static T zero ()
template<>
Color zero< Color > ()
template<>
CairoColorAccumulator zero< CairoColorAccumulator > ()
template<typename T , typename AT , class VP >
static void GaussianBlur_2x2 (etl::surface< T, AT, VP > &surface)
template<typename T , typename AT , class VP >
static void GaussianBlur_3x3 (etl::surface< T, AT, VP > &surface)
template<typename T , typename AT , class VP >
static void GaussianBlur_5x5_ (etl::surface< T, AT, VP > &surface, AT *SC0, AT *SC1, AT *SC2, AT *SC3)
template<typename T , typename AT , class VP >
static void GaussianBlur_5x5 (etl::surface< T, AT, VP > &surface)
template<typename T , typename AT , class VP >
static void GaussianBlur_nxn (etl::surface< T, AT, VP > &surface, int n)
template<typename T , typename AT , class VP >
static void GaussianBlur_2x1 (etl::surface< T, AT, VP > &surface)
template<typename T , typename AT , class VP >
static void GaussianBlur_3x1 (etl::surface< T, AT, VP > &surface)
template<typename T , typename AT , class VP >
static void GaussianBlur_1x2 (etl::surface< T, AT, VP > &surface)
template<typename T , typename AT , class VP >
static void GaussianBlur_1x3 (etl::surface< T, AT, VP > &surface)

Detailed Description

Blur Implementation File.

$Id$

Macro Definition Documentation

#define GAUSSIAN_ADJUSTMENT   (0.05)

Function Documentation

template<typename T >
static T zero ( )
inlinestatic
template<>
Color zero< Color > ( )
inline
template<typename T , typename AT , class VP >
static void GaussianBlur_2x2 ( etl::surface< T, AT, VP > &  surface)
static

Referenced by Blur::operator()().

template<typename T , typename AT , class VP >
static void GaussianBlur_3x3 ( etl::surface< T, AT, VP > &  surface)
static
template<typename T , typename AT , class VP >
static void GaussianBlur_5x5_ ( etl::surface< T, AT, VP > &  surface,
AT *  SC0,
AT *  SC1,
AT *  SC2,
AT *  SC3 
)
inlinestatic

Referenced by GaussianBlur_5x5().

template<typename T , typename AT , class VP >
static void GaussianBlur_5x5 ( etl::surface< T, AT, VP > &  surface)
inlinestatic

References GaussianBlur_5x5_().

template<typename T , typename AT , class VP >
static void GaussianBlur_nxn ( etl::surface< T, AT, VP > &  surface,
int  n 
)
static
template<typename T , typename AT , class VP >
static void GaussianBlur_2x1 ( etl::surface< T, AT, VP > &  surface)
static

Referenced by Blur::operator()().

template<typename T , typename AT , class VP >
static void GaussianBlur_3x1 ( etl::surface< T, AT, VP > &  surface)
static

Referenced by Blur::operator()().

template<typename T , typename AT , class VP >
static void GaussianBlur_1x2 ( etl::surface< T, AT, VP > &  surface)
static

Referenced by Blur::operator()().

template<typename T , typename AT , class VP >
static void GaussianBlur_1x3 ( etl::surface< T, AT, VP > &  surface)
static

Referenced by Blur::operator()().