vmix.h
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:2k
- /*****************************************************************************
- File Name : vmix.h
- Description: 5105 VMIX header
- COPYRIGHT (C) STMicroelectronics 2005.
- *****************************************************************************/
- /* Define to prevent recursive inclusion */
- #ifndef __VMIX_H
- #define __VMIX_H
- /* Includes --------------------------------------------------------------- */
- #include "stddefs.h" /* STAPI includes */
- #include "stvmix.h"
- /* Exported Types ------------------------------------------------------ */
- /* Exported Constants -------------------------------------------------- */
- /* Exported Variables -------------------------------------------------- */
- extern STVMIX_Handle_t g_KB_VmixHandle;
- extern ST_DeviceName_t g_KB_VmixDeviceName;
- /* Exported Macros ----------------------------------------------------- */
- #define KB_VMIX_DEVICE_TYPE STVMIX_COMPOSITOR_FIELD_COMBINED_422//STVMIX_COMPOSITOR
- #define KB_VMIX_BASE_ADDRESS 0
- #define KB_VMIX_DEVICE_BASE_ADDRESS 0
- #ifndef KB_VMIX_COMPO_BASE_ADDRESS
- #define KB_VMIX_COMPO_BASE_ADDRESS (BLITTER_BASE_ADDRESS + 0xA00)
- #endif
- #ifndef KB_VMIX_GDMA_BASE_ADDRESS
- #define KB_VMIX_GDMA_BASE_ADDRESS ST5105_GDMA1_BASE_ADDR
- #endif
- #ifndef KB_MIX_TILE_RAM_BASE_ADDRESS
- #define KB_MIX_TILE_RAM_BASE_ADDRESS ST5105_TILE_RAM_BASE_ADDRESS
- #endif
- #ifndef KB_MIX_TILE_RAM_SIZE
- #define KB_MIX_TILE_RAM_SIZE 16*1024 /*64*1024*/
- #endif
- /* Exported Functions -------------------------------------------------- */
- ST_ErrorCode_t KB_VmixSetup(void);
- ST_ErrorCode_t KB_VmixSetScreenParams(void);
- //added by whale 07/06/26
- ST_ErrorCode_t KB_VmixSetAspectRatio(STGXOBJ_AspectRatio_t nAspectRatio);
- #endif /* __VMIX_H */
- /* EOF --------------------------------------------------------------------- */