Blame gegl/opencl/gegl-cl-color.h
|
Packit Service |
2781ba |
#ifndef __GEGL_CL_COLOR_H__
|
|
Packit Service |
2781ba |
#define __GEGL_CL_COLOR_H__
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
#include <gegl.h>
|
|
Packit Service |
2781ba |
#include "gegl-cl-types.h"
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
typedef enum
|
|
Packit Service |
2781ba |
{
|
|
Packit Service |
2781ba |
GEGL_CL_COLOR_NOT_SUPPORTED = 0,
|
|
Packit Service |
2781ba |
GEGL_CL_COLOR_EQUAL = 1,
|
|
Packit Service |
2781ba |
GEGL_CL_COLOR_CONVERT = 2
|
|
Packit Service |
2781ba |
} gegl_cl_color_op;
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
void gegl_cl_color_compile_kernels(void);
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
gboolean gegl_cl_color_babl (const Babl *buffer_format, size_t *bytes);
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
gegl_cl_color_op gegl_cl_color_supported (const Babl *in_format, const Babl *out_format);
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
gboolean gegl_cl_color_conv (cl_mem in_tex, cl_mem aux_tex, const size_t size,
|
|
Packit Service |
2781ba |
const Babl *in_format, const Babl *out_format);
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
#endif
|