aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsv_internal.h
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2019-08-13 14:11:08 +0800
committerZhong Li <zhong.li@intel.com>2019-08-20 13:34:02 +0800
commitf3dfd34f27ae11279baa9e2e2525e990b7c858f4 (patch)
tree5009b5a1f9c668f7f983784f4f047c61db133455 /libavcodec/qsv_internal.h
parentf115a2b7635d9e47b1299661ddaa6ac2386e9db1 (diff)
downloadffmpeg-f3dfd34f27ae11279baa9e2e2525e990b7c858f4.tar.gz
lavc/qsv: make function qsv_map_fourcc() can be called externally
Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavcodec/qsv_internal.h')
-rw-r--r--libavcodec/qsv_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h
index f701ceec8d..c50e9c792c 100644
--- a/libavcodec/qsv_internal.h
+++ b/libavcodec/qsv_internal.h
@@ -92,6 +92,8 @@ int ff_qsv_codec_id_to_mfx(enum AVCodecID codec_id);
int ff_qsv_profile_to_mfx(enum AVCodecID codec_id, int profile);
int ff_qsv_level_to_mfx(enum AVCodecID codec_id, int level);
+enum AVPixelFormat ff_qsv_map_fourcc(uint32_t fourcc);
+
int ff_qsv_map_pixfmt(enum AVPixelFormat format, uint32_t *fourcc);
enum AVPictureType ff_qsv_map_pictype(int mfx_pic_type);