Browse Source

* convolution.c: move local function prototypes to convolution_template.h.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2710 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/tiles
sam 16 years ago
parent
commit
1e47505892
2 changed files with 4 additions and 20 deletions
  1. +0
    -20
      pipi/filter/convolution.c
  2. +4
    -0
      pipi/filter/convolution_template.h

+ 0
- 20
pipi/filter/convolution.c View File

@@ -33,11 +33,6 @@
#define SET_FLAG_GRAY 0x01 #define SET_FLAG_GRAY 0x01
#define SET_FLAG_WRAP 0x02 #define SET_FLAG_WRAP 0x02


static pipi_image_t *conv_std_rgba_f(pipi_image_t *src,
int m, int n, double mat[]);
static pipi_image_t *conv_sep_rgba_f(pipi_image_t *src,
int m, double hvec[],
int n, double vvec[]);
#undef FUNC1 #undef FUNC1
#undef FUNC2 #undef FUNC2
#undef PIXEL #undef PIXEL
@@ -48,11 +43,6 @@ static pipi_image_t *conv_sep_rgba_f(pipi_image_t *src,
#define FLAGS 0 #define FLAGS 0
#include "convolution_template.h" #include "convolution_template.h"


static pipi_image_t *conv_std_y_f(pipi_image_t *src,
int m, int n, double mat[]);
static pipi_image_t *conv_sep_y_f(pipi_image_t *src,
int m, double hvec[],
int n, double vvec[]);
#undef FUNC1 #undef FUNC1
#undef FUNC2 #undef FUNC2
#undef PIXEL #undef PIXEL
@@ -63,11 +53,6 @@ static pipi_image_t *conv_sep_y_f(pipi_image_t *src,
#define FLAGS SET_FLAG_GRAY #define FLAGS SET_FLAG_GRAY
#include "convolution_template.h" #include "convolution_template.h"


static pipi_image_t *wrap_std_rgba_f(pipi_image_t *src,
int m, int n, double mat[]);
static pipi_image_t *wrap_sep_rgba_f(pipi_image_t *src,
int m, double hvec[],
int n, double vvec[]);
#undef FUNC1 #undef FUNC1
#undef FUNC2 #undef FUNC2
#undef PIXEL #undef PIXEL
@@ -78,11 +63,6 @@ static pipi_image_t *wrap_sep_rgba_f(pipi_image_t *src,
#define FLAGS SET_FLAG_WRAP #define FLAGS SET_FLAG_WRAP
#include "convolution_template.h" #include "convolution_template.h"


static pipi_image_t *wrap_std_y_f(pipi_image_t *src,
int m, int n, double mat[]);
static pipi_image_t *wrap_sep_y_f(pipi_image_t *src,
int m, double hvec[],
int n, double vvec[]);
#undef FUNC1 #undef FUNC1
#undef FUNC2 #undef FUNC2
#undef PIXEL #undef PIXEL


+ 4
- 0
pipi/filter/convolution_template.h View File

@@ -22,6 +22,10 @@
* 2 (loop) * 2 (loop)
*/ */


static pipi_image_t *FUNC1(pipi_image_t *src, int m, int n, double mat[]);
static pipi_image_t *FUNC2(pipi_image_t *src, int m, double hvec[],
int n, double vvec[]);

static pipi_image_t *FUNC1(pipi_image_t *src, int m, int n, double mat[]) static pipi_image_t *FUNC1(pipi_image_t *src, int m, int n, double mat[])
{ {
pipi_image_t *dst; pipi_image_t *dst;


Loading…
Cancel
Save