📄 umc_mpeg2_spl_defs.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) 2003-2005 Intel Corporation. All Rights Reserved.//*/#include "umc_mpeg2_spl_defs.h"const int UMC::MPEGAFequency[2][4] ={{22050, 24000, 16000},{44100, 48000, 32000, 0}};const int UMC::MPEGABitrate[2][3][15] = {/* MPEG 2 */{ /* Layer 1 */ {0, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256}, /* Layer 2 */ {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160}, /* Layer 3 */ {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160}},/* MPEG 1 */{ /* Layer 1 */ {0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448}, /* Layer 2 */ {0,32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384}, /* Layer 3 */ {0,32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320}}};const int UMC::MPEGAChannels[]={2,2,2,1};const int UMC::AC3Fequency[] = { 48000,44100,32000 };const int UMC::AC3FequencyExt[] ={ 48000, 44100, 32000, 0, 48000, 48000, 44100,48000};const UMC::frmsize_t UMC::AC3FrameSize[] = { { 32 ,{ 64 ,69 ,96 } },{ 32 ,{ 64 ,70 ,96 } }, { 40 ,{ 80 ,87 ,120 } },{ 40 ,{ 80 ,88 ,120 } }, { 48 ,{ 96 ,104 ,144 } },{ 48 ,{ 96 ,105 ,144 } }, { 56 ,{ 112 ,121 ,168 } },{ 56 ,{ 112 ,122 ,168 } }, { 64 ,{ 128 ,139 ,192 } },{ 64 ,{ 128 ,140 ,192 } }, { 80 ,{ 160 ,174 ,240 } },{ 80 ,{ 160 ,175 ,240 } }, { 96 ,{ 192 ,208 ,288 } },{ 96 ,{ 192 ,209 ,288 } }, { 112 ,{ 224 ,243 ,336 } },{ 112 ,{ 224 ,244 ,336 } }, { 128 ,{ 256 ,278 ,384 } },{ 128 ,{ 256 ,279 ,384 } }, { 160 ,{ 320 ,348 ,480 } },{ 160 ,{ 320 ,349 ,480 } }, { 192 ,{ 384 ,417 ,576 } },{ 192 ,{ 384 ,418 ,576 } }, { 224 ,{ 448 ,487 ,672 } },{ 224 ,{ 448 ,488 ,672 } }, { 256 ,{ 512 ,557 ,768 } },{ 256 ,{ 512 ,558 ,768 } }, { 320 ,{ 640 ,696 ,960 } },{ 320 ,{ 640 ,697 ,960 } }, { 384 ,{ 768 ,835 ,1152 } },{ 384 ,{ 768 ,836 ,1152 } }, { 448 ,{ 896 ,975 ,1344 } },{ 448 ,{896 ,976 ,1344 } }, { 512 ,{1024 ,1114 ,1536 } },{ 512 ,{1024 ,1115 ,1536 } }, { 576 ,{1152 ,1253 ,1728 } },{ 576 ,{1152 ,1254 ,1728 } }, { 640 ,{1280 ,1393 ,1920 } },{ 640 ,{1280 ,1394 ,1920 } }};const int UMC::AC3NumChannels[] = { 2, 1, 2, 3, 3, 4, 4, 5, 1, 2, 3, 4, 5, 6};/*int AC3BitRateTbl[] ={ 32, 40, 48, 56, 64, 80, 96, 112, 128,160,192,224, 256,320,384,448, 512,576,640, 32, 40, 48, 56, 64, 80, 96, 112, 128,160,192,224, 256,320,384,448, 512,576,640};*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -