Files
FFmpeg/libavcodec
Andreas Rheinhardt 7b539ca3e6 avcodec/mpeg_er: Simplify disabling IDCT
The error resilience code does not make up block coefficients
and therefore zeroes them in order to disable the IDCT.
But this can be done in a simpler manner, namely by setting
block_last_index to a negative value. Doing so also has
the advantage that the dct_unquantize functions are never even
called for those codecs that do not use ff_mpv_reconstruct_mb()
for ordinary decoding (namely RV-30/40 and the VC-1 family).

This approach would not work for intra macroblocks (there is always
at least one coefficient for them and therefore there is no check
for block_last_index for them), but this does not happen at all.
Add an assert for this.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-06-20 18:58:39 +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
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
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-04-06 09:26:30 +02:00
2024-03-25 08:54:18 +01:00
2024-04-10 13:22:18 +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
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
2024-03-31 00:08:43 +01:00
2023-09-22 13:15:00 +08: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
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-10-01 02:25:09 +02:00
2024-06-08 00:22:35 +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-11-14 19:15:51 +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
2024-05-13 03:40:17 +02:00
2024-06-13 20:36:09 -03:00
2024-03-31 00:08:43 +01:00
2024-06-20 18:58:38 +02:00
2024-03-10 13:51:37 +01:00
2023-10-03 00:27:14 +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
2023-10-31 21:33:25 +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-11-08 17:37:58 +11:00
2024-01-25 11:07:28 -05:00
2024-05-31 13:36:02 -03:00
2024-06-14 21:28:10 +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
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
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
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-03-31 00:08:43 +01:00
2023-09-28 19:37:58 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-05-03 18:00:53 +03: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
2024-03-31 00:08:43 +01:00
2024-06-03 14:13:34 +02:00
2024-03-31 00:08:43 +01:00
2023-12-22 09:28:04 -03: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
2024-03-15 12:51:15 +01:00
2024-03-31 00:08:43 +01: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
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
2024-03-31 00:08:43 +01:00