⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tmbsl7104.h

📁 PNX1500上7104芯片设置源代码!标准的C代码。
💻 H
📖 第 1 页 / 共 2 页
字号:
    tmVideoOutFormat_t 	dataFormat		/**< @b IN  video data format. */);/******************************************************************************//** Set Subcarrier Frequency    @pre    tmbsl7104Open()        @retval  TM_OK                               On success    @see    tmbslVencAnaExtConfig_t*/extern tmErrorCode_t tmbsl7104ExtSetSubcarrierFreq(	ptmbslVencAnaExt_t pInstance,        Float freqHertz );/******************************************************************************//** Get video clock type    @pre    tmbsl7104Open().    @retval TM_OK           					On success.    @note   Optional notes.        @see    tmbslVencAnaExtConfig_t*/extern tmErrorCode_t tmbsl7104ExtGetClockType( 	ptmbslVencAnaExt_t 			pInstance,		/**< @b IN  instance of interface. */    ptmbslVencAnaClockSelect_t 	inputClockType 	/**< @b IN 	input clock type. */ );/******************************************************************************//** Set video adapter    @pre    tmbsl7104Open().    @retval TM_OK           					On success.    @note   Optional notes.        @see    tmbslVencAnaExtConfig_t*/extern tmErrorCode_t tmbsl7104ExtSetAdapter( 	ptmbslVencAnaExt_t 		pInstance,		/**< @b IN  instance of interface. */    tmVideoAnalogAdapter_t 	adapter 		/**< @b IN 	video data format. */);/******************************************************************************* EXPORTED FUNCTION PROTOTYPES serving ItmbslVencAnaVbiExt               	  ********************************************************************************//******************************************************************************//** Get the video data services that are supported by the video encoder for 	VBI insertion on each line.    @pre    tmbsl7104Open().    @retval TM_OK           					On success.    @note   Optional notes.        @see    tmbslVencAnaVbiExtConfig_t*/extern tmErrorCode_t tmbsl7104GetSupportedDataServices(    ptmbslVencAnaVbiExt_t 	pInstance,		/**< @b IN  instance of interface. */    tmVideoDataService_t	field1[],      	/**< @b OUT Receives mask of supported                                             		services per line on field one. */    tmVideoDataService_t	field2[],      	/**< @b OUT Receives mask of supported 													services per line on field two. */    UInt8                	tblSize        	/**< @b IN  Number of lines in both tables. */);/******************************************************************************//** Sets the video data services that are supported by the video encoder for	VBI insertion on each line.    @pre    tmbsl7104Open().    @retval TM_OK           					On success.	@retval	TMBSL_ERR_VENCANA_BAD_UNIT_NUMBER	.	@retval TMBSL_ERR_VENCANA_NOT_INITIALIZED	.	    @note   Optional notes.        @see    tmbslVencAnaVbiExtConfig_t*/extern tmErrorCode_t tmbsl7104SetDataServices(    ptmbslVencAnaVbiExt_t   pInstance,	/**< @b IN  instance of interface. */    tmVideoDataService_t 	field1[],   /**< @b IN  Mask of used services for each line. */    tmVideoDataService_t 	field2[],   /**< @b IN  Mask of used services for each line. */    UInt8                	tblSize     /**< @b IN  Number of lines in tables. */);/******************************************************************************//** Insert a list of VBI data services to be output during the following field.    @pre    tmbsl7104Open().    @retval TM_OK           					On success.	@retval	TMBSL_ERR_VENCANA_BAD_UNIT_NUMBER	.	@retval TMBSL_ERR_VENCANA_NOT_INITIALIZED	.	@retval TMBSL_ERR_VENCANA_NOT_SUPPORTED		.	    @note   Optional notes.        @see    tmbslVencAnaVbiExtConfig_t*/extern tmErrorCode_t tmbsl7104SetVbiData (	ptmbslVencAnaVbiExt_t  	pInstance,		/**< @b IN  instance of interface. */    tmField_t         		field,      	/**< @b IN  current field. */    tmVideoDataService_t 	l21Type,        /**< @b IN  line 21 Data type. */    UInt8               	*pL21Data,      /**< @b IN  pointer to line 21 data. */    tmVideoDataService_t 	wssType,        /**< @b IN  WSS data type. */    UInt16              	*pWssData,      /**< @b IN  pointer to WSS data. */    tmVideoDataService_t 	cgmsType,       /**< @b IN  WSS data type. */    UInt8              	        *pCgmsData,     /**< @b IN  pointer to WSS data. */    tmVideoDataService_t 	vpsType,        /**< @b IN  VPS data type. */    UInt8               	*pVpsData,      /**< @b IN  pointer to VPS data. */    tmVideoDataService_t 	ttxtType,       /**< @b IN  TTXT data type. */    UInt8               	*pTtxtData,     /**< @b IN  pointer to TTXT data. */    int                 	*pTtxtLineNrs,  /**< @b IN  pointer to list of TTXT line numbers. */    int                 	nrTtxtLines		/**< @b IN  number of TTXT lines. */);/******************************************************************************//** Insert a CGMS into VBI data to be output during the following fields.    @pre    tmbsl7104Open().    @retval TM_OK           					On success.    @note   Optional notes.        @see    tmbslVencAnaVbiExtConfig_t*/extern tmErrorCode_t tmbsl7104SetCGMSData(	ptmbslVencAnaVbiExt_t  	pInstance,		/**< @b IN  instance of interface. */	UInt8               	*pCgmsData		/**< @b OUT pointer to line 20 CGMS data. */);/******************************************************************************//** Enable/Disable CGMS insertion into VBI data.    @pre    tmbsl7104Open().    @retval TM_OK           					On success.    @note   Optional notes.        @see    tmbslVencAnaVbiExtConfig_t*/extern tmErrorCode_t tmbsl7104ChangeCGMSSetup(	ptmbslVencAnaVbiExt_t  	pInstance,		/**< @b IN  instance of interface. */	Bool                   	enable			/**< @b IN  . */);/******************************************************************************* EXPORTED FUNCTION PROTOTYPES for specific for Advanced Video Out (AVO)	  ********************************************************************************//******************************************************************************//** Get this module's SW Version.    @pre    .    @retval TM_OK           					On success.    @note   Optional notes.        @see    .*/extern tmErrorCode_t tmbsl7104GetSWVersion (	ptmSWVersion_t		pVersion		/**< @b OUT Ptr to version. */);/******************************************************************************//** Get the power state of this 7104 video output device.    @pre    .    @retval TM_OK           					On success.	@retval	TMBSL_ERR_VENCANA_BAD_UNIT_NUMBER	.	@retval	TMBSL_ERR_VENCANA_NOT_INITIALIZED	.    @note   Optional notes.        @see    .*/extern tmErrorCode_t tmbsl7104VoGetPowerState(    tmUnitSelect_t		avoUnit,        /**< @b IN  AVO Unit number. */    ptmPowerState_t     pPowerState     /**< @b OUT Power state of the VO device. */);/******************************************************************************//** Set the power state of this 7104 video output device.    @pre    .    @retval TM_OK           					On success.	@retval	TMBSL_ERR_VENCANA_BAD_UNIT_NUMBER	.	@retval	TMBSL_ERR_VENCANA_NOT_INITIALIZED	.    @note   Optional notes.        @see    .*/extern tmErrorCode_ttmbsl7104VoSetPowerState (    tmUnitSelect_t      avoUnit,		/**< @b IN  AVO Unit number. */    tmPowerState_t      powerState      /**< @b IN  Power state. */);/******************************************************************************//** Manual configuration of 7104's video output registers.    @pre    .    @retval TM_OK           					On success.	@retval	TMBSL_ERR_VENCANA_BAD_UNIT_NUMBER	.	@retval	TMBSL_ERR_VENCANA_NOT_INITIALIZED	.    @note   Optional notes.        @see    .*/extern tmErrorCode_t tmbsl7104VoConfigFunc(    tmUnitSelect_t      avoUnit,        /**< @b IN  AVO Unit number. */    UInt32              reg,            /**< @b IN  Register address. */    UInt32              val             /**< @b IN  value to be set. */);/******************************************************************************//** Read configuration of 7104's video output registers.    @pre    .    @retval TM_OK           					On success.	@retval	TMBSL_ERR_VENCANA_BAD_UNIT_NUMBER	.	@retval	TMBSL_ERR_VENCANA_NOT_INITIALIZED	.    @note   Optional notes.        @see    .*/extern tmErrorCode_t tmbsl7104VoConfigReadFunc(    tmUnitSelect_t      avoUnit,        /**< @b IN  AVO Unit number. */    UInt8              reg,            /**< @b IN  Register address. */    UInt8*             pval            /**< @b IN  value to read. */);#ifdef __cplusplus}#endif#endif // TMBSL_7104_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -