diff options
Diffstat (limited to 'libhb/oclnv12toyuv.h')
-rw-r--r-- | libhb/oclnv12toyuv.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libhb/oclnv12toyuv.h b/libhb/oclnv12toyuv.h new file mode 100644 index 000000000..86f7673bb --- /dev/null +++ b/libhb/oclnv12toyuv.h @@ -0,0 +1,35 @@ +/* oclnv12toyuv.h + + Copyright (c) 2003-2012 HandBrake Team + This file is part of the HandBrake source code + Homepage: <http://handbrake.fr/>. + It may be used under the terms of the GNU General Public License v2. + For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html + + Authors: Peng Gao <[email protected]> <http://www.multicorewareinc.com/> + Li Cao <[email protected]> <http://www.multicorewareinc.com/> + + */ + +#ifdef USE_OPENCL +#ifndef RENDER_CL_H +#define RENDER_CL_H + +#if defined(__APPLE__) +#include <OpenCL/cl.h> +#else +#include <CL/cl.h> +#endif + +#include "common.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 |