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

📄 mp3_own.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 __MP3_OWN_H__
#define __MP3_OWN_H__

#include "ippac.h"
#include "ippdc.h"
#include "ipps.h"
#include "mp3_alloc_tab.h"
#include "vm_debug.h"

#ifdef __cplusplus
extern "C" {
#endif

#define MP3_UPDATE_PTR(type, ptr, inc)    \
  if (ptr) {                              \
    ptr = (type *)((Ipp8u *)(ptr) + inc); \
  }

typedef struct {
    Ipp32s ext_bit_stream_present;
    Ipp32s n_ad_bytes;
    Ipp32s center;
    Ipp32s surround;
    Ipp32s lfe;
    Ipp32s audio_mix;
    Ipp32s dematrix_procedure;
    Ipp32s no_of_multi_lingual_ch;
    Ipp32s multi_lingual_fs;
    Ipp32s multi_lingual_layer;
    Ipp32s copyright_identification_bit;
    Ipp32s copyright_identification_start;
} mp3_mc_header;

extern Ipp32s mp3_bitrate[2][3][16];
extern Ipp32s mp3_frequency[3][4];
extern const Ipp32s mp3_mc_pred_coef_table[6][16];
extern const Ipp8u mp3_mc_sb_group[32];

extern const Ipp32f mp3_lfe_filter[480];


Ipp32s mp3_SetAllocTable(Ipp32s header_id, Ipp32s mpg25, Ipp32s header_layer,
                         Ipp32s header_bitRate, Ipp32s header_samplingFreq,
                         Ipp32s stereo,
                         Ipp32s **nbal_alloc_table,
                         Ipp8u **alloc_table,
                         Ipp32s *sblimit);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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