📄 table_set.m
字号:
% here is some table used in the program .They are all constant value.It is
% based on the G722 standard
%%******** Transmit QMF Variable Declarations *******%
% Start to Code%
%* TQMF delay samples %
%* Quantizer Lookup Tables */
h(1:24) = [ %* TQMF filter coeficients %
12 -44 -44 212 48 -624 128 1448 -840 -3220 3804 15504 15504 3804 -3220 -840 1448 128 -624 48 212 -44 -44 12];
decis_levl(1:30) = [ %* Decision Levels: Pre-multiplied by 8 %)
280 576 880 1200 1520 1864 2208 2584 2960 3376 3784 4240 4696 5200 5712 6288 6864 7520 8184 8968 9752 10712 11664 12896 14120 15840 17560 20456 23352 32767
];
quant26bt_pos(1:31) = [ % 6-bit positive quantization values %
61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 32];
quant26bt_neg(1:31) = [ % 6-bit negative quantization values %
63 62 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 4];
% Inverse Quantizer Lookup Tables %
qq4_code4_table(1:16) =[ 0 -20456 -12896 -8968 -6288 -4240 -2584 -1200 20456 12896 8968 6288 4240 2584 1200 0];
qq5_code5_table(1:32) =[ -280 -280 -23352 -17560 -14120 -11664 -9752 -8184 -6864 -5712 -4696 -3784 -2960 -2208 -1520 -880 23352 17560 14120 11664 9752 8184 6864 5712 4696 3784 2960 2208 1520 880 280 -280];
qq6_code6_table(1:64) = [ -136 -136 -136 -136 -24808 -21904 -19008 -16704 -14984 -13512 -12280 -11192 -10232 -9360 -8576 -7856 -7192 -6576 -6000 -5456 -4944 -4464 -4008 -3576 -3168 -2776 -2400 -2032 -1688 -1360 -1040 -728 24808 21904 19008 16704 14984 13512 12280 11192 10232 9360 8576 7856 7192 6576 6000 5456 4944 4464 4008 3576 3168 2776 2400 2032 1688 1360 1040 728 432 136 -432 -136];
qq2_code2_table(1:4) = [ -7408 -1616 7408 1616];
% Quantizer Adaptation Values %
wl_code_table(1:16) = [ -60 3042 1198 538 334 172 58 -30 3042 1198 538 334 172 58 -30 -60];
wh_code_table(1:4) = [ 798 -214 798 -214];
wl_table(1:8) = [ -60 -30 58 172 334 538 1198 3042];
ilb_table(1:32) =[ 2048 2093 2139 2186 2233 2282 2332 2383 2435 2489 2543 2599 2656 2714 2774 2834 2896 2960 3025 3091 3158 3228 3298 3371 3444 3520 3597 3676 3756 3838 3922 4008];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -