RetroArch
Functions
s16_to_float.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <retro_common_api.h>
Include dependency graph for s16_to_float.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

RETRO_BEGIN_DECLS void convert_s16_to_float (float *out, const int16_t *in, size_t samples, float gain)
 
void convert_s16_to_float_init_simd (void)
 

Function Documentation

◆ convert_s16_to_float()

RETRO_BEGIN_DECLS void convert_s16_to_float ( float *  out,
const int16_t in,
size_t  samples,
float  gain 
)

convert_s16_to_float: : output buffer : input buffer : size of samples to be converted : gain applied (.e.g. audio volume)

Converts from signed integer 16-bit to floating point.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ convert_s16_to_float_init_simd()

void convert_s16_to_float_init_simd ( void  )

convert_s16_to_float_init_simd:

Sets up function pointers for conversion functions based on CPU features.

Here is the call graph for this function:
Here is the caller graph for this function: