1 #ifndef __SCHRO_GPUMOTION_H__
2 #define __SCHRO_GPUMOTION_H__
4 #include <schroedinger/schromotion.h>
5 #include <schroedinger/schrogpuframe.h>
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
);
21 void schro_gpumotion_render(SchroGPUMotion
*self
, SchroMotion
*motion
, SchroFrame
*gdest
);