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
00038 #ifndef RAPP_REDUCE_BIN_H
00039 #define RAPP_REDUCE_BIN_H
00040
00041 #include <stdint.h>
00042 #include "rapp_export.h"
00043
00044 #ifdef __cplusplus
00045 extern "C" {
00046 #endif
00047
00048
00049
00050
00051
00052
00053
00068 RAPP_EXPORT int
00069 rapp_reduce_1x2_rk1_bin(uint8_t *restrict dst, int dst_dim,
00070 const uint8_t *restrict src, int src_dim,
00071 int width, int height);
00072
00087 RAPP_EXPORT int
00088 rapp_reduce_1x2_rk2_bin(uint8_t *restrict dst, int dst_dim,
00089 const uint8_t *restrict src, int src_dim,
00090 int width, int height);
00091
00106 RAPP_EXPORT int
00107 rapp_reduce_2x1_rk1_bin(uint8_t *restrict dst, int dst_dim,
00108 const uint8_t *restrict src, int src_dim,
00109 int width, int height);
00110
00125 RAPP_EXPORT int
00126 rapp_reduce_2x1_rk2_bin(uint8_t *restrict dst, int dst_dim,
00127 const uint8_t *restrict src, int src_dim,
00128 int width, int height);
00129
00144 RAPP_EXPORT int
00145 rapp_reduce_2x2_rk1_bin(uint8_t *restrict dst, int dst_dim,
00146 const uint8_t *restrict src, int src_dim,
00147 int width, int height);
00148
00163 RAPP_EXPORT int
00164 rapp_reduce_2x2_rk2_bin(uint8_t *restrict dst, int dst_dim,
00165 const uint8_t *restrict src, int src_dim,
00166 int width, int height);
00167
00182 RAPP_EXPORT int
00183 rapp_reduce_2x2_rk3_bin(uint8_t *restrict dst, int dst_dim,
00184 const uint8_t *restrict src, int src_dim,
00185 int width, int height);
00186
00201 RAPP_EXPORT int
00202 rapp_reduce_2x2_rk4_bin(uint8_t *restrict dst, int dst_dim,
00203 const uint8_t *restrict src, int src_dim,
00204 int width, int height);
00205
00206 #ifdef __cplusplus
00207 };
00208 #endif
00209
00210 #endif
00211