|
Instrument Neutral Distributed Interface INDI 2.2.5
|
Functions | |
| DLL_EXPORT void | dsp_stream_alloc_buffer (dsp_stream_p stream, int len) |
| Allocate a buffer with length len on the stream passed as argument. | |
| DLL_EXPORT 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. | |
| DLL_EXPORT dsp_t * | dsp_stream_get_buffer (dsp_stream_p stream) |
| Return the buffer of the stream passed as argument. | |
| DLL_EXPORT void | dsp_stream_free_buffer (dsp_stream_p stream) |
| Free the buffer of the DSP Stream passed as argument. | |
| DLL_EXPORT dsp_stream_p | dsp_stream_new (void) |
| Allocate a new DSP stream type. | |
| DLL_EXPORT void | dsp_stream_free (dsp_stream_p stream) |
| Free the DSP stream passed as argument. | |
| DLL_EXPORT dsp_stream_p | dsp_stream_copy (dsp_stream_p stream) |
| Create a copy of the DSP stream passed as argument. | |
| DLL_EXPORT void | dsp_stream_add_child (dsp_stream_p stream, dsp_stream_p child) |
| Add a child to the DSP Stream passed as argument. | |
| DLL_EXPORT void | dsp_stream_add_star (dsp_stream_p stream, dsp_star star) |
| Add a star to the DSP Stream passed as argument. | |
| DLL_EXPORT void | dsp_stream_del_star (dsp_stream_p stream, int n) |
| Remove the star with index n to a DSP stream. | |
| DLL_EXPORT void | dsp_stream_add_triangle (dsp_stream_p stream, dsp_triangle triangle) |
| Add a triangle to the DSP Stream passed as argument. | |
| DLL_EXPORT void | dsp_stream_del_triangle (dsp_stream_p stream, int index) |
| Remove the triangle with index n to a DSP stream. | |
| DLL_EXPORT void | dsp_stream_calc_triangles (dsp_stream_p stream) |
| Calculate the triangles in the stream struct. | |
| DLL_EXPORT void | dsp_stream_del_child (dsp_stream_p stream, int n) |
| Remove the child with index n to a DSP stream. | |
| DLL_EXPORT void | dsp_stream_add_dim (dsp_stream_p stream, int len) |
| Add a dimension with length len to a DSP stream. | |
| DLL_EXPORT void | dsp_stream_set_dim (dsp_stream_p stream, int dim, int size) |
| Set a dimension size to a DSP stream. | |
| DLL_EXPORT void | dsp_stream_del_dim (dsp_stream_p stream, int n) |
| Remove the dimension with index n to a DSP stream. | |
| DLL_EXPORT int | dsp_stream_set_position (dsp_stream_p stream, int *pos) |
| Obtain the position the DSP stream by parsing multidimensional indexes. | |
| DLL_EXPORT int * | dsp_stream_get_position (dsp_stream_p stream, int index) |
| Return the multidimensional positional indexes of a DSP stream by specify a linear index. | |
| DLL_EXPORT void * | dsp_stream_exec (dsp_stream_p stream, void *args,...) |
| Execute the function callback pointed by the func field of the passed stream. | |
| DLL_EXPORT void | dsp_stream_crop (dsp_stream_p stream) |
| Crop the buffers of the stream passed as argument by reading the ROI field. | |
| DLL_EXPORT void | dsp_stream_rotate (dsp_stream_p stream) |
| Rotate a stream around an axis and offset. | |
| DLL_EXPORT void | dsp_stream_sum (dsp_stream_p stream, dsp_stream_p in) |
| Sum a stream with another. | |
| DLL_EXPORT void | dsp_stream_multiply (dsp_stream_p stream, dsp_stream_p in) |
| Multiply a stream with another. | |
| DLL_EXPORT void | dsp_stream_subtract (dsp_stream_p stream, dsp_stream_p in) |
| Subtract a stream to another. | |
| DLL_EXPORT void | dsp_stream_translate (dsp_stream_p stream) |
| Translate a stream. | |
| DLL_EXPORT void | dsp_stream_scale (dsp_stream_p stream) |
| Scale a stream. | |
| DLL_EXPORT void | dsp_stream_align (dsp_stream_p stream) |
| Perform scale, translate and rotate transformations in-place. | |
| DLL_EXPORT void dsp_stream_add_child | ( | dsp_stream_p | stream, |
| dsp_stream_p | child | ||
| ) |
Add a child to the DSP Stream passed as argument.
Add a child to the DSP Stream passed as argument.
| stream | |
| child |
| DLL_EXPORT void dsp_stream_add_dim | ( | dsp_stream_p | stream, |
| int | size | ||
| ) |
Add a dimension with length len to a DSP stream.
| stream | the target DSP stream. |
| len | the size of the dimension to add |
Add a dimension with length len to a DSP stream.
| stream | |
| size |
| DLL_EXPORT void dsp_stream_add_star | ( | dsp_stream_p | stream, |
| dsp_star | star | ||
| ) |
Add a star to the DSP Stream passed as argument.
Add a star to the DSP Stream passed as argument.
| stream | |
| star |
| DLL_EXPORT void dsp_stream_add_triangle | ( | dsp_stream_p | stream, |
| dsp_triangle | triangle | ||
| ) |
| DLL_EXPORT void dsp_stream_align | ( | dsp_stream_p | stream | ) |
| DLL_EXPORT void dsp_stream_alloc_buffer | ( | dsp_stream_p | stream, |
| int | len | ||
| ) |
| DLL_EXPORT void dsp_stream_calc_triangles | ( | dsp_stream_p | stream | ) |
Calculate the triangles in the stream struct.
| stream | the target DSP stream. |
| DLL_EXPORT dsp_stream_p dsp_stream_copy | ( | dsp_stream_p | stream | ) |
| DLL_EXPORT void dsp_stream_crop | ( | dsp_stream_p | stream | ) |
| DLL_EXPORT void dsp_stream_del_child | ( | dsp_stream_p | stream, |
| int | index | ||
| ) |
Remove the child with index n to a DSP stream.
| stream | the target DSP stream. |
| n | the index of the child to remove |
Remove the child with index n to a DSP stream.
| stream | |
| index |
| DLL_EXPORT void dsp_stream_del_dim | ( | dsp_stream_p | stream, |
| int | index | ||
| ) |
Remove the dimension with index n to a DSP stream.
| stream | the target DSP stream. |
| n | the index of the dimension to remove |
Remove the dimension with index n to a DSP stream.
| stream | |
| index |
| DLL_EXPORT void dsp_stream_del_star | ( | dsp_stream_p | stream, |
| int | index | ||
| ) |
Remove the star with index n to a DSP stream.
| stream | the target DSP stream. |
| n | the index of the star to remove |
Remove the star with index n to a DSP stream.
| stream | |
| index |
| DLL_EXPORT void dsp_stream_del_triangle | ( | dsp_stream_p | stream, |
| int | index | ||
| ) |
| DLL_EXPORT void * dsp_stream_exec | ( | dsp_stream_p | stream, |
| void * | args, | ||
| ... | |||
| ) |
Execute the function callback pointed by the func field of the passed stream.
| stream | the target DSP stream. |
| args | The arguments list to be passed to the callback |
| DLL_EXPORT void dsp_stream_free | ( | dsp_stream_p | stream | ) |
| DLL_EXPORT void dsp_stream_free_buffer | ( | dsp_stream_p | stream | ) |
| DLL_EXPORT dsp_t * dsp_stream_get_buffer | ( | dsp_stream_p | stream | ) |
| DLL_EXPORT int * dsp_stream_get_position | ( | dsp_stream_p | stream, |
| int | index | ||
| ) |
Return the multidimensional positional indexes of a DSP stream by specify a linear index.
| stream | the target DSP stream. |
| index | the position of the index on a single dimension. |
Return the multidimensional positional indexes of a DSP stream by specify a linear index.
| stream | |
| index |
| DLL_EXPORT void dsp_stream_multiply | ( | dsp_stream_p | stream, |
| dsp_stream_p | in | ||
| ) |
| DLL_EXPORT dsp_stream_p dsp_stream_new | ( | void | ) |
| DLL_EXPORT void dsp_stream_rotate | ( | dsp_stream_p | stream | ) |
| DLL_EXPORT void dsp_stream_scale | ( | dsp_stream_p | stream | ) |
| DLL_EXPORT void dsp_stream_set_buffer | ( | dsp_stream_p | stream, |
| void * | buffer, | ||
| int | len | ||
| ) |
| DLL_EXPORT void dsp_stream_set_dim | ( | dsp_stream_p | stream, |
| int | dim, | ||
| int | size | ||
| ) |
Set a dimension size to a DSP stream.
| stream | the target DSP stream. |
| dim | the index of the dimension to modify |
| size | the size of the dimension to modify |
Set a dimension size to a DSP stream.
| stream | |
| dim | |
| size |
| DLL_EXPORT int dsp_stream_set_position | ( | dsp_stream_p | stream, |
| int * | pos | ||
| ) |
Obtain the position the DSP stream by parsing multidimensional indexes.
| stream | the target DSP stream. |
| pos | the position of the index on each dimension. |
Obtain the position the DSP stream by parsing multidimensional indexes.
| stream | |
| pos |
| DLL_EXPORT void dsp_stream_subtract | ( | dsp_stream_p | stream, |
| dsp_stream_p | in | ||
| ) |
| DLL_EXPORT void dsp_stream_sum | ( | dsp_stream_p | stream, |
| dsp_stream_p | in | ||
| ) |
| DLL_EXPORT void dsp_stream_translate | ( | dsp_stream_p | stream | ) |