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

📄 mp3enc_tables.cpp

📁 这是在PCA下的基于IPP库示例代码例子,在网上下了IPP的库之后,设置相关参数就可以编译该代码.
💻 CPP
字号:
/*//////////////////////////////////////////////////////////////////////////////////                  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) 2002-2005 Intel Corporation. All Rights Reserved.//*/#include "umc_mp3_enc_int.h"scalefac_struct mp3enc_sfBandIndex[3] ={  { // Table B.8.b: 44.1 kHz    {0,4,8,12,16,20,24,30,36,44,52,62,74,90,110,134,162,196,238,288,342,418,576},    {0,4,8,12,16,22,30,40,52,66,84,106,136,192}  },  { // Table B.8.c: 48 kHz    {0,4,8,12,16,20,24,30,36,42,50,60,72,88,106,128,156,190,230,276,330,384,576},    {0,4,8,12,16,22,28,38,50,64,80,100,126,192}  },  { // Table B.8.a: 32 kHz    {0,4,8,12,16,20,24,30,36,44,54,66,82,102,126,156,194,240,296,364,448,550,576},    {0,4,8,12,16,22,30,42,58,78,104,138,180,192}  }};int mp3enc_slen1_tab[16]      = { 0, 0, 0, 0, 3, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4 };int mp3enc_slen2_tab[16]      = { 0, 1, 2, 3, 0, 1, 2, 3, 1, 2, 3, 1, 2, 3, 2, 3 };int mp3enc_scfsi_band_long[5] = { 0, 6, 11, 16, 21 };int mp3enc_pretab[21]         = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 3, 3, 3, 2};int mp3enc_region01_table[23][2] ={  {0, 0},  {0, 0},  {0, 0},  {0, 0},  {0, 0},  {0, 1},  {1, 1},  {1, 1},  {1, 2},  {2, 2},  {2, 3},  {2, 3},  {3, 4},  {3, 4},  {3, 4},  {4, 5},  {4, 5},  {4, 6},  {5, 6},  {5, 6},  {5, 7},  {6, 7},  {6, 7},};

⌨️ 快捷键说明

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