diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2021-01-05 15:02:55 +0800 |
---|---|---|
committer | Linjie Fu <linjie.justin.fu@gmail.com> | 2021-01-23 16:09:16 +0000 |
commit | db28e9c1d98c956328dd106885b198c8b187202f (patch) | |
tree | a64a0478dfdfc370e393f8650d2db8e8f96b8070 /libavfilter/qsvvpp.h | |
parent | 7a5a5e68bfb344ce081d2b313ae8b9dc92df40bf (diff) |
lavf/qsv: Add functions to print mfx iopattern, warning and error
It is a copy of the relevant part in lavc/qsv but use different function
names to avoid multiple definition when linking lavc and lavf statically.
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com
Diffstat (limited to 'libavfilter/qsvvpp.h')
-rw-r--r-- | libavfilter/qsvvpp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavfilter/qsvvpp.h b/libavfilter/qsvvpp.h index c2bcce7548..b4baeedf9e 100644 --- a/libavfilter/qsvvpp.h +++ b/libavfilter/qsvvpp.h @@ -71,4 +71,13 @@ int ff_qsvvpp_free(QSVVPPContext **vpp); /* vpp filter frame and call the cb if needed */ int ff_qsvvpp_filter_frame(QSVVPPContext *vpp, AVFilterLink *inlink, AVFrame *frame); +int ff_qsvvpp_print_iopattern(void *log_ctx, int mfx_iopattern, + const char *extra_string); + +int ff_qsvvpp_print_error(void *log_ctx, mfxStatus err, + const char *error_string); + +int ff_qsvvpp_print_warning(void *log_ctx, mfxStatus err, + const char *warning_string); + #endif /* AVFILTER_QSVVPP_H */ |