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

📄 mp3etbl.c

📁 Linux下的intel的ipp库使用
💻 C
字号:
/******************************************************************************
//               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 Intel Corporation. All Rights Reserved.
//
//  Description:
//    Intel(R) Integrated Performance Primitives Sample Code MP3 Encoder
// 
//  Table List:
//    mpeg1_slot_table
//    mpeg1_samplerate_table
//    mpeg1_bitrate_table
******************************************************************************/
#include "sampmp3.h"
/* slot table for MPEG1 */
const int mpeg1_slot_table[MP3_SAMPLERATE_NUM][MP3_BITRATE_NUM]=
{
	{0,104,130,156,182,208,261,313,365,417,522,626,731,835,1044},
	{0,96,120,144,168,192,240,288,336,384,480,576,672,768,960},
	{0,144,180,216,252,288,360,432,504,576,720,864,1008,1152,1440} 
};
/* sampe rate index table for MPEG1 */
const int mpeg1_samplerate_table[MP3_SAMPLERATE_NUM] = {
	44100, 48000, 32000
};
/* bit rate index table for MPEG1 */
const int mpeg1_bitrate_table[MP3_BITRATE_NUM] = {
	0, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 
	128000, 160000, 192000, 224000, 256000, 320000
};

⌨️ 快捷键说明

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