1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| #ifndef __RESIZE_NPP_H__
| #define __RESIZE_NPP_H__
|
| #ifdef __cplusplus
| extern "C"{
| #endif
|
| typedef void* convHandle;
| convHandle conv_create(const int srcW, const int srcH, const int dstW, const int dstH, const int gpu);
|
| void conv_destroy(convHandle h);
| int yuv2bgrandresize(convHandle h, void *yuv, unsigned char **bgr, int *bgrLen, unsigned char **scaleBGR, int *scaleBGRLen);
| int yuv2bgr(convHandle h, void *yuv, unsigned char **bgr, int *bgrLen);
| int yuv2resizedbgr(convHandle h, void *yuv, unsigned char **bgr, int *bgrLen);
|
| int resizebgr(convHandle h, void *data, unsigned char **resized, int *len);
| int resizeyuv(convHandle h, void *data, unsigned char **resized, int *len);
|
| #ifdef __cplusplus
| }
| #endif
|
| #endif //__RESIZE_NPP_H__
|
|