RetroArch
Functions
float_to_s16.c File Reference
#include <stdint.h>
#include <stddef.h>
#include <features/features_cpu.h>
#include <audio/conversion/float_to_s16.h>
Include dependency graph for float_to_s16.c:

Functions

void convert_float_to_s16 (int16_t *out, const float *in, size_t samples)
 
void convert_float_to_s16_init_simd (void)
 

Function Documentation

◆ convert_float_to_s16()

void convert_float_to_s16 ( int16_t out,
const float *  in,
size_t  samples 
)

convert_float_to_s16: : output buffer : input buffer : size of samples to be converted

Converts floating point to signed integer 16-bit.

C implementation callback function.

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

◆ convert_float_to_s16_init_simd()

void convert_float_to_s16_init_simd ( void  )

convert_float_to_s16_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: