RetroArch
Functions
float_to_s16.h File Reference
#include <retro_common_api.h>
#include <stdint.h>
#include <stddef.h>
Include dependency graph for float_to_s16.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_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()

RETRO_BEGIN_DECLS 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.

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: