aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dvbsub_parser.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-06-13 01:38:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-06-21 22:08:52 +0200
commit13527b39bb1c07881bbfab220ea3ce48da273d98 (patch)
tree388cc8da9b2b8605b23b9f0498645515b2bddcc6 /libavcodec/dvbsub_parser.c
parent514e5ea0db841416c0bc86bb536c83ecdae2dc2f (diff)
downloadffmpeg-13527b39bb1c07881bbfab220ea3ce48da273d98.tar.gz
avcodec/mpegvideo: Redo resetting intra table entry
All callers check the corresponding entry of MpegEncContext.mbintra_table and if set (indicating that the intra tables might have been written to when decodeing a intra MB, so that they are "dirty"), call ff_clean_intra_table_entries(), which resets them to default values and resets the mbintra_table entry. Move resetting to the callers (via an inline function that also performs the checks). This currently has the advantage that the additional load of the mbintra_table ptr can be avoided. It will also allow to simplify ff_clean_intra_table_entries() (by using block_index[4] and [5]). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dvbsub_parser.c')
0 files changed, 0 insertions, 0 deletions