<div dir="ltr">From eff9041993e5f85bbd4498c07d20eeff9064467d Mon Sep 17 00:00:00 2001<br>From: Aruna <<a href="mailto:aruna@multicorewareinc.com">aruna@multicorewareinc.com</a>><br>Date: Mon, 6 Jul 2020 19:16:18 +0530<br>Subject: [PATCH] Fix libvmaf integration issues<br><br>1. Updates the search path of libvmaf.h<br>2. Fix incorrect argument in vmaf_encoder_log() API<br>---<br> source/abrEncApp.cpp   | 2 +-<br> source/encoder/api.cpp | 2 +-<br> 2 files changed, 2 insertions(+), 2 deletions(-)<br><br>diff --git a/source/abrEncApp.cpp b/source/abrEncApp.cpp<br>index 1205a83cd..4079fe3a2 100644<br>--- a/source/abrEncApp.cpp<br>+++ b/source/abrEncApp.cpp<br>@@ -814,7 +814,7 @@ ret:<br>             api->encoder_get_stats(m_encoder, &stats, sizeof(stats));<br>             if (m_param->csvfn && !b_ctrl_c)<br> #if ENABLE_LIBVMAF<br>-                api->vmaf_encoder_log(m_encoder, m_cliopt.argCount, m_cliopt.argString, m_cliopt.param, vmafdata);<br>+                api->vmaf_encoder_log(m_encoder, m_cliopt.argCnt, m_cliopt.argString, m_cliopt.param, vmafdata);<br> #else<br>                 api->encoder_log(m_encoder, m_cliopt.argCnt, m_cliopt.argString);<br> #endif<br>diff --git a/source/encoder/api.cpp b/source/encoder/api.cpp<br>index 6413e4ea0..a986355e0 100644<br>--- a/source/encoder/api.cpp<br>+++ b/source/encoder/api.cpp<br>@@ -33,7 +33,7 @@<br> #include "svt.h"<br> <br> #if ENABLE_LIBVMAF<br>-#include "libvmaf.h"<br>+#include "libvmaf/libvmaf.h"<br> #endif<br> <br> /* multilib namespace reflectors */<br>-- <br>2.20.1.windows.1<br><br><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font face="georgia, serif">Regards,</font><div><b><font face="georgia, serif">Aruna Matheswaran,</font></b></div><div><font face="georgia, serif">Video Codec Engineer,</font></div><div><font face="georgia, serif">Media & AI analytics BU,</font></div><div><span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span style="border:none;display:inline-block;overflow:hidden;width:153px;height:58px"><img src="https://lh5.googleusercontent.com/gjX5cPNIZgwUrhfqkTwQUZWztIKmmo0qs3kbwvkS5H-bDVE2ftte9pMTVnFLSjOcjYWLtfc6_OGpxW4vraLg2r5QAIf1Q3MpldFDgWtzK_gXi8ptw5B3joIbsGL6mxj-JRdjHzT5" width="96" height="36" style="margin-left:0px;margin-top:0px"></span></span></span><font face="georgia, serif"><br></font></div><div><span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span style="border:none;display:inline-block;overflow:hidden;width:153px;height:58px"><img src="https://lh5.googleusercontent.com/gjX5cPNIZgwUrhfqkTwQUZWztIKmmo0qs3kbwvkS5H-bDVE2ftte9pMTVnFLSjOcjYWLtfc6_OGpxW4vraLg2r5QAIf1Q3MpldFDgWtzK_gXi8ptw5B3joIbsGL6mxj-JRdjHzT5" style="margin-left:0px;margin-top:0px"></span></span></span><font face="georgia, serif"><br></font></div><div><font face="georgia, serif"><br></font></div></div></div></div></div></div></div></div></div></div>