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

📄 dvb_sbtl.h

📁 DVB软件,基于CT216软件的开发源程序.
💻 H
字号:

#ifndef __DVB_SBT_H
#define __DVB_SBT_H

/*! \file
* This module provides the DVB Subtitle control API.
*
*/
#include "dvb_type.h"

void DVB_SbtlPlay(void);
/*! \fn void DVB_SbtlPlay(void)
\brief Start subtitle process to display DVB subtitle.
*/

void DVB_SbtlStop(void);
/*! \fn void DVB_SbtlStop(void)
\brief Stop subtitle process to display DVB Subtitle.
*/

bool8 DVB_SbtlCheckRunning(void);
/*! \fn bool8 DVB_SbtlCheckRunning(void)
\brief Get Subtitle process status.
\return TRUE - Subtitle process is runnung.
\return FALSE - Subtitle process is stoped.

*/

u16 DVB_SbtlGetPID(void);
/*! \fn u16 DVB_SbtlGetPID(void)
\brief Getting the Subtitle PID.
return the Subtitle PID.
*/

void DVB_SbtlSetPID(u16 u16PID);
/*! \fn void DVB_SbtlSetPID(u16 u16PID)
\brief Setting the Subtitle PID.
\param u16PID (Input) the Subtitle PID
*/

void DVB_SbtlSetOffset(s8 s8Xoffset, s8 s8Yoffset);
/*! \fn void DVB_VideoSetPID (u16 u16VidPID)
\brief Setting the Subtitle Display region's left-top point.
\param s8Xoffset (Input) the X offset of left-top point.
\param s8Yoffset (Input) the Y offset of left-top point.
*/

u16 DVB_SbtlGetComPageID(void);
/*! \fn u16 DVB_SbtlGetComPageID(void)
\brief Getting the Subtitle Composition Page ID.
return the Subtitle Composition Page ID.
*/

void DVB_SbtlSetComPageID(bool8 b8EnableFilter, u16 u16ComPageID);
/*! \fn void DVB_SbtlSetComPageID(bool8 b8EnableFilter, u16 u16ComPageID)
\brief Setting the Subtitle Composition Page ID and the subtitle process page status.
\param b8EnableFilter (Input) subtitle process page status, TRUE(Enable)/FALSE(Disable).
\param u16ComPageID (Input) the Subtitle Composition Page ID.
*/

u16 DVB_SbtlGetAncPageID(void);
/*! \fn u16 DVB_SbtlGetAncPageID(void)
\brief Getting the Subtitle Ancillary Page ID.
return the Subtitle Ancillary Page ID.
*/

void DVB_SbtlSetAncPageID(bool8 b8EnableFilter, u16 u16AncPageID);
/*! \fn void DVB_SbtlSetAncPageID(bool8 b8EnableFilter, u16 u16ComPageID)
\brief Setting the Subtitle Ancillary Page ID and the subtitle process page status.
\param b8EnableFilter (Input) subtitle process page status, TRUE(Enable)/FALSE(Disable).
\param u16ComPageID (Input) the Subtitle Ancillary Page ID.
*/

void DVB_SbtlSetDispAddr(u32 u32DispAddr);
/*! \fn void DVB_SbtlSetDispAddr(u32 u32DispAddr)
\brief Setting the Subtitle display start address by frame buffer address set.
\param u32DispAddr (Input) subtitle display address.
*/

#ifdef PVR_ENABLE
void DVB_SbtlPVRPlay(bool8 b8play);
#endif

u8* DVB_SbtlGetVersion(void);
/*! \fn u8* DVB_SbtlGetVersion(void)
\brief Get DVB Subtitle code version.
\return TRUE - the pointer of version string.
*/

#endif

⌨️ 快捷键说明

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