Instrument Neutral Distributed Interface INDI
2.0.2
|
Macros | |
#define | DSP_MAX_STARS 200 |
#define | dsp_t_max 255 |
#define | dsp_t_min -dsp_t_max |
#define | DSP_DEBUG |
#define | DSP_DEBUG_INFO 0 |
#define | DSP_DEBUG_ERROR 1 |
#define | DSP_DEBUG_WARNING 2 |
#define | DSP_DEBUG_DEBUG 3 |
#define | pdbg(x, ...) |
#define | pinfo(...) pdbg(DSP_DEBUG_INFO, __VA_ARGS__) |
#define | perr(...) pdbg(DSP_DEBUG_ERROR, __VA_ARGS__) |
#define | pwarn(...) pdbg(DSP_DEBUG_WARNING, __VA_ARGS__) |
#define | pgarb(...) pdbg(DSP_DEBUG_DEBUG, __VA_ARGS__) |
#define | pfunc pgarb("%s\n", __func__) |
#define | start_gettime |
#define | end_gettime |
#define | Min(a, b) |
if min() is not present you can use this one More... | |
#define | Max(a, b) |
if max() is not present you can use this one More... | |
#define | Log(a, b) ( log(a) / log(b) ) |
Logarithm of a with arbitrary base b. More... | |
#define | DSP_ALIGN_TRANSLATED 1 |
The stream is translated by the reference. More... | |
#define | DSP_ALIGN_SCALED 2 |
The stream is scaled by the reference. More... | |
#define | DSP_ALIGN_ROTATED 4 |
The stream is rotated by the reference. More... | |
#define | DSP_ALIGN_NO_MATCH 8 |
No matches were found during comparison. More... | |
Typedefs | |
typedef double | dsp_t |
typedef double | complex_t[2] |
Functions | |
DLL_EXPORT unsigned long int | dsp_max_threads (unsigned long value) |
get/set the maximum number of threads allowed More... | |
DLL_EXPORT void | dsp_set_debug_level (int value) |
set the debug level More... | |
DLL_EXPORT int | dsp_get_debug_level () |
get the debug level More... | |
DLL_EXPORT void | dsp_set_app_name (char *name) |
set the application name More... | |
DLL_EXPORT char * | dsp_get_app_name () |
get the application name More... | |
DLL_EXPORT void | dsp_set_stdout (FILE *f) |
set the output log streeam More... | |
DLL_EXPORT void | dsp_set_stderr (FILE *f) |
set the error log streeam More... | |
DLL_EXPORT void | dsp_print (int x, char *str) |
log a message to the error or output streams More... | |
#define DSP_ALIGN_NO_MATCH 8 |
#define DSP_ALIGN_ROTATED 4 |
#define DSP_ALIGN_SCALED 2 |
#define DSP_ALIGN_TRANSLATED 1 |
#define Log | ( | a, | |
b | |||
) | ( log(a) / log(b) ) |
#define Max | ( | a, | |
b | |||
) |
#define Min | ( | a, | |
b | |||
) |
#define pdbg | ( | x, | |
... | |||
) |
#define perr | ( | ... | ) | pdbg(DSP_DEBUG_ERROR, __VA_ARGS__) |
#define pgarb | ( | ... | ) | pdbg(DSP_DEBUG_DEBUG, __VA_ARGS__) |
#define pinfo | ( | ... | ) | pdbg(DSP_DEBUG_INFO, __VA_ARGS__) |
#define pwarn | ( | ... | ) | pdbg(DSP_DEBUG_WARNING, __VA_ARGS__) |
DLL_EXPORT char* dsp_get_app_name | ( | ) |
DLL_EXPORT int dsp_get_debug_level | ( | ) |
DLL_EXPORT unsigned long int dsp_max_threads | ( | unsigned long | value | ) |
DLL_EXPORT void dsp_print | ( | int | x, |
char * | str | ||
) |
DLL_EXPORT void dsp_set_app_name | ( | char * | name | ) |
DLL_EXPORT void dsp_set_debug_level | ( | int | value | ) |
DLL_EXPORT void dsp_set_stderr | ( | FILE * | f | ) |
DLL_EXPORT void dsp_set_stdout | ( | FILE * | f | ) |