Files
ffmpeg/libavcodec
Andreas Rheinhardt c4ebe55f94 avcodec/mpegvideo: Allocate ac_val jointly
They are currently allocated separately per slice; allocating them
jointly allows to avoid saving them in ff_update_duplicate_context().

The way it is done also avoids allocating ac_val for encoders that
don't need it (e.g. H.263 or H.263+ with AIC).

This entailed moving setting nb_slices to ff_mpv_init_context_frame()
which is called from ff_mpv_common_frame_size_change(). The resultant
nb_slices will always be one when called from a decoder using
ff_mpv_common_frame_size_change().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2025-06-21 22:08:52 +02:00
..
2025-04-13 22:49:21 +02:00
2025-06-12 21:17:07 +08:00
2025-06-20 21:09:39 +08:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-05-15 01:51:34 +02:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-05-04 16:21:35 -03:00
2025-05-26 05:03:29 +02:00
2025-05-26 05:03:29 +02:00
2025-05-13 00:20:23 +02:00
2025-06-06 17:21:37 +02:00
2025-05-09 22:26:51 +02:00
2025-04-10 03:01:33 +02:00
2025-05-01 22:42:34 -03:00
2025-06-06 22:07:15 +02:00
2025-05-15 03:03:56 +02:00
2025-05-16 01:37:35 +02:00
2025-04-25 23:01:37 +02:00
2025-04-25 23:01:38 +02:00