diff options
author | Rodeo <[email protected]> | 2013-11-08 21:21:02 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-11-08 21:21:02 +0000 |
commit | 43f0bc9d538c86ea75a5cd627a81452e9d76b825 (patch) | |
tree | a6bde5c2174543e4ea282ab26b6a2c76829105eb /libhb/internal.h | |
parent | d0a2953efbce340e34a971b9481024a51ae52383 (diff) |
OpenCL: use the new library loading architecture for all OpenCL code.
An OpenCL SDK is no longer needed to build OpenCL support.
Note: as a result, the --enable-opencl configure option is removed.
Also, libOpenCL is no longer needed to run the application (it is still necessary to use OpenCL features, of course).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5886 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/internal.h')
-rw-r--r-- | libhb/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/internal.h b/libhb/internal.h index e4d5ed71c..3920cf025 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -8,6 +8,7 @@ */ #include "hbffmpeg.h" +#include "extras/cl.h" /*********************************************************************** * common.c @@ -121,14 +122,13 @@ struct hb_buffer_s void *filter_details; } qsv_details; -#ifdef USE_OPENCL + /* OpenCL */ struct cl_data { cl_mem buffer; cl_event last_event; enum { HOST, DEVICE } buffer_location; } cl; -#endif // PICTURESUB subtitle packets: |