Files
FFmpeg/libavcodec
Andreas Rheinhardt cbe6ef1031 avcodec/vc1dec: Split VC-1 decoders from msmpeg4
The only msmpeg4 code that is ever executed by the VC-1 based
decoders is ff_msmpeg4_decode_init() and what is directly
reachable from it. This is:
a) A call to av_image_check_size(), then ff_h263_decode_init(),
b) followed by setting [yc]_dc_scale_table and initializing
scantable/permutations.
c) Afterwards, some static tables are initialized.
d) Finally, slice_height is set.

The replacement for ff_msmpeg4_decode_init() performs a)
just like now; it also sets [yc]_dc_scale_table,
but it only initializes inter_scantable and intra_scantable
and not permutated_intra_[hv]_scantable: The latter are only
used inside decode_mb callbacks which are only called
in ff_h263_decode_frame() which is unused for VC-1.*

The static tables initialized in c) are not used at all by
VC-1 (the ones that are used have been factored out in
previous commits); this avoids touching 327KiB of .bss.

slice_height is also not used by the VC-1 decoder (setting
it in ff_msmpeg4_decode_init() is probably redundant after
b34397b4cd).

*: It follows from this that the VC-1 decoder is not really
based upon the H.263 decoder either; changing this will
be done in a future commit.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-11-06 17:41:26 +01:00
..
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:36 +01:00
2022-11-06 17:37:21 +01:00
2022-11-06 14:39:41 +01:00
2022-09-17 10:32:16 +02:00
2022-11-06 14:39:35 +01:00
2022-11-06 14:39:35 +01:00
2022-11-06 14:39:35 +01:00
2022-09-27 13:19:52 +02:00
2022-11-06 14:39:35 +01:00
2022-11-06 14:39:35 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-10-24 00:46:56 +02:00
2022-02-07 00:31:23 +01:00
2022-09-23 20:26:28 +02:00
2022-08-31 16:25:31 +02:00
2022-03-18 19:56:50 +01:00
2022-11-06 14:39:39 +01:00
2022-11-06 14:39:40 +01:00
2022-11-06 14:39:40 +01:00
2022-11-06 14:39:40 +01:00
2022-11-06 14:39:40 +01:00
2022-11-06 14:39:34 +01:00
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08:00
2022-10-17 09:56:47 +02:00
2022-10-05 08:26:19 +02:00
2022-10-05 08:26:19 +02:00
2022-10-22 17:28:01 +02:00
2022-10-18 13:20:37 +11:00
2022-10-18 13:20:37 +11:00
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:37 +01:00
2022-11-06 14:39:37 +01:00
2022-01-04 13:16:49 +01:00
2022-01-04 13:16:49 +01:00
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:37 +01:00
2022-11-06 14:39:36 +01:00
2022-09-07 00:07:45 +02:00
2022-09-07 00:07:45 +02:00
2022-02-24 12:56:49 +01:00
2022-07-30 11:42:06 +02:00
2022-07-30 11:42:06 +02:00
2022-10-20 06:57:30 +02:00
2022-01-26 15:30:28 +01:00
2022-06-25 09:05:58 +08:00
2022-10-24 00:46:58 +02:00
2022-09-29 00:05:32 +02:00
2022-09-29 00:05:32 +02:00
2022-09-30 19:11:36 +02:00
2022-09-16 10:02:19 +02:00
2022-03-15 09:42:43 -03:00
2022-03-15 09:42:43 -03:00
2022-02-18 20:11:06 +01:00
2022-02-18 20:11:06 +01:00
2022-11-06 14:39:38 +01:00
2022-10-08 10:19:30 +02:00
2022-10-27 13:17:07 +03:00
2022-09-22 01:05:59 +02:00
2022-11-06 14:39:42 +01:00
2022-10-02 20:27:36 +02:00
2022-11-06 14:39:35 +01:00
2022-10-14 16:14:24 +02:00
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:36 +01:00
2022-09-30 04:40:44 +02:00
2022-11-06 14:39:33 +01:00
2022-11-06 14:39:33 +01:00
2022-04-10 20:12:23 +02:00
2022-06-25 09:05:58 +08:00
2022-10-17 09:51:47 +02:00
2022-11-06 14:39:33 +01:00
2022-11-06 14:39:41 +01:00
2022-10-26 20:30:25 +11:00
2022-10-13 23:42:25 +02:00
2022-10-18 13:20:37 +11:00
2022-11-06 14:39:39 +01:00
2022-11-06 14:39:39 +01:00
2022-11-06 14:39:39 +01:00
2022-11-06 14:39:39 +01:00
2022-11-06 14:39:34 +01:00
2022-09-17 10:15:01 +02:00