COVISE Core
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)
22extern "C" {
23void conv_array_float_c8i4(int *input, int *output, int number, int start);
24void conv_array_float_c8i8(int *input, int *output, int number);
25void conv_array_float_i4c8(int *input, int *output, int number, int start);
26void conv_array_float_i8c8(int *input, int *output, int number);
27void conv_array_int_i4c8(int *input, int *output, int number, int start);
28void conv_array_int_c8i4(int *input, int *output, int number, int start);
29void conv_array_int_i2c8(int *input, int *output, int number, int start);
30void conv_array_int_c8i2(int *input, int *output, int number, int start);
31void conv_single_float_c8i4(int input, int *output);
32void conv_single_float_c8i4_second(int input, int *output);
33void conv_single_float_c8i8(int input, int *output);
34void conv_single_float_i4c8(int input, int *output);
35void conv_single_float_i4c8_second(int input, int *output);
36void conv_single_float_i8c8(int input, int *output);
37void conv_single_int_i4c8(int input, int *output);
38void conv_single_int_i4c8_second(int input, int *output);
39void conv_single_int_c8i4(int input, int *output);
40void conv_single_int_c8i4_second(int input, int *output);
41void conv_single_int_i2c8(int input, int *output);
42void conv_single_int_i2c8_second(int input, int *output);
43void conv_single_int_c8i2(int input, int *output);
44void 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
GLuint start
Definition: khronos-glext.h:6343
GLenum GLenum GLenum input
Definition: khronos-glext.h:9990