summaryrefslogtreecommitdiffstats
path: root/libhb/oclnv12toyuv.h
blob: 90d14055e03e3ff9c379b33836255e515fb24e08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* oclnv12toyuv.h

   Copyright (c) 2003-2014 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 <peng@multicorewareinc.com> <http://www.multicorewareinc.com/>
            Li   Cao <li@multicorewareinc.com> <http://www.multicorewareinc.com/>

 */

#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
 */
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