rmdts-detector.h

来自「SigmDesign SMP8634 media decode chip dev」· C头文件 代码 · 共 64 行

H
64
字号
/***************************************** Copyright © 2001-2003   Sigma Designs, Inc. All Rights Reserved Proprietary and Confidential *****************************************//**  @file   rmdts-detector.h  @brief    Simple Interface to a DTS detector.  @author Oriol Prieto Gasco  @date   2005-03-22*/#ifndef __RMDTSDETECTOR_H__#define __RMDTSDETECTOR_H__#include "rmdetector-common.h"typedef enum {	DTS_SEEK_SYNC0 = 0,	DTS_SEEK_SYNC1,	DTS_SEEK_SYNC2, 	DTS_SEEK_SYNC3, 	DTS_SEEK_SYNC4,	DTS_SKIP_NBLKS,	DTS_SKIP_FSIZE,	DTS_READ_AMODE,	DTS_READ_SFREQ,	DTS_READ_RATE} DTSState;class RMdtsDetector : public RMobject{ public:	RMdtsDetector ();	~RMdtsDetector();	// Resets the detector to parse a new bitstream.	void Reset(void);	RMbool Detect(RMuint8 *pbuffer, RMuint32 size);	RMstatus GetType(eAudioFormat_type *audioType);	RMstatus GetParams(RMuint32 *frequency, RMuint32 *numberOfChannels, RMuint32 *bitrate);	RMstatus GetAudioSpecificInfo(struct RM_Detection_Specific_Info *info); private:	DTSState m_DTSState;	RMuint8  m_DTSChanAMODE;	RMuint8	 m_DTSFrequencyIndex;	RMuint8  m_DTSBitrateIndex;	RMuint32 m_frequency;	RMuint32 m_bitrate;	RMuint32 m_channels;	RMbool m_isDTS;};#endif // __RMDTSDETECTOR_H__

⌨️ 快捷键说明

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