mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 16:40:18 +00:00
TODO: replace gettimeofday() calls (now commented out) with std::chrono::steady_clock (or similar).
23 lines
619 B
Plaintext
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
|
|
|