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

📄 umc_mp3_encoder_params.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) 2003-2007 Intel Corporation. All Rights Reserved.
//
*/

#ifndef __UMC_MP3_ENCODER_PARAMS_H__
#define __UMC_MP3_ENCODER_PARAMS_H__

#include "umc_audio_codec.h"

enum UMC_MP3StereoMode {
  UMC_MPA_MONO,
  UMC_MPA_LR_STEREO,
  UMC_MPA_MS_STEREO,
  UMC_MPA_JOINT_STEREO
};

#define UMC_MPAENC_CBR 0
#define UMC_MPAENC_ABR 1

namespace UMC
{

class MP3EncoderParams:public AudioCodecParams {
  DYNAMIC_CAST_DECL(MP3EncoderParams, AudioCodecParams)
public:
  MP3EncoderParams(void) {
    stereo_mode = UMC_MPA_LR_STEREO;
    layer = 3;
    mode = UMC_MPAENC_CBR;
    ns_mode = 0;
    force_mpeg1 = 0;
    mc_matrix_procedure = 0;
    mc_lfe_filter_off = 0;
  };
  enum UMC_MP3StereoMode stereo_mode;
  Ipp32s layer;
  Ipp32s mode;
  Ipp32s ns_mode;
  Ipp32s force_mpeg1;
  Ipp32s mc_matrix_procedure;
  Ipp32s mc_lfe_filter_off;
};

}// namespace UMC

#endif /* __UMC_MP3_ENCODER_PARAMS_H__ */

⌨️ 快捷键说明

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