[FFmpeg-devel] [PATCH v4 19/21] lavfi/deinterlace_qsv: add async_depth option

Haihao Xiang haihao.xiang at intel.com
Thu Jul 29 08:25:07 EEST 2021


Allow user to set async depth for deinterlace_qsv
---
 libavfilter/vf_vpp_qsv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 59bf83d7af..67e362596e 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@ -719,6 +719,7 @@ static const AVOption qsvdeint_options[] = {
     { "field", "Output at field rate (one frame of output for each field)",
       0, AV_OPT_TYPE_CONST, { .i64 = 2 }, 0, 0, FLAGS, "rate" },
 
+    { "async_depth", "Internal parallelization depth, the higher the value the higher the latency.", OFFSET(qsv.async_depth), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, .flags = FLAGS },
     { NULL },
 };
 
-- 
2.17.1



More information about the ffmpeg-devel mailing list