📄 umc_mpeg2ps_parser.h
字号:
/*//////////////////////////////////////////////////////////////////////////////
//
// INTEL CORPORATION PROPRIETARY INFORMATION
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Intel Corporation and may not be copied
// or disclosed except in accordance with the terms of that agreement.
// Copyright(c) 2005-2007 Intel Corporation. All Rights Reserved.
//
*/
#ifndef __UMC_MPEG2PS_PARSER_H__
#define __UMC_MPEG2PS_PARSER_H__
#include "umc_stream_parser.h"
namespace UMC
{
class Mpeg2PsParser : public Mpeg2PesParser
{
DYNAMIC_CAST_DECL(Mpeg2PsParser, Mpeg2PesParser)
public:
virtual Status Init(StreamParserParams &rInit);
virtual Status Close(void);
virtual Status CheckNextData(MediaData* data, Ipp32u* pTrack);
virtual Status SetPosition(Ipp64u bytePos);
virtual Status GetSystemTime(CheckPoint &rCheckPoint, Ipp64u upToPos);
protected:
Status ReSync(void);
Ipp32s GetTrackByPidOrCreateNew(Ipp32s iPid, bool *pIsNew);
Status ParsePsPmt(Mpeg2TsPmt &pmt, Ipp32s &iPos, bool bDetectChanges);
Status ParsePsPack(Ipp32s &iPos);
// used if Program Stream map presents
Mpeg2TsPmt m_Pmt;
};
}
#endif /* __UMC_MPEG2PS_PARSER_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -