tests: fix build on os/x
[schroedinger.git] / schroedinger / schrogpumotion.h
blob1681bbb91a857eee25bb5669f1955bce551c446c
1 #ifndef __SCHRO_GPUMOTION_H__
2 #define __SCHRO_GPUMOTION_H__
4 #include <schroedinger/schromotion.h>
5 #include <schroedinger/schrogpuframe.h>
7 SCHRO_BEGIN_DECLS
9 #ifdef SCHRO_ENABLE_UNSTABLE_API
11 typedef struct _SchroGPUMotion SchroGPUMotion;
13 SchroGPUMotion *schro_gpumotion_new(SchroCUDAStream stream);
14 void schro_gpumotion_free(SchroGPUMotion *rv);
16 /** Initialize GPU structures */
17 void schro_gpumotion_init(SchroGPUMotion *self, SchroMotion *motion);
18 /** Copy CPU to GPU structure */
19 void schro_gpumotion_copy(SchroGPUMotion *self, SchroMotion *motion);
20 /** Render at GPU */
21 void schro_gpumotion_render(SchroGPUMotion *self, SchroMotion *motion, SchroFrame *gdest);
23 #endif
25 SCHRO_END_DECLS
27 #endif