[x265] [PATCH] ipfilterharness.cpp, added measure speed code for ipfilter_vpp function

praveen at multicorewareinc.com praveen at multicorewareinc.com
Mon Oct 21 13:18:29 CEST 2013


# HG changeset patch
# User Praveen Tiwari
# Date 1382354299 -19800
# Node ID 388bc4703746188554a82f9d6b81cf726c77f074
# Parent  277566af8b39f2b9021688180d8666e69fdd2bc3
ipfilterharness.cpp, added measure speed code for ipfilter_vpp function

diff -r 277566af8b39 -r 388bc4703746 source/test/ipfilterharness.cpp
--- a/source/test/ipfilterharness.cpp	Mon Oct 21 16:32:54 2013 +0530
+++ b/source/test/ipfilterharness.cpp	Mon Oct 21 16:48:19 2013 +0530
@@ -425,6 +425,7 @@
     short val = 2;
     short srcStride = 96;
     short dstStride = 96;
+    int maxVerticalfilterHalfDistance = 3;
 
     for (int value = 0; value < NUM_IPFILTER_P_P; value++)
     {
@@ -489,4 +490,14 @@
                            pixel_buff + srcStride, srcStride, IPF_vec_output_p, dstStride, 1);
         }
     }
+
+    for (int value = 0; value < NUM_CHROMA_PARTITIONS; value++)
+    {
+        if (opt.chroma_vpp[value])
+        {
+            printf("chroma_vpp[%s]", chromaPartStr[value]);
+            REPORT_SPEEDUP(opt.chroma_vpp[value], ref.chroma_vpp[value],
+                           pixel_buff + maxVerticalfilterHalfDistance * srcStride, srcStride, IPF_vec_output_p, dstStride, 1);
+        }
+    }
 }


More information about the x265-devel mailing list