diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-23 05:43:33 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-04 16:28:55 +0100 |
commit | 7c0c73bca0bc73fbb7f02128bd6b2af95f3ceb38 (patch) | |
tree | b4823d5df703bb7e8a8168b4218d8fc21728cc80 /tools | |
parent | 854e3d47341b7c551c68abd6e19bbe6c20c6040b (diff) | |
download | ffmpeg-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