source: soft/giet_vm/applications/rosenfeld/nrc2/include/nrmem2xx.h @ 827

Last change on this file since 827 was 826, checked in by meunier, 7 years ago
  • Mise à jour NR2 et Rosenfeld
File size: 1.7 KB
Line 
1
2/*
3 * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved
4 * Univ Paris Sud XI, CNRS
5*/
6
7#ifndef _NRMEM2XX_H_
8#define _NRMEM2XX_H_
9
10
11/* ----------------------- */
12/* -- Rotation and Flip -- */
13/* ----------------------- */
14
15// no check performed on size, S and D must be different
16
17
18#define rotate_flip_type_matrix(t) \
19void short_name(t,lrotate_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t ** D); \
20void short_name(t,rrotate_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t ** D); \
21void short_name(t,lrotate1_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch); \
22void short_name(t,rrotate1_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch); \
23void short_name(t,hflip_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t ** D); \
24void short_name(t,vflip_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t ** D); \
25void short_name(t,hflip1_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch); \
26void short_name(t,vflip1_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch);
27
28rotate_flip_type_matrix(int8_t);
29rotate_flip_type_matrix(uint8_t);
30rotate_flip_type_matrix(int16_t);
31rotate_flip_type_matrix(uint16_t);
32rotate_flip_type_matrix(int32_t);
33rotate_flip_type_matrix(uint32_t);
34rotate_flip_type_matrix(int64_t);
35rotate_flip_type_matrix(uint64_t);
36rotate_flip_type_matrix(float);
37rotate_flip_type_matrix(double);
38rotate_flip_type_matrix(rgb8);
39rotate_flip_type_matrix(rgbx8);
40
41
42#endif /* _NRMEM2XX_H_ */
43
44// Local Variables:
45// tab-width: 4
46// c-basic-offset: 4
47// c-file-offsets:((innamespace . 0)(inline-open . 0))
48// indent-tabs-mode: nil
49// End:
50
51// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
52
Note: See TracBrowser for help on using the repository browser.