diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-10 17:24:44 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-13 08:27:52 +0100 |
commit | c32f6b7f8abcfd9f671f80e423e92ee0408eaa08 (patch) | |
tree | 4da11e6b90a61874d9dfa591d150979fac1fb620 /libavutil/hwcontext_opencl.h | |
parent | 0a6e000d75b5f721002b4e0bb7b87700472e30b2 (diff) | |
download | ffmpeg-c32f6b7f8abcfd9f671f80e423e92ee0408eaa08.tar.gz |
avcodec/h264pred: Remove dead > 8 pixels checks for 8bit codecs
RV40, SVQ3 and VP7/VP8 are eight-bit only, so it makes no sense
to check for them in the codepath initializing > eight bit contexts.
Move the codec-specific code to a switch located after the eight-bit
init code where this is easily possible; and add checks to the macro
to enable the compiler to remove the remaining checks when initializing
bitdepths > 8 at compile-time.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/hwcontext_opencl.h')
0 files changed, 0 insertions, 0 deletions