Files
UltraGrid/ldgm-coding/gpu.cuh
Martin Pulec 7849d4fcbe LDGM: remove UG and Linux dependency
TODO: replace gettimeofday() calls (now commented out) with
std::chrono::steady_clock (or similar).
2014-10-16 17:33:05 +02:00

23 lines
619 B
Plaintext

#ifdef __cplusplus
extern "C" {
#endif
#if defined _MSC_VER || defined __MINGW32__
#ifdef EXPORT_DLL_SYMBOLS
#define CUDA_DLL_API __declspec(dllexport)
#else
#define CUDA_DLL_API __declspec(dllimport)
#endif
#else // other platforms
#define CUDA_DLL_API
#endif
CUDA_DLL_API void gpu_encode_upgrade (char* source_data,int *OUTBUF, int * PCM,int param_k,int param_m,int w_f,int packet_size ,int buf_size);
CUDA_DLL_API void gpu_decode_upgrade(char *data, int * PCM,int* SYNC_VEC,int* ERROR_VEC, int not_done, int *frame_size,int *, int*,int M,int K,int w_f,int buf_size,int packet_size);
#ifdef __cplusplus
}
#endif