[FFmpeg-soc] [soc]: r4998 - amr/amrnbdata.h
cmcq
subversion at mplayerhq.hu
Sat Aug 8 23:27:00 CEST 2009
Author: cmcq
Date: Sat Aug 8 23:27:00 2009
New Revision: 4998
Log:
Table formatting
Modified:
amr/amrnbdata.h
Modified: amr/amrnbdata.h
==============================================================================
--- amr/amrnbdata.h Sat Aug 8 23:20:05 2009 (r4997)
+++ amr/amrnbdata.h Sat Aug 8 23:27:00 2009 (r4998)
@@ -2103,10 +2103,11 @@ static const float qua_gain_pit[16] = {
* The table below stores g_fac as a float from
* printf("%10.6f,\n", powf(10.0, qua_ener/(20.0*(1<<10)))). */
static const float qua_gain_code[32] = {
- 0.077640, 0.100586, 0.130857, 0.170410, 0.204592, 0.235358, 0.270507, 0.311044,
- 0.357898, 0.411116, 0.473151, 0.543935, 0.625519, 0.719258, 0.827138, 0.951199,
- 1.094237, 1.258359, 1.446773, 1.664146, 1.913533, 2.200788, 2.530880, 2.910154,
- 3.347019, 3.849033, 4.426342, 5.090240, 6.108541, 7.940604, 10.323297, 13.420948,
+ 0.077640, 0.100586, 0.130857, 0.170410, 0.204592, 0.235358, 0.270507,
+ 0.311044, 0.357898, 0.411116, 0.473151, 0.543935, 0.625519, 0.719258,
+ 0.827138, 0.951199, 1.094237, 1.258359, 1.446773, 1.664146, 1.913533,
+ 2.200788, 2.530880, 2.910154, 3.347019, 3.849033, 4.426342, 5.090240,
+ 6.108541, 7.940604, 10.323297, 13.420948,
};
/** desired mean innovation energy, indexed by active mode */
@@ -2323,27 +2324,30 @@ static const float gains_low[64][2] = {
/** impulse response filter tables converted to float from Q15 int32_t
* used for anti-sparseness processing */
static const float ir_filter_strong_MODE_795[AMR_SUBFRAME_SIZE] = {
- 0.817169, 0.024445, 0.076447, -0.020844, -0.042175, 0.017761, 0.018433, -0.038879,
- 0.107147, -0.179871, 0.138367, -0.015228, -0.059204, 0.091888, -0.154358, 0.171326,
--0.060730, -0.032379, -0.044525, 0.135559, -0.021362, -0.162811, 0.140656, 0.013794,
--0.017975, -0.102295, 0.090118, 0.038666, -0.036987, -0.079041, 0.052826, 0.112000,
--0.136566, -0.029755, 0.134003, -0.077423, 0.028961, -0.041595, -0.029877, 0.174988,
+ 0.817169, 0.024445, 0.076447, -0.020844, -0.042175, 0.017761, 0.018433,
+-0.038879, 0.107147, -0.179871, 0.138367, -0.015228, -0.059204, 0.091888,
+-0.154358, 0.171326, -0.060730, -0.032379, -0.044525, 0.135559, -0.021362,
+-0.162811, 0.140656, 0.013794, -0.017975, -0.102295, 0.090118, 0.038666,
+-0.036987, -0.079041, 0.052826, 0.112000, -0.136566, -0.029755, 0.134003,
+-0.077423, 0.028961, -0.041595, -0.029877, 0.174988,
};
static const float ir_filter_strong[AMR_SUBFRAME_SIZE] = {
- 0.448303, 0.351501, 0.038696, -0.084259, -0.173065, 0.229309, -0.001068, -0.085663,
--0.092773, 0.147186, 0.090088, -0.257080, 0.115509, 0.044403, 0.066498, -0.263580,
- 0.245697, -0.064178, -0.044373, 0.023712, 0.033813, -0.072784, 0.068787, -0.011078,
--0.020569, -0.064178, 0.184509, -0.173370, 0.032715, 0.095306, -0.154358, 0.162109,
--0.071075, -0.113770, 0.211304, -0.118683, 0.020599, -0.054169, 0.000885, 0.309601,
+ 0.448303, 0.351501, 0.038696, -0.084259, -0.173065, 0.229309, -0.001068,
+-0.085663, -0.092773, 0.147186, 0.090088, -0.257080, 0.115509, 0.044403,
+ 0.066498, -0.263580, 0.245697, -0.064178, -0.044373, 0.023712, 0.033813,
+-0.072784, 0.068787, -0.011078, -0.020569, -0.064178, 0.184509, -0.173370,
+ 0.032715, 0.095306, -0.154358, 0.162109, -0.071075, -0.113770, 0.211304,
+-0.118683, 0.020599, -0.054169, 0.000885, 0.309601,
};
static const float ir_filter_medium[AMR_SUBFRAME_SIZE] = {
- 0.923889, 0.116913, -0.123169, 0.090698, -0.031982, -0.030579, 0.075592, -0.092865,
- 0.085907, -0.068085, 0.053497, -0.049164, 0.052307, -0.054169, 0.047089, -0.030762,
- 0.013092, -0.005157, 0.014404, -0.038574, 0.066406, -0.082581, 0.076996, -0.049469,
- 0.010498, 0.025208, -0.046661, 0.052612, -0.050568, 0.051910, -0.062958, 0.080688,
--0.093384, 0.088409, -0.060364, 0.016998, 0.023804, -0.041779, 0.025696, 0.019989,
+ 0.923889, 0.116913, -0.123169, 0.090698, -0.031982, -0.030579, 0.075592,
+-0.092865, 0.085907, -0.068085, 0.053497, -0.049164, 0.052307, -0.054169,
+ 0.047089, -0.030762, 0.013092, -0.005157, 0.014404, -0.038574, 0.066406,
+-0.082581, 0.076996, -0.049469, 0.010498, 0.025208, -0.046661, 0.052612,
+-0.050568, 0.051910, -0.062958, 0.080688, -0.093384, 0.088409, -0.060364,
+ 0.016998, 0.023804, -0.041779, 0.025696, 0.019989,
};
static const float *ir_filters_lookup[2] = { ir_filter_strong, ir_filter_medium };
More information about the FFmpeg-soc
mailing list