ffmpeg/libavcodec
Ganesh Ajjanagadde cb93df0dcb avcodec/aacsbr_tablegen: always initialize tables at runtime
This gets rid of virtually useless hardcoded tables hackery. The reason
it is useless is that a 320 element lut is anyway placed regardless of
--enable-hardcoded-tables, from which all necessary tables are trivially
derived at runtime at very low cost:

sample benchmark (x86-64, Haswell, GNU/Linux, single run is really
what is relevant here since looping drastically changes the bench). Fluctuations
are on the order of 10% for the single run test:
39400 decicycles in aacsbr_tableinit,       1 runs,      0 skips
25325 decicycles in aacsbr_tableinit,       2 runs,      0 skips
18475 decicycles in aacsbr_tableinit,       4 runs,      0 skips
15008 decicycles in aacsbr_tableinit,       8 runs,      0 skips
13016 decicycles in aacsbr_tableinit,      16 runs,      0 skips
12005 decicycles in aacsbr_tableinit,      32 runs,      0 skips
11546 decicycles in aacsbr_tableinit,      64 runs,      0 skips
11506 decicycles in aacsbr_tableinit,     128 runs,      0 skips
11500 decicycles in aacsbr_tableinit,     256 runs,      0 skips
11183 decicycles in aacsbr_tableinit,     509 runs,      3 skips

Tested with FATE with/without --enable-hardcoded-tables.

Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-09 07:36:58 -05:00
..
2015-12-04 02:35:42 +01:00
2015-08-22 06:16:31 +01:00
2015-11-30 18:29:57 -05:00
2015-11-22 16:16:16 -05:00
2015-10-29 21:26:43 +01:00
2015-11-21 08:51:49 -05:00
2015-06-14 15:09:33 +02:00
2015-10-08 23:29:18 +02:00
2015-08-18 10:24:01 -04:00
2015-11-30 10:58:46 -05:00
2015-11-06 13:45:50 +01:00
2015-09-10 16:36:47 +02:00
2015-10-13 16:03:04 +02:00
2015-05-06 17:50:09 +02:00
2015-10-26 10:08:01 +01:00
2015-09-03 13:55:38 +02:00
2015-12-07 16:10:51 +01:00
2015-10-09 22:09:08 +02:00
2015-08-11 23:16:35 +02:00
2015-07-27 16:21:14 +01:00
2015-10-25 22:48:04 +01:00
2015-11-12 13:16:25 +01:00
2015-08-21 08:46:05 +02:00
2015-08-21 08:46:05 +02:00
2015-11-17 01:23:10 +01:00
2015-11-14 02:37:12 +01:00
2015-11-20 08:20:13 -05:00
2015-05-20 15:50:58 +02:00
2015-10-11 17:29:50 -03:00
2015-06-17 20:11:43 +02:00
2015-11-30 23:31:12 +01:00
2015-11-30 23:31:12 +01:00
2015-08-18 11:48:49 -04:00
2015-09-06 14:06:44 +02:00
2015-07-22 23:23:29 +02:00
2015-10-26 23:23:59 -07:00
2015-08-15 15:06:01 +02:00
2015-08-18 11:48:49 -04:00
2015-10-09 22:09:08 +02:00
2015-09-07 15:32:08 +02:00
2015-08-03 10:12:10 +02:00
2015-12-07 09:38:59 +01:00
2015-12-07 09:38:59 +01:00
2015-12-07 09:25:02 +01:00
2015-07-27 15:24:58 +01:00