rc_stat.h
Go to the documentation of this file.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
00033 #ifndef RC_STAT_H
00034 #define RC_STAT_H
00035
00036 #include <stdint.h>
00037 #include "rc_export.h"
00038
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042
00043
00044
00045
00046
00047
00048
00049
00059 RC_EXPORT uint32_t
00060 rc_stat_sum_bin(const uint8_t *buf, int dim, int width, int height);
00061
00071 RC_EXPORT uint32_t
00072 rc_stat_sum_u8(const uint8_t *buf, int dim, int width, int height);
00073
00083 RC_EXPORT void
00084 rc_stat_sum2_u8(const uint8_t *buf, int dim,
00085 int width, int height, uintmax_t sum[2]);
00086
00099 RC_EXPORT void
00100 rc_stat_xsum_u8(const uint8_t *restrict src1, int src1_dim,
00101 const uint8_t *restrict src2, int src2_dim,
00102 int width, int height, uintmax_t sum[5]);
00103
00113 RC_EXPORT int
00114 rc_stat_min_bin(const uint8_t *buf, int dim, int width, int height);
00115
00125 RC_EXPORT int
00126 rc_stat_max_bin(const uint8_t *buf, int dim, int width, int height);
00127
00128 #ifdef RAPP_FORCE_EXPORT
00129
00130 int
00131 rc_stat_max_bin__internal(const uint8_t *buf, int dim, int width, int height);
00132 #else
00133 #define rc_stat_max_bin__internal rc_stat_max_bin
00134 #endif
00135
00136
00146 RC_EXPORT int
00147 rc_stat_min_u8(const uint8_t *buf, int dim, int width, int height);
00148
00158 RC_EXPORT int
00159 rc_stat_max_u8(const uint8_t *buf, int dim, int width, int height);
00160
00161 #ifdef __cplusplus
00162 };
00163 #endif
00164
00165 #endif