Instrument Neutral Distributed Interface INDI 2.2.5
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
 
void dsp_set_stdout (FILE *f)
 set the output log streeam
 
void dsp_set_stderr (FILE *f)
 set the error log streeam
 
void dsp_print (int x, char *str)
 log a message to the error or output streams
 
void dsp_set_debug_level (int value)
 set the debug level
 
void dsp_set_app_name (char *name)
 set the application name
 
int dsp_get_debug_level ()
 get the debug level
 
char * dsp_get_app_name ()
 get the application name
 
void dsp_stream_alloc_buffer (dsp_stream_p stream, int len)
 Allocate a buffer with length len on the stream passed as argument.
 
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.
 
dsp_t * dsp_stream_get_buffer (dsp_stream_p stream)
 Return the buffer of the stream passed as argument.
 
void dsp_stream_free_buffer (dsp_stream_p stream)
 Free the buffer of the DSP Stream passed as argument.
 
dsp_stream_p dsp_stream_new ()
 dsp_stream_new
 
void dsp_stream_free (dsp_stream_p stream)
 dsp_stream_free
 
dsp_stream_p dsp_stream_copy (dsp_stream_p stream)
 dsp_stream_copy
 
void dsp_stream_add_dim (dsp_stream_p stream, int size)
 dsp_stream_add_dim
 
void dsp_stream_set_dim (dsp_stream_p stream, int dim, int size)
 dsp_stream_set_dim
 
void dsp_stream_del_dim (dsp_stream_p stream, int index)
 dsp_stream_del_dim
 
void dsp_stream_add_child (dsp_stream_p stream, dsp_stream_p child)
 dsp_stream_add_child
 
void dsp_stream_del_child (dsp_stream_p stream, int index)
 dsp_stream_del_child
 
void dsp_stream_add_star (dsp_stream_p stream, dsp_star star)
 dsp_stream_add_star
 
void dsp_stream_del_star (dsp_stream_p stream, int index)
 dsp_stream_del_star
 
void dsp_stream_add_triangle (dsp_stream_p stream, dsp_triangle triangle)
 dsp_stream_add_triangle
 
void dsp_stream_del_triangle (dsp_stream_p stream, int index)
 dsp_stream_del_triangle
 
int * dsp_stream_get_position (dsp_stream_p stream, int index)
 dsp_stream_get_position
 
int dsp_stream_set_position (dsp_stream_p stream, int *pos)
 dsp_stream_set_position
 
void dsp_stream_align (dsp_stream_p in)
 Perform scale, translate and rotate transformations in-place.
 
void dsp_stream_crop (dsp_stream_p in)
 Crop the buffers of the stream passed as argument by reading the ROI field.
 
void dsp_stream_translate (dsp_stream_p in)
 Translate a stream.
 
void dsp_stream_scale (dsp_stream_p in)
 Scale a stream.
 
void dsp_stream_rotate (dsp_stream_p in)
 Rotate a stream around an axis and offset.
 
void dsp_stream_sum (dsp_stream_p in, dsp_stream_p str)
 Sum a stream with another.
 
void dsp_stream_multiply (dsp_stream_p in, dsp_stream_p str)
 Multiply a stream with another.
 
void dsp_stream_subtract (dsp_stream_p in, dsp_stream_p str)
 Subtract a stream to another.