summaryrefslogtreecommitdiff
path: root/libavutil/opencl.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-09-14 21:19:29 -0300
committerJames Almer <jamrial@gmail.com>2014-09-15 15:50:17 -0300
commit95a064f5303478b70d2e1410f72505438ace2bb3 (patch)
tree315167f6d26a759e31b5111a08ce1dda98266b44 /libavutil/opencl.h
parentaf7d2606261ee06ada80c4dd8dd8d68bfcf008d2 (diff)
avutil: remove obsolete FF_API_OLD_OPENCL cruft
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/opencl.h')
-rw-r--r--libavutil/opencl.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/libavutil/opencl.h b/libavutil/opencl.h
index 9e6dc55ee8..4655cba552 100644
--- a/libavutil/opencl.h
+++ b/libavutil/opencl.h
@@ -69,14 +69,6 @@ typedef struct {
AVOpenCLPlatformNode **platform_node;
} AVOpenCLDeviceList;
-#if FF_API_OLD_OPENCL
-typedef struct {
- cl_command_queue command_queue;
- cl_kernel kernel;
- char kernel_name[AV_OPENCL_MAX_KERNEL_NAME_SIZE];
-} AVOpenCLKernelEnv;
-#endif
-
typedef struct {
cl_platform_id platform_id;
cl_device_type device_type;
@@ -187,19 +179,6 @@ int av_opencl_register_kernel_code(const char *kernel_code);
*/
int av_opencl_init(AVOpenCLExternalEnv *ext_opencl_env);
-#if FF_API_OLD_OPENCL
-/**
- * Create kernel object in the specified kernel environment.
- *
- * @param env pointer to kernel environment which is filled with
- * the environment used to run the kernel
- * @param kernel_name kernel function name
- * @return >=0 on success, a negative error code in case of failure
- * @deprecated, use clCreateKernel
- */
-int av_opencl_create_kernel(AVOpenCLKernelEnv *env, const char *kernel_name);
-#endif
-
/**
* compile specific OpenCL kernel source
*
@@ -292,17 +271,6 @@ int av_opencl_buffer_read_image(uint8_t **dst_data, int *plane_size, int plane_n
*/
void av_opencl_buffer_release(cl_mem *cl_buf);
-#if FF_API_OLD_OPENCL
-/**
- * Release kernel object.
- *
- * @param env kernel environment where the kernel object was created
- * with av_opencl_create_kernel()
- * @deprecated, use clReleaseKernel
- */
-void av_opencl_release_kernel(AVOpenCLKernelEnv *env);
-#endif
-
/**
* Release OpenCL environment.
*