00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00065 #ifndef RAPP_FILTER_H
00066 #define RAPP_FILTER_H
00067
00068 #include <stdint.h>
00069 #include "rapp_export.h"
00070
00071 #ifdef __cplusplus
00072 extern "C" {
00073 #endif
00074
00075
00076
00077
00078
00079
00080
00094 RAPP_EXPORT int
00095 rapp_filter_diff_1x2_horz_u8(uint8_t *restrict dst, int dst_dim,
00096 const uint8_t *restrict src, int src_dim,
00097 int width, int height);
00098
00112 RAPP_EXPORT int
00113 rapp_filter_diff_1x2_horz_abs_u8(uint8_t *restrict dst, int dst_dim,
00114 const uint8_t *restrict src, int src_dim,
00115 int width, int height);
00116
00130 RAPP_EXPORT int
00131 rapp_filter_diff_2x1_vert_u8(uint8_t *restrict dst, int dst_dim,
00132 const uint8_t *restrict src, int src_dim,
00133 int width, int height);
00134
00148 RAPP_EXPORT int
00149 rapp_filter_diff_2x1_vert_abs_u8(uint8_t *restrict dst, int dst_dim,
00150 const uint8_t *restrict src, int src_dim,
00151 int width, int height);
00152
00166 RAPP_EXPORT int
00167 rapp_filter_diff_2x2_magn_u8(uint8_t *restrict dst, int dst_dim,
00168 const uint8_t *restrict src, int src_dim,
00169 int width, int height);
00170
00184 RAPP_EXPORT int
00185 rapp_filter_sobel_3x3_horz_u8(uint8_t *restrict dst, int dst_dim,
00186 const uint8_t *restrict src, int src_dim,
00187 int width, int height);
00188
00202 RAPP_EXPORT int
00203 rapp_filter_sobel_3x3_horz_abs_u8(uint8_t *restrict dst, int dst_dim,
00204 const uint8_t *restrict src, int src_dim,
00205 int width, int height);
00206
00220 RAPP_EXPORT int
00221 rapp_filter_sobel_3x3_vert_u8(uint8_t *restrict dst, int dst_dim,
00222 const uint8_t *restrict src, int src_dim,
00223 int width, int height);
00224
00238 RAPP_EXPORT int
00239 rapp_filter_sobel_3x3_vert_abs_u8(uint8_t *restrict dst, int dst_dim,
00240 const uint8_t *restrict src, int src_dim,
00241 int width, int height);
00242
00256 RAPP_EXPORT int
00257 rapp_filter_sobel_3x3_magn_u8(uint8_t *restrict dst, int dst_dim,
00258 const uint8_t *restrict src, int src_dim,
00259 int width, int height);
00260
00274 RAPP_EXPORT int
00275 rapp_filter_gauss_3x3_u8(uint8_t *restrict dst, int dst_dim,
00276 const uint8_t *restrict src, int src_dim,
00277 int width, int height);
00278
00292 RAPP_EXPORT int
00293 rapp_filter_laplace_3x3_u8(uint8_t *restrict dst, int dst_dim,
00294 const uint8_t *restrict src, int src_dim,
00295 int width, int height);
00296
00310 RAPP_EXPORT int
00311 rapp_filter_laplace_3x3_abs_u8(uint8_t *restrict dst, int dst_dim,
00312 const uint8_t *restrict src, int src_dim,
00313 int width, int height);
00314
00328 RAPP_EXPORT int
00329 rapp_filter_highpass_3x3_u8(uint8_t *restrict dst, int dst_dim,
00330 const uint8_t *restrict src, int src_dim,
00331 int width, int height);
00332
00346 RAPP_EXPORT int
00347 rapp_filter_highpass_3x3_abs_u8(uint8_t *restrict dst, int dst_dim,
00348 const uint8_t *restrict src, int src_dim,
00349 int width, int height);
00350
00351 #ifdef __cplusplus
00352 };
00353 #endif
00354
00355 #endif
00356