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/oclnv12toyuv.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/oclnv12toyuv.h')
-rw-r--r-- | libhb/oclnv12toyuv.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/libhb/oclnv12toyuv.h b/libhb/oclnv12toyuv.h index 4fa596662..de9282bfa 100644 --- a/libhb/oclnv12toyuv.h +++ b/libhb/oclnv12toyuv.h @@ -11,20 +11,17 @@ */ -#ifdef USE_OPENCL -#ifndef RENDER_CL_H -#define RENDER_CL_H +#ifndef HB_OCLNV12TOYUV_H +#define HB_OCLNV12TOYUV_H #include "common.h" #include "extras/cl.h" #include "openclwrapper.h" -/** +/* * nv12 to yuv interface * bufi is input frame of nv12, w is input frame width, h is input frame height */ -#ifdef USE_HWD -int hb_ocl_nv12toyuv( uint8_t *bufi[], int p, int w, int h, int *crop, hb_va_dxva2_t *dxva2, int decomb, int detelecine ); -#endif -#endif -#endif +int hb_ocl_nv12toyuv(uint8_t *bufi[], int p, int w, int h, int *crop, hb_va_dxva2_t *dxva2, int decomb, int detelecine); + +#endif // HB_OCLNV12TOYUV_H |