forked from linux-sunxi/libvdpau-sunxi
-
Notifications
You must be signed in to change notification settings - Fork 8
/
veisp.h
26 lines (22 loc) · 1.01 KB
/
veisp.h
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
#ifndef _VEISP_H_
#define _VEISP_H_
#include "ve.h"
#if 0
void veisp_setPicSize(int width, int height);
void veisp_setInBufferPtr(void *lumaPtr, void* chromaPtr);
void veisp_setOutBufferPtr(void *lumaPtr, void* chromaPtr);
void veisp_selectSubEngine();
void veisp_initCtrl(int input_fmt);
void veisp_trigger(void);
void veisp_setScalerFactor();
void ConvertMb32420ToNv21C(char* pSrc,char* pDst,int nPicWidth, int nPicHeight);
void ConvertMb32420ToNv21Y(char* pSrc,char* pDst,int nWidth, int nHeight);
void ConvertMb32420ToYv12C(char* pSrc,char* pDst,int nPicWidth, int nPicHeight);
void ConvertMb32420ToYv12Y(char* pSrc,char* pDst,int nWidth, int nHeight);
#endif
void cedarv_disp_init();
void cedarv_disp_close();
int cedarv_disp_convertMb2Yuv420(int width, int height, CEDARV_MEMORY y, CEDARV_MEMORY uv,
CEDARV_MEMORY convY, CEDARV_MEMORY convU, CEDARV_MEMORY convV);
int cedarv_disp_convertARGB2Yuv420(int width, int height, CEDARV_MEMORY y, CEDARV_MEMORY convY, CEDARV_MEMORY convUV);
#endif