⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 umc_avs_dec.h

📁 audio-video-codecs.rar语音编解码器
💻 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) 2007 Intel Corporation. All Rights Reserved.
//
//
*/

#ifndef __UMC_AVS_DEC_H
#define __UMC_AVS_DEC_H

#include "umc_video_decoder.h"

namespace UMC
{

// forward declaration of used classes
class AVSFussionCore;
class AVSThread;

class AVSVideoDecoder : public VideoDecoder
{
public:
    // Default constructor
    AVSVideoDecoder(void);
    // Destructor
    virtual
    ~AVSVideoDecoder(void);

    // Initialize the codec
    virtual
    Status Init(BaseCodecParams *init);

    // Decompress the next frame
    virtual
    Status GetFrame(MediaData *in, MediaData *out);

    // Get codec's parameter(s)
    virtual
    Status GetInfo(BaseCodecParams *info);

    // Close all codec's resources
    virtual
    Status Close(void);

    // Set the codec to an initial state
    virtual
    Status Reset(void);

    // Additional methods
    // Reset skip frame counter
    virtual
    Status ResetSkipCount(void);
    // Increment skip frame counter
    virtual
    Status SkipVideoFrame(Ipp32s);
    // Get skip frame counter statistic
    virtual
    Ipp32u GetNumOfSkippedFrames(void);

protected:

    AVSFussionCore *m_pCore;                                    // (AVSFussionCore *) pointer to a AVS fussion core
    AVSThread *m_pThreads;                                      // (AVSThread *) pointer to an array of working threads
    Ipp32s m_iNumberOfThreads;                                  // (Ipp32s) current number of working threads
};

} // namespace UMC

#endif // __UMC_AVS_DEC_H

⌨️ 快捷键说明

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