schrocuda

schrocuda

Synopsis




typedef             SchroCUDAStream;
                    SchroGPUMotion;
#define             SCHRO_FRAME_IS_CUDA                 (frame)
void                schro_cuda_init                     (void);
void                schro_gpumotion_copy                (SchroGPUMotion *self,
                                                         SchroMotion *motion);
void                schro_gpumotion_free                (SchroGPUMotion *rv);
void                schro_gpumotion_init                (SchroGPUMotion *self,
                                                         SchroMotion *motion);
SchroGPUMotion*     schro_gpumotion_new                 (SchroCUDAStream stream);
void                schro_gpumotion_render              (SchroGPUMotion *self,
                                                         SchroMotion *motion,
                                                         SchroFrame *gdest);
void                schro_frame_to_gpu                  (SchroFrame *dest,
                                                         SchroFrame *src);
void                schro_gpuframe_add                  (SchroFrame *dest,
                                                         SchroFrame *src);
void                schro_gpuframe_compare              (SchroFrame *a,
                                                         SchroFrame *b);
void                schro_gpuframe_convert              (SchroFrame *dest,
                                                         SchroFrame *src);
void                schro_gpuframe_inverse_iwt_transform
                                                        (SchroFrame *frame,
                                                         SchroParams *params);
void                schro_gpuframe_iwt_transform        (SchroFrame *frame,
                                                         SchroParams *params);
void                schro_gpuframe_subtract             (SchroFrame *dest,
                                                         SchroFrame *src);
void                schro_gpuframe_to_cpu               (SchroFrame *dest,
                                                         SchroFrame *src);
void                schro_gpuframe_upsample             (SchroFrame *dst,
                                                         SchroFrame *src);
void                schro_gpuframe_zero                 (SchroFrame *dest);
void                schro_upsampled_gpuframe_free       (SchroUpsampledFrame *x);
SchroUpsampledFrame* schro_upsampled_gpuframe_new       (SchroVideoFormat *fmt);
void                schro_upsampled_gpuframe_upsample   (SchroUpsampledFrame *rv,
                                                         SchroFrame *temp_f,
                                                         SchroFrame *src,
                                                         SchroVideoFormat *fmt);

Description

Details

SchroCUDAStream

typedef int SchroCUDAStream;


SchroGPUMotion

typedef struct _SchroGPUMotion SchroGPUMotion;


SCHRO_FRAME_IS_CUDA()

#define SCHRO_FRAME_IS_CUDA(frame) ((frame)->domain && ((frame)->domain->flags & SCHRO_MEMORY_DOMAIN_CUDA))

frame :

schro_cuda_init ()

void                schro_cuda_init                     (void);


schro_gpumotion_copy ()

void                schro_gpumotion_copy                (SchroGPUMotion *self,
                                                         SchroMotion *motion);

self :
motion :

schro_gpumotion_free ()

void                schro_gpumotion_free                (SchroGPUMotion *rv);

rv :

schro_gpumotion_init ()

void                schro_gpumotion_init                (SchroGPUMotion *self,
                                                         SchroMotion *motion);

self :
motion :

schro_gpumotion_new ()

SchroGPUMotion*     schro_gpumotion_new                 (SchroCUDAStream stream);

stream :
Returns :

schro_gpumotion_render ()

void                schro_gpumotion_render              (SchroGPUMotion *self,
                                                         SchroMotion *motion,
                                                         SchroFrame *gdest);

self :
motion :
gdest :

schro_frame_to_gpu ()

void                schro_frame_to_gpu                  (SchroFrame *dest,
                                                         SchroFrame *src);

dest :
src :

schro_gpuframe_add ()

void                schro_gpuframe_add                  (SchroFrame *dest,
                                                         SchroFrame *src);

dest :
src :

schro_gpuframe_compare ()

void                schro_gpuframe_compare              (SchroFrame *a,
                                                         SchroFrame *b);

a :
b :

schro_gpuframe_convert ()

void                schro_gpuframe_convert              (SchroFrame *dest,
                                                         SchroFrame *src);

dest :
src :

schro_gpuframe_inverse_iwt_transform ()

void                schro_gpuframe_inverse_iwt_transform
                                                        (SchroFrame *frame,
                                                         SchroParams *params);

frame :
params :

schro_gpuframe_iwt_transform ()

void                schro_gpuframe_iwt_transform        (SchroFrame *frame,
                                                         SchroParams *params);

frame :
params :

schro_gpuframe_subtract ()

void                schro_gpuframe_subtract             (SchroFrame *dest,
                                                         SchroFrame *src);

dest :
src :

schro_gpuframe_to_cpu ()

void                schro_gpuframe_to_cpu               (SchroFrame *dest,
                                                         SchroFrame *src);

dest :
src :

schro_gpuframe_upsample ()

void                schro_gpuframe_upsample             (SchroFrame *dst,
                                                         SchroFrame *src);

dst :
src :

schro_gpuframe_zero ()

void                schro_gpuframe_zero                 (SchroFrame *dest);

dest :

schro_upsampled_gpuframe_free ()

void                schro_upsampled_gpuframe_free       (SchroUpsampledFrame *x);

x :

schro_upsampled_gpuframe_new ()

SchroUpsampledFrame* schro_upsampled_gpuframe_new       (SchroVideoFormat *fmt);

fmt :
Returns :

schro_upsampled_gpuframe_upsample ()

void                schro_upsampled_gpuframe_upsample   (SchroUpsampledFrame *rv,
                                                         SchroFrame *temp_f,
                                                         SchroFrame *src,
                                                         SchroVideoFormat *fmt);

rv :
temp_f :
src :
fmt :