Loading...
Searching...
No Matches
volk_16ic_convert_32fc

Overview

Converts a complex vector of 16-bits integer each component into a complex vector of 32-bits float each component.

Dispatcher Prototype

void volk_16ic_convert_32fc(lv_32fc_t* outputVector, const lv_16sc_t* inputVector,
unsigned int num_points)

Inputs

- inputVector: The complex 16-bit integer input data buffer.
- num_points: The number of data values to be converted.

Outputs

- outputVector: pointer to a vector holding the converted vector.

Example

int N = 10000;
unsigned int alignment = volk_get_alignment();
lv_16sc_t* input = (lv_16sc_t*)volk_malloc(sizeof(lv_16sc_t)*N, alignment);
lv_32fc_t* output = (lv_32fc_t*)volk_malloc(sizeof(lv_32fc_t)*N, alignment);
volk_16ic_convert_32f(output, input, N);
volk_free(input);
volk_free(output);