📄 umc_mpeg2_dec.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) 2003-2005 Intel Corporation. All Rights Reserved.//*/// MPEG-2 is a international standard promoted by ISO/IEC and// other organizations. Implementations of this standard, or the standard// enabled platforms may require licenses from various entities, including// Intel Corporation.#ifndef __UMC_MPEG2_DEC_H#define __UMC_MPEG2_DEC_H#include "umc_structures.h"#define MPEG2_VIRTUALnamespace UMC{ class MPEG2VideoDecoderBase; class MPEG2VideoDecoder : public VideoDecoder { public: /////////////////////////////////////////////////////// /////////////High Level public interface/////////////// /////////////////////////////////////////////////////// // Default constructor MPEG2VideoDecoder(void); // Default destructor MPEG2_VIRTUAL ~MPEG2VideoDecoder(void); // Initialize for subsequent frame decoding. MPEG2_VIRTUAL Status Init(BaseCodecParams *init); // Get next frame MPEG2_VIRTUAL Status GetFrame(MediaData* in, MediaData* out); // Close decoding & free all allocated resources MPEG2_VIRTUAL Status Close(void); // Reset decoder to initial state MPEG2_VIRTUAL Status Reset(void); // Get audio information, valid after initialization MPEG2_VIRTUAL Status GetInfo(BaseCodecParams* ininfo); Status GetPerformance(double *perf); //reset skip frame counter Status ResetSkipCount(); // increment skip frame counter Status SkipVideoFrame(int); // get skip frame counter statistic vm_var32 GetSkipedFrame(); // Set playback rate Status SetRate(double rate); // returns closed capture data from gop user data MPEG2_VIRTUAL Status GetClosedCaptureData(MediaData* pCC); MPEG2_VIRTUAL Status SetParams(BaseCodecParams* params); protected: MPEG2VideoDecoderBase* m_pDec; };}#endif //__UMC_MPEG2_DEC_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -