Subtitle.h
资源名称:8202s.rar [点击查看]
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:1k
源码类别:
DVD
开发平台:
C/C++
- #ifdef SUPPORT_MP4_SUBTITLE
- #ifndef _SUBTITLE_H_
- #define _SUBTITLE_H_
- #include "types.h"
- enum EXT_SUP_TYPE
- {
- EXT_SUBTITLE_UNKNOWN = 99,
- EXT_SUBTITLE_TXT = 0,
- EXT_SUBTITLE_IMG,
- };
- //extern void RESET_EXT_SUP();
- //extern void INITIALIZE_EXT_SUP();
- extern void ACTIVATE_EXT_SUP();
- extern void DISPLAY_EXT_SUP();
- //extern void NEEDDATA_EXT_SUP();
- //extern void READY_NEXT_EXT_SUP();
- extern void DEACTIVATE_EXT_SUP();
- extern void TURNOFF_EXT_SUP();
- //extern void GOTDATA_EXT_SUP();
- //extern void USE_NEXT_EXT_SUP();
- extern int IS_EXT_SUP_INITIALIZED();
- extern int IS_EXT_SUP_ACTIVATED();
- extern int IS_EXT_SUP_INDISPLAY();
- extern int IS_EXT_SUP_NEEDDATA();
- //extern int IS_EXT_SUP_NEXTREADY();
- extern void InitSubtitleRead();
- extern void AddFileInfoForSubtitle( UINT32, UINT32, const char* );
- extern void SetSubtitleIdxBuffer( UINT32*, UINT32 );
- extern void SetSubtitleDataBuffer( BYTE*, UINT32 );
- extern int SetSubtitleFileInfo( UINT32, UINT32, const char* );
- extern void SubtitleBelongTo();
- extern int GetSubtitleCountOfThisFile( int );
- extern int ParseSubtitle( int, int );
- extern int FillSubtitleBuffer();
- extern void (*GetSubtitleData)( UINT32, void**, UINT32* );
- #endif // _SUBTITLE_H_
- #endif // SUPPORT_MP4_SUBTITLE