1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-31 18:44:44 +03:00
Files
ffmpeg/libavcodec
Andreas Rheinhardt 26cc9db744 avcodec/on2avc: Unify initializing quad and pair VLCs
Up until now, quad VLCs are initialized with codes of type uint32_t,
pair VLCs with codes of type uint16_t. There were two separate loops in
the decoder's init function for each type of VLC. This commit unifies
this: The type of the codes are now passed in as void * and the actual
size of the codes is obtained from a table. This approach also allows to
use the smallest type for each VLC code table: some quad tables actually
fitted in uint16_t. This allows to remove about 7KB from the binary.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-10-21 07:47:55 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-02-07 13:36:57 -03:00
…
…
2020-09-18 11:34:11 +02:00
…
…
2020-10-15 22:53:56 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-06-10 12:36:44 +02:00
…
…
…
…
…
…
2020-08-26 21:13:38 +02:00
2020-08-26 21:13:38 +02:00
…
…
…
…
2020-10-07 22:16:09 +02:00
2020-10-07 22:16:09 +02:00
…
…
2020-10-15 21:20:40 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-03-12 20:26:48 +00:00
…
…
2020-03-12 20:26:48 +00:00
…
…
…
…
…
…
2020-05-21 09:31:08 +02:00
…
…
…
…
…
…
…
…
2020-02-22 00:15:43 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-12-05 20:20:05 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-03-22 11:55:44 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-06-05 18:14:17 +02:00
…
…
…
…
…
…
…
…
…
…
…
2020-06-14 18:20:37 +02:00
2020-06-15 04:22:28 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-07-20 18:41:09 +02:00
2020-07-20 18:41:09 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-10-19 05:15:00 +02:00
…
…
…
…
…
2019-12-10 16:09:14 +01:00
…
…
…
…
…
…
…
…
…
…
2020-01-11 23:31:18 +01:00
…
…
…
…
…
…
…
2020-05-12 01:00:28 +02:00
…
…
2020-05-26 10:52:12 +01:00
…
…
…
…
…
…
2020-05-26 10:52:12 +01:00
2020-05-26 10:52:12 +01:00
…
…
…
…
…
…
…
…
…
…
…
2020-06-08 20:45:56 +02:00
2020-05-30 18:02:55 +02:00
2020-07-05 19:59:49 +02:00
…
…
…
…
2020-02-19 22:37:30 +01:00
…
2020-09-01 14:19:19 +02:00
…
…
…
…
2020-04-26 18:38:25 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-04-04 23:26:15 +02:00
…
…
2020-05-22 22:23:18 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-10-15 22:53:56 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-01-13 23:26:25 +00:00
2020-07-20 18:41:09 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-01-11 23:31:18 +01:00
…
…
2020-04-26 18:38:25 +01:00
…
…
…
…
2020-10-15 21:20:40 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-04-16 15:05:07 -03:00
…
…
2020-03-22 11:55:44 -03:00
…
…
…
…
…
…
…
…
…
…
…
2020-05-23 07:07:36 +02:00
…
…
…
…
…
…
…
…
…
2020-10-16 00:38:50 +02:00
…
…
…