source: soft/giet_vm/applications/rosenfeld/nrc2/include/nrmem1x.h @ 826

Last change on this file since 826 was 826, checked in by meunier, 7 years ago
  • Mise à jour NR2 et Rosenfeld
File size: 1019 bytes
Line 
1/*
2 * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved
3 * Univ Paris Sud XI, CNRS
4 */
5
6void roll_si16vector(int16_t * v, int32_t nl, int32_t nh);
7void roll_ui16vector(uint16_t * v, int32_t nl, int32_t nh);
8
9#define copy_type_vector(t) \
10void short_name(t,copy_,vector)(t * src, int32_t nl1, int32_t nh1, t * dst, int32_t nl2, int32_t nh2); \
11void short_name(t,copy1c_,vector)(t * src, int32_t nc, t * dst, int32_t nl, int32_t nh); \
12void short_name(t,copy_,vector_mod)(t * src, int32_t nl, int32_t nh, int32_t m, t * dst);
13
14copy_type_vector(int8_t);
15copy_type_vector(uint8_t);
16copy_type_vector(int16_t);
17copy_type_vector(uint16_t);
18copy_type_vector(int32_t);
19copy_type_vector(uint32_t);
20copy_type_vector(float);
21copy_type_vector(double);
22copy_type_vector(rgb8);
23copy_type_vector(rgbx8);
24
25
26// Local Variables:
27// tab-width: 4
28// c-basic-offset: 4
29// c-file-offsets:((innamespace . 0)(inline-open . 0))
30// indent-tabs-mode: nil
31// End:
32
33// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
34
Note: See TracBrowser for help on using the repository browser.