[x265] [PATCH 2 of 2] Adding test bench code for chroma vps filter functions

nabajit at multicorewareinc.com nabajit at multicorewareinc.com
Tue Nov 12 16:23:07 CET 2013


# HG changeset patch
# User Nabajit Deka
# Date 1384269733 -19800
#      Tue Nov 12 20:52:13 2013 +0530
# Node ID 77e94eb8f4dc7d13c195b26eb91737c7a2cc0a07
# Parent  8e582fd2d1ff49abdac24debc4c9ffb02c90a7b2
Adding test bench code for chroma vps filter functions.

diff -r 8e582fd2d1ff -r 77e94eb8f4dc source/test/ipfilterharness.cpp
--- a/source/test/ipfilterharness.cpp	Tue Nov 12 20:51:20 2013 +0530
+++ b/source/test/ipfilterharness.cpp	Tue Nov 12 20:52:13 2013 +0530
@@ -676,6 +676,14 @@
                 return false;
             }
         }
+        if (opt.chroma_vps[value])
+        {
+            if (!check_IPFilterChroma_ps_primitive(ref.chroma_vps[value], opt.chroma_vps[value]))
+            {
+                printf("chroma_vps[%s]", chromaPartStr[value]);
+                return false;
+            }
+        }
         if (opt.chroma_vsp[value])
         {
             if (!check_IPFilterChroma_sp_primitive(ref.chroma_vsp[value], opt.chroma_vsp[value]))
@@ -839,6 +847,13 @@
             REPORT_SPEEDUP(opt.chroma_vpp[value], ref.chroma_vpp[value],
                            pixel_buff + maxVerticalfilterHalfDistance * srcStride, srcStride,
                            IPF_vec_output_p, dstStride, 1);
+        if (opt.chroma_vps[value])
+        {
+            printf("chroma_vps[%s]", chromaPartStr[value]);
+            REPORT_SPEEDUP(opt.chroma_vps[value], ref.chroma_vps[value],
+                           pixel_buff + maxVerticalfilterHalfDistance * srcStride, srcStride,
+                           IPF_vec_output_s, dstStride, 1);
+        }
         }
         if (opt.chroma_vsp[value])
         {


More information about the x265-devel mailing list