[x265] [PATCH] ipfilterharness.cpp, added test correctness code for ipfilter_vpp function

praveen at multicorewareinc.com praveen at multicorewareinc.com
Mon Oct 21 13:03:08 CEST 2013


# HG changeset patch
# User Praveen Tiwari
# Date 1382353374 -19800
# Node ID 277566af8b39f2b9021688180d8666e69fdd2bc3
# Parent  db5f623d84ba57dadd22c7d6d2c8ea154b976add
ipfilterharness.cpp, added test correctness code for ipfilter_vpp function

diff -r db5f623d84ba -r 277566af8b39 source/test/ipfilterharness.cpp
--- a/source/test/ipfilterharness.cpp	Mon Oct 21 15:54:15 2013 +0530
+++ b/source/test/ipfilterharness.cpp	Mon Oct 21 16:32:54 2013 +0530
@@ -403,6 +403,18 @@
         }
     }
 
+    for (int value = 0; value < NUM_CHROMA_PARTITIONS; value++)
+    {
+        if (opt.chroma_vpp[value])
+        {
+            if (!check_IPFilterChroma_primitive(ref.chroma_vpp[value], opt.chroma_vpp[value]))
+            {
+                printf("chroma_vpp[%s]", chromaPartStr[value]);
+                return false;
+            }
+        }
+    }
+
     return true;
 }
 


More information about the x265-devel mailing list