COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
covise_conv.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef _COVISE_CONV_H_
9 #define _COVISE_CONV_H_
10 
11 /******************************************************************************
12  * Naming conventions:
13  * Each functions has the prefix "conv_" followed by the number of the
14  * desired conversions: only one item (single) or more than one (array).
15  * The next part determines, what kind of type is to be converted (int or
16  * float). The last part tells the direction and kind of convertion where
17  * 'i' means IEEE and 'c' means CRAY. The numbers following each of the
18  * two characters give information about the size of the type.
19  *****************************************************************************/
20 
21 #if defined(CRAY) && !defined(_CRAYT3E)
22 extern "C" {
23 void conv_array_float_c8i4(int *input, int *output, int number, int start);
24 void conv_array_float_c8i8(int *input, int *output, int number);
25 void conv_array_float_i4c8(int *input, int *output, int number, int start);
26 void conv_array_float_i8c8(int *input, int *output, int number);
27 void conv_array_int_i4c8(int *input, int *output, int number, int start);
28 void conv_array_int_c8i4(int *input, int *output, int number, int start);
29 void conv_array_int_i2c8(int *input, int *output, int number, int start);
30 void conv_array_int_c8i2(int *input, int *output, int number, int start);
31 void conv_single_float_c8i4(int input, int *output);
32 void conv_single_float_c8i4_second(int input, int *output);
33 void conv_single_float_c8i8(int input, int *output);
34 void conv_single_float_i4c8(int input, int *output);
35 void conv_single_float_i4c8_second(int input, int *output);
36 void conv_single_float_i8c8(int input, int *output);
37 void conv_single_int_i4c8(int input, int *output);
38 void conv_single_int_i4c8_second(int input, int *output);
39 void conv_single_int_c8i4(int input, int *output);
40 void conv_single_int_c8i4_second(int input, int *output);
41 void conv_single_int_i2c8(int input, int *output);
42 void conv_single_int_i2c8_second(int input, int *output);
43 void conv_single_int_c8i2(int input, int *output);
44 void conv_single_int_c8i2_second(int input, int *output);
45 }
46 #endif
47 
48 #ifdef _CRAYT3E
49 #include "covise_converter.h"
50 
51 //extern "C" {
52 // void conv_array_int_i4t8(int *input, int *output, int number, int start);
53 // void conv_array_int_t8i4(int *input, int *output, int number, int start);
54 //}
55 #endif
56 #endif
GLenum GLenum GLenum input
Definition: khronos-glext.h:9990
GLuint start
Definition: khronos-glext.h:6343