| 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) \ |
|---|
| 19 | void short_name(t,lrotate_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t ** D); \ |
|---|
| 20 | void short_name(t,rrotate_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t ** D); \ |
|---|
| 21 | void short_name(t,lrotate1_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch); \ |
|---|
| 22 | void short_name(t,rrotate1_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch); \ |
|---|
| 23 | void short_name(t,hflip_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t ** D); \ |
|---|
| 24 | void short_name(t,vflip_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t ** D); \ |
|---|
| 25 | void short_name(t,hflip1_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch); \ |
|---|
| 26 | void short_name(t,vflip1_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch); |
|---|
| 27 | |
|---|
| 28 | rotate_flip_type_matrix(int8_t); |
|---|
| 29 | rotate_flip_type_matrix(uint8_t); |
|---|
| 30 | rotate_flip_type_matrix(int16_t); |
|---|
| 31 | rotate_flip_type_matrix(uint16_t); |
|---|
| 32 | rotate_flip_type_matrix(int32_t); |
|---|
| 33 | rotate_flip_type_matrix(uint32_t); |
|---|
| 34 | rotate_flip_type_matrix(int64_t); |
|---|
| 35 | rotate_flip_type_matrix(uint64_t); |
|---|
| 36 | rotate_flip_type_matrix(float); |
|---|
| 37 | rotate_flip_type_matrix(double); |
|---|
| 38 | rotate_flip_type_matrix(rgb8); |
|---|
| 39 | rotate_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 | |
|---|