作为一名新人菜菜,最近在弄DM8148的芯片,一直在看程序,有些地方存在疑惑,请求指教~!谢谢~!
/**
\brief Display Device Parameter
*/
typedef struct VDIS_DEV_PARAM_S
{
UInt32 enable;
/**< Enable/Disable Venc usage */ 是不是应该改为 /**< Enable/Disable Vdis usage */
Demo代码是:
vdisParams.deviceParams[VDIS_DEV_HDCOMP].enable = FALSE;//TRUE; //
这是 vdis Params变量 结构体类型的定义
/**
\brief Display Sub-system initialization parameters
*/
typedef struct
{
UInt32 numUserChannels;
/**< Number of displays that are active */
UInt32 tiedDevicesMask;
/**< Vencs tied together. This can be a ORed value of
VDIS_VENC_HDMI,
VDIS_VENC_HDCOMP,
VDIS_VENC_DVO2,
VDIS_VENC_SD */
UInt32 enableConfigExtThsFilter;
/**< When FALSE do not configure THS from M3 / McFW side */
UInt32 enableConfigExtVideoEncoder;
/**< When FALSE do not configure Sii9022A from M3 / McFW side */
UInt32 enableEdgeEnhancement;
/**< Enable/Disable edge enhancement */
UInt32 enableLayoutGridDraw;
/**< Enable/Disable Drawing of Layout specific Grids: TRUE/FALSE */
VDIS_DEV_PARAM_S deviceParams[VDIS_DEV_MAX];
/**< Device parameters */
VDIS_MOSAIC_S mosaicParams[VDIS_DEV_MAX];
/**< Initial mosaic for each display device */
UInt32 numChannels;
/**< Number of channel inputs to display device */
UInt32 mosaicLayoutResolution[VDIS_DEV_MAX];
/**< SWMS output Layout Resolution */
Bool enableHdmiControl;
/**< Enables a thread to monitor interface, used to detect TV plug in/plug
out. */
} VDIS_PARAMS_S;
Chris Meng:
你好,
应该是拼写错误。