Andreas Rheinhardt
00772ef4f7
avcodec/webp: Use LE VLC table for LE bitstream reader
...
The WebP format uses Huffman tables and the decoder therefore uses
VLC tables. Given that WebP is a LE format, a LE bitreader is used;
yet the VLC table is not created for a LE reader (the process used to
create the tables puts the last bit to be read in the lowest bit) and
therefore custom code for reading the VLCs that reverses the bits
read is used instead of get_vlc2(). This commit changes this to use
a table designed for LE bitreader which allows to use get_vlc2() directly.
The necessary reversing of the codes is delegated to
ff_init_vlc_sparse() (and is therefore only done during init and not
when actually reading the VLCs).
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-10-12 22:40:00 +02:00
..
2020-09-18 02:52:15 +02:00
2020-09-18 02:52:04 +02:00
2020-10-11 19:59:24 +02:00
2020-09-18 11:34:11 +02:00
2020-09-18 02:50:34 +02:00
2020-10-07 22:16:09 +02:00
2020-10-11 19:59:24 +02:00
2020-09-20 18:03:52 +02:00
2020-10-12 12:20:26 +02:00
2020-09-27 09:56:13 +02:00
2020-09-18 02:50:48 +02:00
2020-09-18 02:51:15 +02:00
2020-10-06 11:28:12 -03:00
2020-10-10 01:15:49 -03:00
2020-10-06 00:01:34 +08:00
2020-10-05 23:10:13 +08:00
2020-10-05 23:10:13 +08:00
2020-10-12 22:20:37 +02:00
2020-09-26 20:38:30 +02:00
2020-09-17 00:09:07 +02:00
2020-10-12 17:54:52 +02:00
2020-09-29 21:38:27 -03:00
2020-09-29 21:38:27 -03:00
2020-09-29 21:38:27 -03:00
2020-09-29 21:38:27 -03:00
2020-09-29 21:38:27 -03:00
2020-10-10 13:08:24 +02:00
2020-09-23 23:04:36 +02:00
2020-09-18 02:51:31 +02:00
2020-10-07 22:16:09 +02:00
2020-10-07 22:16:09 +02:00
2020-10-10 23:58:11 -03:00
2020-10-07 22:16:09 +02:00
2020-10-01 21:28:55 +02:00
2020-09-26 20:38:30 +02:00
2020-10-04 23:36:50 +02:00
2020-09-18 02:51:40 +02:00
2020-10-04 16:54:11 +02:00
2020-09-18 02:52:15 +02:00
2020-09-18 02:52:32 +02:00
2020-10-11 16:42:49 +02:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-09-18 02:52:45 +02:00
2020-09-19 18:45:30 +02:00
2020-09-19 18:39:58 +02:00
2020-09-26 21:10:45 +02:00
2020-10-11 19:59:24 +02:00
2020-09-19 18:46:45 +02:00
2020-10-11 19:59:24 +02:00
2020-10-05 11:20:17 -03:00
2020-09-28 11:33:36 +02:00
2020-09-19 18:47:01 +02:00
2020-09-19 18:47:05 +02:00
2020-09-19 18:47:10 +02:00
2020-10-12 22:06:28 +02:00
2020-09-19 18:47:27 +02:00
2020-09-24 13:33:29 +02:00
2020-10-12 22:38:40 +02:00
2020-09-19 18:47:39 +02:00
2020-10-07 22:16:35 +02:00
2020-10-06 00:01:33 +08:00
2020-10-01 22:42:37 -03:00
2020-09-19 18:47:54 +02:00
2020-09-26 20:38:30 +02:00
2020-10-09 01:17:02 +02:00
2020-10-07 22:16:09 +02:00
2020-10-12 02:10:41 +02:00
2020-10-09 01:17:02 +02:00
2020-10-11 16:42:49 +02:00
2020-10-11 19:59:24 +02:00
2020-10-12 02:00:08 +02:00
2020-10-12 02:10:41 +02:00
2020-10-12 02:10:41 +02:00
2020-10-12 02:00:08 +02:00
2020-09-19 18:52:41 +02:00
2020-09-19 18:52:41 +02:00
2020-09-19 18:52:41 +02:00
2020-09-28 11:33:36 +02:00
2020-09-29 00:43:26 +02:00
2020-10-01 22:43:03 -03:00
2020-10-01 11:16:17 +02:00
2020-10-01 11:16:17 +02:00
2020-10-01 11:16:17 +02:00
2020-10-10 01:15:49 -03:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-09-29 00:43:26 +02:00
2020-09-26 20:38:30 +02:00
2020-09-16 15:22:54 +02:00
2020-09-28 11:33:36 +02:00
2020-10-05 00:48:47 +02:00
2020-09-26 23:42:39 +08:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-10-12 12:19:29 +02:00
2020-09-17 00:09:08 +02:00
2020-10-10 20:59:05 +02:00
2020-10-10 20:59:05 +02:00
2020-09-18 12:20:16 +02:00
2020-09-25 10:21:28 +02:00
2020-10-12 22:35:40 +02:00
2020-09-17 19:23:11 +02:00
2020-09-17 00:09:08 +02:00
2020-10-10 13:08:24 +02:00
2020-10-11 19:59:24 +02:00
2020-09-17 00:09:08 +02:00
2020-10-01 22:43:28 -03:00
2020-09-26 21:10:45 +02:00
2020-09-26 21:10:45 +02:00
2020-09-26 21:10:45 +02:00
2020-09-26 17:37:51 -04:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-10-02 14:59:53 +02:00
2020-10-08 11:18:14 -07:00
2020-09-28 21:48:23 -04:00
2020-10-12 22:20:37 +02:00
2020-09-23 13:47:36 -04:00
2020-10-11 02:11:32 +02:00
2020-10-12 22:40:00 +02:00
2020-09-17 00:06:48 +02:00