Vector Optimized Library of Kernels  3.0.0
Architecture-tuned implementations of math kernels

Overview

Converts 16-bit shorts to scaled 32-bit floating point values.

Dispatcher Prototype

void volk_16i_s32f_convert_32f(float* outputVector, const int16_t* inputVector, const
float scalar, unsigned int num_points);

Inputs

  • inputVector: The input vector of 16-bit shorts.
  • scalar: The value divided against each point in the output buffer.
  • num_points: The number of complex data points.

Outputs

  • outputVector: The output vector of 8-bit chars.

Example

int N = 10000;
volk_16i_s32f_convert_32f();
VOLK_API void volk_free(void *aptr)
Free's memory allocated by volk_malloc.
Definition: volk_malloc.c:80