本文整理汇总了C++中dt_opencl_free_kernel函数的典型用法代码示例。如果您正苦于以下问题:C++ dt_opencl_free_kernel函数的具体用法?C++ dt_opencl_free_kernel怎么用?C++ dt_opencl_free_kernel使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了dt_opencl_free_kernel函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: cleanup_global
void cleanup_global(dt_iop_module_so_t *self)
{
dt_iop_rawprepare_global_data_t *gd = (dt_iop_rawprepare_global_data_t *)self->data;
dt_opencl_free_kernel(gd->kernel_rawprepare_4f);
dt_opencl_free_kernel(gd->kernel_rawprepare_1f);
free(self->data);
self->data = NULL;
}
示例2: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_temperature_global_data_t *gd = (dt_iop_temperature_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_whitebalance_4f);
dt_opencl_free_kernel(gd->kernel_whitebalance_1f);
free(module->data);
module->data = NULL;
}
示例3: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_graduatednd_global_data_t *gd = (dt_iop_graduatednd_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_graduatedndp);
dt_opencl_free_kernel(gd->kernel_graduatedndm);
free(module->data);
module->data = NULL;
}
示例4: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_invert_global_data_t *gd = (dt_iop_invert_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_invert_4f);
dt_opencl_free_kernel(gd->kernel_invert_1f);
free(module->data);
module->data = NULL;
}
示例5: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_highlights_global_data_t *gd = (dt_iop_highlights_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_highlights_4f_clip);
dt_opencl_free_kernel(gd->kernel_highlights_1f_lch);
dt_opencl_free_kernel(gd->kernel_highlights_1f_clip);
free(module->data);
module->data = NULL;
}
示例6: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_global_tonemap_global_data_t *gd = (dt_iop_global_tonemap_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_pixelmax_first);
dt_opencl_free_kernel(gd->kernel_pixelmax_second);
dt_opencl_free_kernel(gd->kernel_global_tonemap_reinhard);
dt_opencl_free_kernel(gd->kernel_global_tonemap_drago);
dt_opencl_free_kernel(gd->kernel_global_tonemap_filmic);
free(module->data);
module->data = NULL;
}
示例7: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_splittoning_global_data_t *gd = (dt_iop_splittoning_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_splittoning);
free(module->data);
module->data = NULL;
}
示例8: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_tonecurve_global_data_t *gd = (dt_iop_tonecurve_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_tonecurve);
free(module->data);
module->data = NULL;
}
示例9: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_lowlight_global_data_t *gd = (dt_iop_lowlight_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_lowlight);
free(module->data);
module->data = NULL;
}
示例10: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_colorcorrection_global_data_t *gd = (dt_iop_colorcorrection_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_colorcorrection);
free(module->data);
module->data = NULL;
}
示例11: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_channelmixer_global_data_t *gd = (dt_iop_channelmixer_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_channelmixer);
free(module->data);
module->data = NULL;
}
示例12: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_overexposed_global_data_t *gd = (dt_iop_overexposed_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_overexposed);
free(module->data);
module->data = NULL;
}
示例13: cleanup_global
void cleanup_global(dt_iop_module_so_t *self)
{
dt_iop_levels_global_data_t *gd = (dt_iop_levels_global_data_t *)self->data;
dt_opencl_free_kernel(gd->kernel_levels);
free(self->data);
self->data = NULL;
}
示例14: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_zonesystem_global_data_t *gd = (dt_iop_zonesystem_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_zonesystem);
free(module->data);
module->data = NULL;
}
示例15: cleanup_global
void cleanup_global(dt_iop_module_so_t *module)
{
dt_iop_borders_global_data_t *gd = (dt_iop_borders_global_data_t *)module->data;
dt_opencl_free_kernel(gd->kernel_borders_fill);
free(module->data);
module->data = NULL;
}