aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/misc4_parser.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-10-16 01:21:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-12 11:53:49 +0200
commit45cf0541cf4b3ec89cd9c8c8919c0650852f30ec (patch)
tree6312f996968e01b3bacbbb57c0a7ab96319ee233 /libavcodec/misc4_parser.c
parent5475000942c812bf9c5eb01f84d84822e7e0a0c0 (diff)
downloadffmpeg-45cf0541cf4b3ec89cd9c8c8919c0650852f30ec.tar.gz
avcodec/mpegpicture: Use ThreadProgress instead of ThreadFrame API
Given that MPVPictures are already directly shared between threads in case of frame-threaded decoding, one can simply use it to pass decoding progress information between threads. This allows to avoid one level of indirection; it also means avoids allocations (of the ThreadFrameProgress structure) in case of frame-threading and indeed makes ff_thread_release_ext_buffer() decoder-only (actually, H.264-decoder-only). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/misc4_parser.c')
0 files changed, 0 insertions, 0 deletions