소스 검색

* 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 년 전
부모
커밋
1e47505892
2개의 변경된 파일4개의 추가작업 그리고 20개의 파일을 삭제
  1. +0
    -20
      pipi/filter/convolution.c
  2. +4
    -0
      pipi/filter/convolution_template.h

+ 0
- 20
pipi/filter/convolution.c 파일 보기

@@ -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 파일 보기

@@ -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;


불러오는 중...
취소
저장