umc_audio_codec.h
来自「这是在PCA下的基于IPP库示例代码例子,在网上下了IPP的库之后,设置相关参数」· C头文件 代码 · 共 70 行
H
70 行
/*//// 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.//*/#ifndef __UMC_AUDIO_CODEC_H__#define __UMC_AUDIO_CODEC_H__#include "umc_structures.h"#include "umc_base_codec.h"#include "umc_media_data.h"namespace UMC{class AudioCodecParams : public BaseCodecParams{ DYNAMIC_CAST_DECL(AudioCodecParams, BaseCodecParams)public: AudioCodecParams(); AudioStreamInfo m_info_in; // (AudioStreamInfo) original audio stream info AudioStreamInfo m_info_out; // (AudioStreamInfo) output audio stream info vm_var32 m_frame_num; // (vm_var32) keeps number of processed frames MediaData *m_pData; // (MediaData *) initial data potion};class AudioCodec : public BaseCodec{ DYNAMIC_CAST_DECL(AudioCodec, BaseCodec)public: // Default constructor AudioCodec(void){}; // Destructor virtual ~AudioCodec(void){}; virtual Status GetDuration(float *p_duration) { p_duration[0] = (float)-1.0; return UMC_NOT_IMPLEMENTED; }protected: vm_var32 m_frame_num; // (vm_var32) keeps number of processed frames.};class AudioData: public MediaData{ DYNAMIC_CAST_DECL(AudioData, MediaData)public: AudioStreamInfo m_info; AudioData() {memset(&m_info, 0, sizeof(AudioStreamInfo));}};} // namespace UMC#endif /* __UMC_AUDIO_CODEC_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?