Instrument Neutral Distributed Interface INDI  2.0.2
Functions
stream.c File Reference
#include "dsp.h"

Go to the source code of this file.

Functions

unsigned long int dsp_max_threads (unsigned long value)
 get/set the maximum number of threads allowed More...
 
void dsp_set_stdout (FILE *f)
 set the output log streeam More...
 
void dsp_set_stderr (FILE *f)
 set the error log streeam More...
 
void dsp_print (int x, char *str)
 log a message to the error or output streams More...
 
void dsp_set_debug_level (int value)
 set the debug level More...
 
void dsp_set_app_name (char *name)
 set the application name More...
 
int dsp_get_debug_level ()
 get the debug level More...
 
char * dsp_get_app_name ()
 get the application name More...
 
void dsp_stream_alloc_buffer (dsp_stream_p stream, int len)
 Allocate a buffer with length len on the stream passed as argument. More...
 
void dsp_stream_set_buffer (dsp_stream_p stream, void *buffer, int len)
 Set the buffer of the stream passed as argument to a specific memory location. More...
 
dsp_tdsp_stream_get_buffer (dsp_stream_p stream)
 Return the buffer of the stream passed as argument. More...
 
void dsp_stream_free_buffer (dsp_stream_p stream)
 Free the buffer of the DSP Stream passed as argument. More...
 
dsp_stream_p dsp_stream_new ()
 dsp_stream_new More...
 
void dsp_stream_free (dsp_stream_p stream)
 dsp_stream_free More...
 
dsp_stream_p dsp_stream_copy (dsp_stream_p stream)
 dsp_stream_copy More...
 
void dsp_stream_add_dim (dsp_stream_p stream, int size)
 dsp_stream_add_dim More...
 
void dsp_stream_set_dim (dsp_stream_p stream, int dim, int size)
 dsp_stream_set_dim More...
 
void dsp_stream_del_dim (dsp_stream_p stream, int index)
 dsp_stream_del_dim More...
 
void dsp_stream_add_child (dsp_stream_p stream, dsp_stream_p child)
 dsp_stream_add_child More...
 
void dsp_stream_del_child (dsp_stream_p stream, int index)
 dsp_stream_del_child More...
 
void dsp_stream_add_star (dsp_stream_p stream, dsp_star star)
 dsp_stream_add_star More...
 
void dsp_stream_del_star (dsp_stream_p stream, int index)
 dsp_stream_del_star More...
 
void dsp_stream_add_triangle (dsp_stream_p stream, dsp_triangle triangle)
 dsp_stream_add_triangle More...
 
void dsp_stream_del_triangle (dsp_stream_p stream, int index)
 dsp_stream_del_triangle More...
 
int * dsp_stream_get_position (dsp_stream_p stream, int index)
 dsp_stream_get_position More...
 
int dsp_stream_set_position (dsp_stream_p stream, int *pos)
 dsp_stream_set_position More...
 
void dsp_stream_align (dsp_stream_p in)
 Perform scale, translate and rotate transformations in-place. More...
 
void dsp_stream_crop (dsp_stream_p in)
 Crop the buffers of the stream passed as argument by reading the ROI field. More...
 
void dsp_stream_translate (dsp_stream_p in)
 Translate a stream. More...
 
void dsp_stream_scale (dsp_stream_p in)
 Scale a stream. More...
 
void dsp_stream_rotate (dsp_stream_p in)
 Rotate a stream around an axis and offset. More...