aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-23 05:43:33 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-04 16:28:55 +0100
commit7c0c73bca0bc73fbb7f02128bd6b2af95f3ceb38 (patch)
treeb4823d5df703bb7e8a8168b4218d8fc21728cc80 /tools
parent854e3d47341b7c551c68abd6e19bbe6c20c6040b (diff)
downloadffmpeg-7c0c73bca0bc73fbb7f02128bd6b2af95f3ceb38.tar.gz
avcodec/mpegvideo: Partially check for being encoder at compile-time
Whether lowres is in use or not is inlined in mpv_reconstruct_mb_internal(), so one can use the fact that lowres is always zero during encoding to evaluate the checks for whether one is encoding or not at compile-time when one is in lowres mode. Also reorder the main check to check for whether it is an encoder first to shortcircuit it in the common case of a decoder. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions