1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt f5d5b80f3c avcodec/mpegutils: Don't use MB_TYPE_L[01] for mpegvideo
MB_TYPE_L[01] is based upon H.264 terminology (it stands for
list); yet the mpegvideo based decoders don't have lists
of reference frames, they have at most one forward and one
backward reference. So use terminology based upon this.

This also has a second advantage: MB_TYPE_L[01] is actually
an OR of two flags (which are set independently for H.264,
but aren't for mpegvideo). Switching to different flags
makes the flags fit into an int16_t, which will be useful
in future commits.

The only downside to this is a very small amount of code
in error_resilience.c and mpegutils.c (the only code shared
between the H.264 decoder and mpegvideo).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-06-20 18:58:38 +02:00
..
2024-06-04 11:46:27 +02:00
2024-06-04 11:46:27 +02:00
2024-06-04 11:46:27 +02:00
2024-06-08 00:22:36 +02:00
2024-06-08 00:22:40 +02:00
2024-06-08 00:22:40 +02:00
2024-06-04 11:46:27 +02:00
2024-06-08 00:22:35 +02:00
2024-06-13 20:36:09 -03:00
2024-06-20 18:58:38 +02:00
2024-06-04 11:46:27 +02:00
2024-06-07 21:42:24 +02:00
2024-05-31 13:36:02 -03:00
2024-06-14 21:28:10 +03:00
2024-06-04 11:46:27 +02:00
2024-06-08 00:22:35 +02:00
2024-06-08 00:22:35 +02:00
2024-05-28 03:48:04 +02:00
2024-05-29 10:46:54 +08:00
2024-06-04 11:46:27 +02:00
2024-06-03 14:13:34 +02:00
2024-06-12 12:07:49 +02:00
2024-06-20 18:58:38 +02:00
2024-06-07 21:42:24 +02:00