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_BITBLT_H
00066 #define RAPP_BITBLT_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
00095 RAPP_EXPORT int
00096 rapp_bitblt_copy_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00097 const uint8_t *restrict src, int src_dim, int src_off,
00098 int width, int height);
00099
00114 RAPP_EXPORT int
00115 rapp_bitblt_not_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00116 const uint8_t *restrict src, int src_dim, int src_off,
00117 int width, int height);
00118
00133 RAPP_EXPORT int
00134 rapp_bitblt_and_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00135 const uint8_t *restrict src, int src_dim, int src_off,
00136 int width, int height);
00137
00152 RAPP_EXPORT int
00153 rapp_bitblt_or_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00154 const uint8_t *restrict src, int src_dim, int src_off,
00155 int width, int height);
00156
00171 RAPP_EXPORT int
00172 rapp_bitblt_xor_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00173 const uint8_t *restrict src, int src_dim, int src_off,
00174 int width, int height);
00175
00190 RAPP_EXPORT int
00191 rapp_bitblt_nand_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00192 const uint8_t *restrict src, int src_dim, int src_off,
00193 int width, int height);
00194
00209 RAPP_EXPORT int
00210 rapp_bitblt_nor_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00211 const uint8_t *restrict src, int src_dim, int src_off,
00212 int width, int height);
00213
00228 RAPP_EXPORT int
00229 rapp_bitblt_xnor_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00230 const uint8_t *restrict src, int src_dim, int src_off,
00231 int width, int height);
00232
00247 RAPP_EXPORT int
00248 rapp_bitblt_andn_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00249 const uint8_t *restrict src, int src_dim, int src_off,
00250 int width, int height);
00251
00266 RAPP_EXPORT int
00267 rapp_bitblt_orn_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00268 const uint8_t *restrict src, int src_dim, int src_off,
00269 int width, int height);
00270
00285 RAPP_EXPORT int
00286 rapp_bitblt_nandn_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00287 const uint8_t *restrict src, int src_dim, int src_off,
00288 int width, int height);
00289
00304 RAPP_EXPORT int
00305 rapp_bitblt_norn_bin(uint8_t *restrict dst, int dst_dim, int dst_off,
00306 const uint8_t *restrict src, int src_dim, int src_off,
00307 int width, int height);
00308
00309 #ifdef __cplusplus
00310 };
00311 #endif
00312
00313 #endif
00314