diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-07 03:23:33 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-08 18:40:46 +0200 |
commit | c0d7d5f595ea1985c3e7a6bbe759de3ba6767e41 (patch) | |
tree | d8c9b98f98713399582f9a6ae38337e4603262ad /libavcodec/qsv.c | |
parent | 7fbf1f21ab34649e87747d6cbc6b4b03adc6acb8 (diff) |
avcodec/qsv: Remove unused ff_qsv_level_to_mfx()
Unused since 00d0a4aa9eda8553113e51556123c46648a5f31b.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/qsv.c')
-rw-r--r-- | libavcodec/qsv.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 6e3154e1a3..c53e2e3b07 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -76,19 +76,6 @@ int ff_qsv_codec_id_to_mfx(enum AVCodecID codec_id) return AVERROR(ENOSYS); } -int ff_qsv_level_to_mfx(enum AVCodecID codec_id, int level) -{ - if (level == FF_LEVEL_UNKNOWN) - return MFX_LEVEL_UNKNOWN; - - switch (codec_id) { - case AV_CODEC_ID_HEVC: - return level / 3; - default: - return level; - } -} - static const struct { int mfx_iopattern; const char *desc; |