Files
ffmpeg/libavcodec
Andreas Rheinhardt 3d9a581ec1 avcodec/msmpeg4dec: Avoid lookups when decoding motion vector
Up until now, the decoder uses VLCs to determine whether
this is an escape element or an index in two separate tables
giving the x and y components of the motion vector.
Given that both these components fit into an int16_t and therefore
into a VLCElem's symbol one can simply use a symbol table
to avoid the latter lookups.

This necessitated to combine the two tables for x and y components.
While just at it, also switch to ff_vlc_init_tables_from_lengths().
This will allow to get rid of the code tables (about 4KiB) once
the encoder has been ported, too.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2025-03-26 03:38:36 +01:00
..
2025-03-17 08:51:23 +01:00
2025-02-26 17:12:08 +01:00
2025-02-26 17:12:08 +01:00
2025-02-04 00:14:14 +01:00
2025-02-09 20:27:49 -06:00
2025-02-09 20:27:49 -06:00
2025-03-24 13:55:56 -03:00
2025-03-17 08:51:23 +01:00
2025-02-06 13:48:47 -03:00
2025-03-19 21:02:56 +01:00
2025-03-20 07:10:17 +01:00
2025-03-20 07:10:17 +01:00
2025-02-09 20:27:49 -06:00
2025-03-14 02:03:58 +01:00
2025-03-17 08:51:23 +01:00