Ver código fonte

* 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 anos atrás
pai
commit
1e47505892
2 arquivos alterados com 4 adições e 20 exclusões
  1. +0
    -20
      pipi/filter/convolution.c
  2. +4
    -0
      pipi/filter/convolution_template.h

+ 0
- 20
pipi/filter/convolution.c Ver arquivo

@@ -33,11 +33,6 @@
#define SET_FLAG_GRAY 0x01
#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 FUNC2
#undef PIXEL
@@ -48,11 +43,6 @@ static pipi_image_t *conv_sep_rgba_f(pipi_image_t *src,
#define FLAGS 0
#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 FUNC2
#undef PIXEL
@@ -63,11 +53,6 @@ static pipi_image_t *conv_sep_y_f(pipi_image_t *src,
#define FLAGS SET_FLAG_GRAY
#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 FUNC2
#undef PIXEL
@@ -78,11 +63,6 @@ static pipi_image_t *wrap_sep_rgba_f(pipi_image_t *src,
#define FLAGS SET_FLAG_WRAP
#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 FUNC2
#undef PIXEL


+ 4
- 0
pipi/filter/convolution_template.h Ver arquivo

@@ -22,6 +22,10 @@
* 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[])
{
pipi_image_t *dst;


Carregando…
Cancelar
Salvar