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

📄 umc_avs_dec_processing_unit_cc.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_PROCESSING_UNIT_CC_H
#define __UMC_AVS_DEC_PROCESSING_UNIT_CC_H

#include "umc_avs_dec_processing_unit.h"
#include "umc_avs_dec_context.h"
#include "umc_avs_dec_list.h"

namespace UMC
{

// forward declaration of used classes
class BaseCodec;
class AVSFrame;

class AVSColorProcessingUnit : public AVSListElement<AVSProcessingUnit>
{
public:
    // Constructor
    AVSColorProcessingUnit(void);
    // Destructor
    virtual
    ~AVSColorProcessingUnit(void);

    // Initialize the performer
    virtual
    Status Init(Mutex *pGuard);
    Status Init(Mutex *pGuard, BaseCodec *pConverter);

    // Let the performer find the job
    virtual
    bool LoadJob(AVSListElement<AVSFrame> *pFrameList);

    // Main working function
    virtual
    void DoJob(void);

    // Error handling function
    virtual
    void HandleError(void);

    // Get kind of the processed task.
    // I know that it is a bad style of programming,
    // but I need the kind of the task to let the main thread
    // break the working cycle.
    virtual
    AVSTaskID GetTaskID(void);

protected:
    // Set the job done
    virtual
    void UnloadJob(void);

    BaseCodec *m_pConverter;                                    // (BaseCodec *) pointer to the real color converting object

    AVSFrame *m_pFrame;                                         // (AVSFrame *) pointer to a frame to convert
};

} // namespace UMC

#endif // __UMC_AVS_DEC_PROCESSING_UNIT_CC_H

⌨️ 快捷键说明

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