📄 tmbsl7113.h
字号:
// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113SetVBIMode ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoVBIMode_t mode // I: VBI mode );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113SetSlicerMode://// DESCRIPTION: sets VBI slicer mode //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113SetSlicerMode ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoSlicerMode_t mode // I: Slicer mode );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113CloseVBI://// DESCRIPTION: frees all allocated VBI feature ressources //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113CloseVBI ( tmUnitSelect_t aviUnit // I: AVI Unit number );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetVSyncFallingEdge://// DESCRIPTION: returns line number where falling edge of vertical sync happens// this is important to determine the active video area //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetVSyncFallingEdge ( tmUnitSelect_t aviUnit, // I: AVI Unit number UInt32 *pLineNumberOddField, // O: line number odd field UInt32 *pLineNumberEvenField // O: line number even field );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetStatus://// DESCRIPTION: retrieves status information of the decoder chip//// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetStatus ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoStatusType_t type, // I: status type to be received UInt32 *pState // O: receives status value );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetSupportedDataServices://// DESCRIPTION: retrieves supported HW slicing for each VBI line //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetSupportedDataServices ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoDataService_t fieldOne[], tmVideoDataService_t fieldTwo[], UInt8 tblSize );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113SetDataServices://// DESCRIPTION: sets HW slicing for each line //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113SetDataServices ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoDataService_t fieldOne[], // I: table to assign service tmVideoDataService_t fieldTwo[], // I: table to assign service UInt8 tblSize // I: size of table in bytes );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113EnableSlicing://// DESCRIPTION: enables hardware slicer //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113EnableSlicing ( tmUnitSelect_t aviUnit, // I: AVI Unit number Bool enable // I: set True to enable );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113SetSlicerVideoStandard://// DESCRIPTION: sets analog standard for slicing //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113SetSlicerVideoStandard ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoAnalogStandard_t standard); // I: new video standard//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetSlicerVideoStandard://// DESCRIPTION: returns current analog standard used by the hardware slicer //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetSlicerVideoStandard ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoAnalogStandard_t *pStandard // O: current video standard );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113ToggleFieldID://// DESCRIPTION: toggles field ID to correct field assignment//// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113ToggleFieldID ( tmUnitSelect_t aviUnit, // I: AVI Unit number Bool toggle // I: set True to enable toggling );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113SetSlicerInput://// DESCRIPTION: sets slice input //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113SetSlicerInput ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoAnalogAdapter_t adapter, // I: type (CVBS,SVideo,...) UInt32 adapterIndex // I: index of this type );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetSlicerInput://// DESCRIPTION: returns current slice input//// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetSlicerInput ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoAnalogAdapter_t *pAdapter, // O: receives type UInt32 *pAdapterIndex // O: receives index );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetSlicerLineFlags://// DESCRIPTION: get status for each line (service found or not) //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetSlicerLineFlags ( tmUnitSelect_t aviUnit, // I: AVI Unit number Bool fieldOne[], Bool fieldTwo[], UInt8 tblSize );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetDataLength://// DESCRIPTION: returns the data length for the specified data service//// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetDataLength ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoDataService_t dataService, // I: data service UInt32 *pDataLength // O: reveives data length );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetSlicedData://// DESCRIPTION: returns sliced data according to requested service //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetSlicedData ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoDataService_t service, UInt8 *pBufIn, UInt32 sizeIn, UInt8 *pData, UInt32 *pDataSize );//-----------------------------------------------------------------------------// scaler related functions://----------------------------------------------------------------------------- //-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113SetOutputFormat://// DESCRIPTION: sets output format YUV,RGB,... //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113SetOutputFormat ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoYUVFormat_t format );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetOutputFormat://// DESCRIPTION: retrieves current output format YUV,RGB (TODO),...//// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetOutputFormat ( tmUnitSelect_t aviUnit, // I: AVI Unit number tmVideoYUVFormat_t *format ); //-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113SetAcquisitionWnd://// DESCRIPTION: sets acquisition window//// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113SetAcquisitionWnd ( tmUnitSelect_t aviUnit, // I: AVI Unit number UInt32 beginX, UInt32 beginY, UInt32 endX, UInt32 endY );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetAcquisitionWnd://// DESCRIPTION: retrieves current acquisition window //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetAcquisitionWnd ( tmUnitSelect_t aviUnit, // I: AVI Unit number UInt32 *pBeginX, UInt32 *pBeginY, UInt32 *pEndX, UInt32 *pEndY );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113GetDefaultAcquisitionWnd://// DESCRIPTION: retrieves default window according to selected analog standard //// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113GetDefaultAcquisitionWnd ( tmUnitSelect_t aviUnit, // I: AVI Unit number UInt32 *pBeginX, UInt32 *pBeginY, UInt32 *pEndX, UInt32 *pEndY );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113SetOutputSize://// DESCRIPTION: set output video size//// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113SetOutputSize ( tmUnitSelect_t aviUnit, // I: AVI Unit number UInt32 width, UInt32 height );//-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113SetInterlaceMode://// DESCRIPTION: used by output scaler//// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113SetInterlaceMode ( tmUnitSelect_t aviUnit, // I: AVI Unit number Bool interlace );//-----------------------------------------------------------------------------// backdoor to send IIC commands to the decoder//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------//// FUNCTION: tmbsl7113Configure://// DESCRIPTION: configure decoder // (used if non-supported features have to be accessed)//// RETURN: tmErrorCode_t for success or error//// NOTES: NONE////-----------------------------------------------------------------------------tmErrorCode_t tmbsl7113Configure ( tmUnitSelect_t aviUnit, // I: AVI Unit number UInt8 subaddr, // I: IIC subaddress UInt8 value // I: value );#if defined(__cplusplus)}#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -