📄 hi_vda.h
字号:
/****************************************************************************** Copyright (C), 2001-2011, Hisilicon Tech. Co., Ltd. ****************************************************************************** File Name : hi_vda.h Version : Initial Draft Author : Hisilicon multimedia software group Created : 2004/08/06 Last Modified : Description : Provides all VDA definitions. Function List : History : 1.Date : 2004/08/06 Author : yuanyabin Modification: Created file******************************************************************************/#ifndef __HI_INC_VDA_H__#define __HI_INC_VDA_H__#ifdef __cplusplus#if __cplusplusextern "C"{#endif#endif /* __cplusplus */#define ENCODER_GET_CAPABILITIES 1#define ENCODER_SET_NORM 2#define ENCODER_SET_INPUT 3 /* 0 <= input < #inputs */#define ENCODER_SET_OUTPUT 4 /* 0 <= output < #outputs */#define ENCODER_ENABLE_OUTPUT 5 /* boolean output enable control */#define VIDEO_MODE_656_PAL 0#define VIDEO_MODE_656_NTSC 1#define VIDEO_MODE_601_PAL_MASTER 2#define VIDEO_MODE_601_NTSC_MASTER 3#define VIDEO_MODE_601_PAL_SLAVER 4#define VIDEO_MODE_601_NTSC_SLAVER 5struct video_encoder_capability { /* this name is too long */unsigned int flags; #define VIDEO_ENCODER_PAL 1 /* can decode PAL signal */ #define VIDEO_ENCODER_NTSC 2 /* can decode NTSC */ #define VIDEO_ENCODER_SECAM 4 /* can decode SECAM */ #define VIDEO_ENCODER_AUTO 8 /* can autosense norm */ #define VIDEO_ENCODER_CCIR 16 /* CCIR-601 pixel rate (720 pixels per line) instead of square pixel rate */ #define VIDEO_ENCODER_MASTER 32 /* can act as master or slaver. */int inputs; /* number of inputs */int outputs; /* number of outputs */};HI_RET VDA_Init(IN INT32 s32Ccir, IN INT32 s32Norm, IN INT32 s32Master);HI_RET VDA_Command(IN UINT32 u32Cmd, IN void *pArg);#ifdef __cplusplus#if __cplusplus}#endif#endif /* __cplusplus */#endif /* End of #ifndef __HI_INC_VDA_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -