comparison aacdectab.h @ 7790:209a9ad96a6c libavcodec

Multiply table by -1. This avoid doing this calculation (that was introduced in my last commit) in real time.
author vitor
date Thu, 04 Sep 2008 15:04:08 +0000
parents c4a4495715dd
children dc1a7a6ec58d
comparison
equal deleted inserted replaced
7789:5c532e05faea 7790:209a9ad96a6c
176 * The suffix _M_N[] indicate the values of coef_compress and coef_res 176 * The suffix _M_N[] indicate the values of coef_compress and coef_res
177 * respectively. 177 * respectively.
178 * @{ 178 * @{
179 */ 179 */
180 static const float tns_tmp2_map_1_3[4] = { 180 static const float tns_tmp2_map_1_3[4] = {
181 0.00000000, 0.43388373, -0.64278758, -0.34202015, 181 0.00000000, -0.43388373, 0.64278758, 0.34202015,
182 }; 182 };
183 183
184 static const float tns_tmp2_map_0_3[8] = { 184 static const float tns_tmp2_map_0_3[8] = {
185 0.00000000, 0.43388373, 0.78183150, 0.97492790, 185 0.00000000, -0.43388373, -0.78183150, -0.97492790,
186 -0.98480773, -0.86602539, -0.64278758, -0.34202015, 186 0.98480773, 0.86602539, 0.64278758, 0.34202015,
187 }; 187 };
188 188
189 static const float tns_tmp2_map_1_4[8] = { 189 static const float tns_tmp2_map_1_4[8] = {
190 0.00000000, 0.20791170, 0.40673664, 0.58778524, 190 0.00000000, -0.20791170, -0.40673664, -0.58778524,
191 -0.67369562, -0.52643216, -0.36124167, -0.18374951, 191 0.67369562, 0.52643216, 0.36124167, 0.18374951,
192 }; 192 };
193 193
194 static const float tns_tmp2_map_0_4[16] = { 194 static const float tns_tmp2_map_0_4[16] = {
195 0.00000000, 0.20791170, 0.40673664, 0.58778524, 195 0.00000000, -0.20791170, -0.40673664, -0.58778524,
196 0.74314481, 0.86602539, 0.95105654, 0.99452192, 196 -0.74314481, -0.86602539, -0.95105654, -0.99452192,
197 -0.99573416, -0.96182561, -0.89516330, -0.79801720, 197 0.99573416, 0.96182561, 0.89516330, 0.79801720,
198 -0.67369562, -0.52643216, -0.36124167, -0.18374951, 198 0.67369562, 0.52643216, 0.36124167, 0.18374951,
199 }; 199 };
200 200
201 static const float *tns_tmp2_map[4] = { 201 static const float *tns_tmp2_map[4] = {
202 tns_tmp2_map_0_3, 202 tns_tmp2_map_0_3,
203 tns_tmp2_map_0_4, 203 tns_tmp2_map_0_4,