Open source Very Long Baseline Interferometry
OpenVLBI
|
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. More... | |
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. More... | |
DLL_EXPORT dsp_t * | dsp_stream_get_buffer (dsp_stream_p stream) |
Return the buffer of the stream passed as argument. More... | |
DLL_EXPORT void | dsp_stream_free_buffer (dsp_stream_p stream) |
Free the buffer of the DSP Stream passed as argument. More... | |
DLL_EXPORT dsp_stream_p | dsp_stream_new (void) |
Allocate a new DSP stream type. More... | |
DLL_EXPORT void | dsp_stream_free (dsp_stream_p stream) |
Free the DSP stream passed as argument. More... | |
DLL_EXPORT dsp_stream_p | dsp_stream_copy (dsp_stream_p stream) |
Create a copy of the DSP stream passed as argument. More... | |
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. More... | |
DLL_EXPORT void | dsp_stream_add_star (dsp_stream_p stream, dsp_star star) |
Add a star to the DSP Stream passed as argument. More... | |
DLL_EXPORT void | dsp_stream_del_star (dsp_stream_p stream, int n) |
Remove the star with index n to a DSP stream. More... | |
DLL_EXPORT void | dsp_stream_add_triangle (dsp_stream_p stream, dsp_triangle triangle) |
Add a triangle to the DSP Stream passed as argument. More... | |
DLL_EXPORT void | dsp_stream_del_triangle (dsp_stream_p stream, int index) |
Remove the triangle with index n to a DSP stream. More... | |
DLL_EXPORT void | dsp_stream_calc_triangles (dsp_stream_p stream) |
Calculate the triangles in the stream struct. More... | |
DLL_EXPORT void | dsp_stream_del_child (dsp_stream_p stream, int n) |
Remove the child with index n to a DSP stream. More... | |
DLL_EXPORT void | dsp_stream_add_dim (dsp_stream_p stream, int len) |
Add a dimension with length len to a DSP stream. More... | |
DLL_EXPORT void | dsp_stream_set_dim (dsp_stream_p stream, int dim, int size) |
Set a dimension size to a DSP stream. More... | |
DLL_EXPORT void | dsp_stream_del_dim (dsp_stream_p stream, int n) |
Remove the dimension with index n to a DSP stream. More... | |
DLL_EXPORT int | dsp_stream_set_position (dsp_stream_p stream, int *pos) |
Obtain the position the DSP stream by parsing multidimensional indexes. More... | |
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. More... | |
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. More... | |
DLL_EXPORT void | dsp_stream_crop (dsp_stream_p stream) |
Crop the buffers of the stream passed as argument by reading the ROI field. More... | |
DLL_EXPORT void | dsp_stream_rotate (dsp_stream_p stream) |
Rotate a stream around an axis and offset. More... | |
DLL_EXPORT void | dsp_stream_translate (dsp_stream_p stream) |
Translate a stream. More... | |
DLL_EXPORT void | dsp_stream_scale (dsp_stream_p stream) |
Scale a stream. More... | |
DLL_EXPORT void | dsp_stream_align (dsp_stream_p stream) |
Perform scale, translate and rotate transformations in-place. More... | |
DLL_EXPORT void dsp_stream_add_child | ( | dsp_stream_p | stream, |
dsp_stream_p | child | ||
) |
stream | the target DSP stream. |
child | the child to add to DSP stream. |
DLL_EXPORT void dsp_stream_add_dim | ( | dsp_stream_p | stream, |
int | len | ||
) |
stream | the target DSP stream. |
len | the size of the dimension to add |
DLL_EXPORT void dsp_stream_add_star | ( | dsp_stream_p | stream, |
dsp_star | star | ||
) |
stream | the target DSP stream. |
star | the star to add to DSP stream. |
DLL_EXPORT void dsp_stream_add_triangle | ( | dsp_stream_p | stream, |
dsp_triangle | triangle | ||
) |
stream | the target DSP stream. |
triangle | the triangle to add to DSP stream. |
DLL_EXPORT void dsp_stream_align | ( | dsp_stream_p | stream | ) |
stream | The stream that will be transformed |
DLL_EXPORT void dsp_stream_alloc_buffer | ( | dsp_stream_p | stream, |
int | len | ||
) |
stream | the target DSP stream. |
len | the new length of the buffer. |
DLL_EXPORT void dsp_stream_calc_triangles | ( | dsp_stream_p | stream | ) |
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 | ) |
stream | The stream that will be cropped in-place |
DLL_EXPORT void dsp_stream_del_child | ( | dsp_stream_p | stream, |
int | n | ||
) |
stream | the target DSP stream. |
n | the index of the child to remove |
DLL_EXPORT void dsp_stream_del_dim | ( | dsp_stream_p | stream, |
int | n | ||
) |
stream | the target DSP stream. |
n | the index of the dimension to remove |
DLL_EXPORT void dsp_stream_del_star | ( | dsp_stream_p | stream, |
int | n | ||
) |
stream | the target DSP stream. |
n | the index of the star to remove |
DLL_EXPORT void dsp_stream_del_triangle | ( | dsp_stream_p | stream, |
int | index | ||
) |
stream | the target DSP stream. |
index | the index of the triangle to remove |
DLL_EXPORT void* dsp_stream_exec | ( | dsp_stream_p | stream, |
void * | args, | ||
... | |||
) |
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 | ) |
stream | the target DSP stream. |
DLL_EXPORT void dsp_stream_free_buffer | ( | dsp_stream_p | stream | ) |
stream | the target DSP stream. |
DLL_EXPORT dsp_t* dsp_stream_get_buffer | ( | dsp_stream_p | stream | ) |
stream | the target DSP stream. |
DLL_EXPORT int* dsp_stream_get_position | ( | dsp_stream_p | stream, |
int | index | ||
) |
stream | the target DSP stream. |
index | the position of the index on a single dimension. |
DLL_EXPORT dsp_stream_p dsp_stream_new | ( | void | ) |
DLL_EXPORT void dsp_stream_rotate | ( | dsp_stream_p | stream | ) |
stream | The stream that will be rotated in-place |
DLL_EXPORT void dsp_stream_scale | ( | dsp_stream_p | stream | ) |
stream | The stream that will be scaled in-place |
DLL_EXPORT void dsp_stream_set_buffer | ( | dsp_stream_p | stream, |
void * | buffer, | ||
int | len | ||
) |
stream | the target DSP stream. |
buffer | the new location of the buffer. |
len | the new length of the buffer. |
DLL_EXPORT void dsp_stream_set_dim | ( | dsp_stream_p | stream, |
int | dim, | ||
int | size | ||
) |
stream | the target DSP stream. |
dim | the index of the dimension to modify |
size | the size of the dimension to modify |
DLL_EXPORT int dsp_stream_set_position | ( | dsp_stream_p | stream, |
int * | pos | ||
) |
stream | the target DSP stream. |
pos | the position of the index on each dimension. |
DLL_EXPORT void dsp_stream_translate | ( | dsp_stream_p | stream | ) |
stream | The stream that will be translated in-place |