📄 mp3dec_own_fp.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) 2005-2007 Intel Corporation. All Rights Reserved.
//
*/
#ifndef __MP3DEC_OWN_FP_H__
#define __MP3DEC_OWN_FP_H__
#include "math.h"
#include "mp3dec_own.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef Ipp32f samplefloat[NUM_CHANNELS][1152];
typedef Ipp32f samplefloatrw[NUM_CHANNELS][36][32];
struct _MP3Dec {
MP3Dec_com com;
VM_ALIGN16_DECL(Ipp32u) global[1152 * NUM_CHANNELS * 2 + 576];
VM_ALIGN16_DECL(Ipp32f) prevblk[2][576];
VM_ALIGN16_DECL(Ipp32f) mc_pred_buf[2][8][36+9];
VM_ALIGN16_DECL(Ipp32f) mc_lfe_buf[17];
samplefloat *smpl_xr; // out of dequantizer
samplefloat *smpl_ro; // out of reordering
samplefloat *smpl_re; // out of antialiasing
samplefloatrw *smpl_rw; // out of imdct
samplefloat *smpl_sb; // out of subband synth
Ipp32f GlobalScaleFactor[2][2];
IppsMDCTInvSpec_32f *pMDCTSpecShort;
IppsMDCTInvSpec_32f *pMDCTSpecLong;
IppsFilterSpec_PQMF_MP3 *pPQMFSpec[NUM_CHANNELS];
Ipp8u *pqmf_mem;
Ipp32s pqmf_size;
Ipp8u *mdct_buffer;
Ipp32s dctnum_prev[2];
Ipp16s m_ptr[NUM_CHANNELS][2];
Ipp16s m_even[NUM_CHANNELS];
};
extern Ipp32f mp3dec_scale_values[64];
Ipp32s mp3dec_decode_data_LayerI(MP3Dec *state);
Ipp32s mp3dec_decode_data_LayerII(MP3Dec *state);
MP3Status mp3dec_decode_data_LayerIII(MP3Dec *state);
void mp3dec_dequantize_sample_mc_l2(MP3Dec *state);
void mp3dec_mc_denormalize_sample_l2(MP3Dec *state);
void mp3dec_dequantize_sample_mc_l2 (MP3Dec *state);
void mp3dec_mc_lfe_l2(MP3Dec *state, Ipp32f *out);
void mp3dec_mc_dematricing (MP3Dec *state);
void mp3dec_mc_denormalizing (MP3Dec *state);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -