aboutsummaryrefslogtreecommitdiffstats
path: root/doc/platform.texi
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-11-19 04:58:45 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-11-24 20:58:21 +0100
commit64ed1d40df82949114ca5c4cbf33858ae94cc7f9 (patch)
tree70b1228940d01a4acd1fb1aa09b6ae2d61b68dc2 /doc/platform.texi
parente97368eba5b48a958d3b398780e56b12db92d1a1 (diff)
downloadffmpeg-64ed1d40df82949114ca5c4cbf33858ae94cc7f9.tar.gz
swscale/utils: Factor initializing single slice context out
Initializing slice threads currently uses the function (sws_init_context()) that is also used for initializing user-facing contexts with the only difference being that nb_threads is set to one before initializing the slice contexts. Yet sws_init_context() also initializes lots of stuff that is not slice-dependent, i.e. (src|dst)Range. This currently only works because the code sets these fields to the same values for all slice contexts. This is not nice; even worse, it entails that log messages are printed once per slice context (and therefore fill the screen). This commit lays the groundwork to fix this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'doc/platform.texi')
0 files changed, 0 insertions, 0 deletions