asf_if.h
资源名称:8202s.rar [点击查看]
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:1k
源码类别:
DVD
开发平台:
C/C++
- #ifndef __ASF_IF_H
- #define __ASF_IF_H
- #include "types.h"
- #include "wave_fmt.h"
- #ifdef ASFEXTERN_HERE
- #define ASFEXTERN
- #else
- #define ASFEXTERN extern
- #endif
- typedef struct tASFAUDOBJECT
- {
- UINT8 nAudSN; // audio stream number
- WAVFORMATMACRO wfmt; // waveformat structure
- } ASFAUDOBJECT;
- // flow control variables
- ASFEXTERN BYTE asf_file_start;
- ASFEXTERN UINT64 asf_file_duration;
- ASFEXTERN BYTE asf_first_pck;
- ASFEXTERN BYTE snVidTab[8], snAudioCnt, snVideoCnt, nAudio, nVideo;
- ASFEXTERN BYTE ASFAudioStream, ASFVideoStream;
- ASFEXTERN ASFAUDOBJECT snAudTab[8];
- ASFEXTERN UINT32 asf_pck_size;
- ASFEXTERN UINT8 asf_pck_state;
- ASFEXTERN UINT64 asf_header_size, asf_data_size, asf_header_size_keep;
- ASFEXTERN UINT64 asf_pck_count, asf_pck_left, asf_pck_current;
- ASFEXTERN UINT32 asf_pck_time;
- ASFEXTERN UINT16 asf_pck_duration;
- ASFEXTERN UINT32 asf_AB_start_pck;
- ASFEXTERN UINT32 asf_AB_end_pck;
- ASFEXTERN UINT32 asf_resume_pck;
- ASFEXTERN UINT32 asf_resume_len;
- void ASF_init(void);
- int doASFHeader(void);
- int doASFData(void);
- int doASFPckInit(void);
- int doASFSPload(void);
- int doASFMPload(void);
- inline void ASF_PCK_Init(void);
- inline UINT32 get_asf_pck_time(void);
- #endif //__ASF_IF_H