aac_enc_quantization_int.h

来自「这是在PCA下的基于IPP库示例代码例子,在网上下了IPP的库之后,设置相关参数」· C头文件 代码 · 共 56 行

H
56
字号
/*////                  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) 2004-2005 Intel Corporation. All Rights Reserved.////     Intel Integrated Performance Primitives AAC Encode Sample for Windows*////  By downloading and installing this sample, you hereby agree that the//  accompanying Materials are being provided to you under the terms and//  conditions of the End User License Agreement for the Intel Integrated//  Performance Primitives product previously accepted by you. Please refer//  to the file ipplic.htm located in the root directory of your Intel IPP//  product installation for more information.////  MPEG-4 and AAC are international standards promoted by ISO, IEC, ITU, ETSI//  and other organizations. Implementations of these standards, or the standard//  enabled platforms may require licenses from various entities, including//  Intel Corporation.//*/#ifndef __QUANTIZATION_H#define __QUANTIZATION_H#include "ipps.h"#include "aac_enc_psychoacoustic_int.h"#include "aac_enc_own.h"#define  MAX_QUANT     8191#define  MAGIC_NUMBER_I  26568#ifndef  SIGN#define  SIGN(x) ((x) > 0 ? (1): (-1))#endif#ifdef  __cplusplusextern "C" {#endifvoid Quantization(sQuantizationBlock* pBlock,                  sEnc_individual_channel_stream* pStream,                  Ipp16s* mdct_line,                  Ipp16s* mdct_line_pred,                  int mdct_scaleFactor);#ifdef  __cplusplus}#endif#endif//__QUANTIZATION_H

⌨️ 快捷键说明

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