Files
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-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-06-08 00:22:36 +02:00
2021-01-01 15:25:48 +01:00
2024-02-27 00:11:21 +01:00
2024-02-27 00:11:21 +01:00
2024-06-08 00:22:40 +02:00
2024-06-08 00:22:40 +02:00
2014-06-15 12:11:46 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2015-11-21 08:51:49 -05:00
2024-03-31 00:08:43 +01:00
2024-04-06 09:26:30 +02:00
2024-03-25 08:54:18 +01:00
2024-04-10 13:22:18 +02:00
2022-06-24 15:37:23 +08:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-02-12 22:00:03 +02:00
2024-03-31 00:08:43 +01:00
2022-10-05 08:26:19 +02:00
2022-10-05 08:26:19 +02:00
2024-03-31 00:08:43 +01:00
2024-06-04 11:46:27 +02:00
2023-09-22 13:15:00 +08:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2020-08-26 21:13:38 +02:00
2024-03-31 00:08:43 +01:00
2017-03-20 09:23:15 +01:00
2024-03-31 00:08:43 +01:00
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:37 +01:00
2022-01-04 13:16:49 +01:00
2022-11-06 14:39:36 +01:00
2024-06-08 00:22:35 +02:00
2023-09-07 00:42:10 +02:00
2024-03-15 12:51:15 +01:00
2024-04-04 23:58:57 +02:00
2024-04-04 23:58:57 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-04 17:45:00 +01:00
2024-05-13 03:40:19 +02:00
2023-10-09 19:52:51 +03:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2017-09-16 19:55:03 +02:00
2024-05-13 03:40:17 +02:00
2024-06-13 20:36:09 -03:00
2015-08-11 23:16:35 +02:00
2024-03-31 00:08:43 +01:00
2022-10-20 06:57:30 +02:00
2024-06-20 18:58:38 +02:00
2024-03-10 13:51:37 +01:00
2022-01-26 15:30:28 +01:00
2024-06-04 11:46:27 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2023-10-31 21:33:25 +02:00
2024-03-15 12:51:15 +01:00
2024-06-07 21:42:24 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-07 00:42:10 +02:00
2023-11-08 17:37:58 +11:00
2024-01-25 11:07:28 -05:00
2024-05-31 13:36:02 -03:00
2020-07-20 18:41:09 +02:00
2024-06-14 21:28:10 +03:00
2024-02-21 20:08:25 +02:00
2023-05-15 10:24:54 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-02-09 15:35:14 +01:00
2017-02-21 00:40:20 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-06-04 11:46:27 +02:00
2024-03-31 00:08:43 +01:00
2024-04-29 15:30:25 +02:00
2024-03-31 00:08:43 +01:00
2024-03-29 09:01:54 +01:00
2012-07-05 02:54:34 +00:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-15 12:51:15 +01:00
2023-11-09 12:53:35 +01:00
2024-06-08 00:22:35 +02:00
2024-06-08 00:22:35 +02:00
2024-03-31 00:08:43 +01:00
2014-02-21 16:57:26 -03: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
2023-09-11 00:27:45 +02:00
2024-03-31 00:08:43 +01:00
2023-09-28 19:37:58 +02:00
2024-03-31 00:08:43 +01:00
2022-10-02 20:27:36 +02:00
2024-03-31 00:08:43 +01:00
2024-05-03 18:00:53 +03:00
2010-06-25 08:19:20 +00:00
2024-05-03 18:00:53 +03:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2014-08-31 10:25:36 +02:00
2024-03-31 00:08:43 +01:00
2024-06-03 14:13:34 +02:00
2022-10-14 16:14:24 +02:00
2024-03-31 00:08:43 +01:00
2022-11-06 14:39:36 +01:00
2023-12-22 09:28:04 -03:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2016-08-06 18:27:01 -03:00
2024-03-15 12:51:15 +01:00
2024-03-31 00:08:43 +01:00
2022-04-10 20:12:23 +02:00
2024-06-12 12:07:49 +02:00
2024-06-20 18:58:38 +02:00
2023-12-08 17:20:48 +02:00
2024-03-31 00:08:43 +01:00
2024-05-19 22:12:54 +02:00
2024-06-07 21:42:24 +02:00
2024-04-19 13:18:04 +02:00
2024-04-29 20:46:05 +03:00
2024-04-29 20:46:05 +03:00
2024-04-19 13:18:04 +02:00
2024-04-19 13:18:04 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2022-09-17 10:15:01 +02:00
2024-03-31 00:08:43 +01:00