![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Wrappers for nanors vectorization with different ISA options. More...
#include "../third-party/nanors/deps/obl/autoshim.h"
#include "../third-party/nanors/rs.c"
#include "rswrapper.h"
Macros | |
#define | axpy DECORATE_FUNC(axpy, ISA_SUFFIX) |
#define | DECORATE_FUNC(a, b) DECORATE_FUNC_I(a, b) |
#define | DECORATE_FUNC_I(a, b) a##b |
#define | gemm DECORATE_FUNC(gemm, ISA_SUFFIX) |
#define | invert_mat DECORATE_FUNC(invert_mat, ISA_SUFFIX) |
#define | ISA_SUFFIX _def |
#define | NDEBUG |
#define | obl_axpy DECORATE_FUNC(obl_axpy, ISA_SUFFIX) |
#define | obl_axpy_ref DECORATE_FUNC(obl_axpy_ref, ISA_SUFFIX) |
#define | obl_axpyb32 DECORATE_FUNC(obl_axpyb32, ISA_SUFFIX) |
#define | obl_axpyb32_ref DECORATE_FUNC(obl_axpyb32_ref, ISA_SUFFIX) |
#define | obl_scal DECORATE_FUNC(obl_scal, ISA_SUFFIX) |
#define | obl_scal_ref DECORATE_FUNC(obl_scal_ref, ISA_SUFFIX) |
#define | obl_swap DECORATE_FUNC(obl_swap, ISA_SUFFIX) |
#define | reed_solomon_decode DECORATE_FUNC(reed_solomon_decode, ISA_SUFFIX) |
#define | reed_solomon_encode DECORATE_FUNC(reed_solomon_encode, ISA_SUFFIX) |
#define | reed_solomon_init(void) DECORATE_FUNC(reed_solomon_init, ISA_SUFFIX) |
This initializes the RS function pointers to the best vectorized version available. | |
#define | reed_solomon_new DECORATE_FUNC(reed_solomon_new, ISA_SUFFIX) |
#define | reed_solomon_new_static DECORATE_FUNC(reed_solomon_new_static, ISA_SUFFIX) |
#define | reed_solomon_release DECORATE_FUNC(reed_solomon_release, ISA_SUFFIX) |
#define | scal DECORATE_FUNC(scal, ISA_SUFFIX) |
Variables | |
reed_solomon_decode_t | reed_solomon_decode_fn |
reed_solomon_encode_t | reed_solomon_encode_fn |
reed_solomon_new_t | reed_solomon_new_fn |
reed_solomon_release_t | reed_solomon_release_fn |
Wrappers for nanors vectorization with different ISA options.
void reed_solomon_init | ( | void | ) | DECORATE_FUNC(reed_solomon_init, ISA_SUFFIX) |
This initializes the RS function pointers to the best vectorized version available.
The streaming code will directly invoke these function pointers during encoding.