[x265] [PATCH] testbench : Fix for random test bench failure caused by pixeladd_ss
nabajit at multicorewareinc.com
nabajit at multicorewareinc.com
Thu Jan 30 11:13:03 CET 2014
# HG changeset patch
# User Nabajit Deka
# Date 1391076769 -19800
# Thu Jan 30 15:42:49 2014 +0530
# Branch stable
# Node ID 6f4a9d68e0b5bf1e17f8869287b7f8670e2a1095
# Parent 86743912a5b0459645e5aeccd1c35313e3f0af58
testbench : Fix for random test bench failure caused by pixeladd_ss
diff -r 86743912a5b0 -r 6f4a9d68e0b5 source/test/pixelharness.cpp
--- a/source/test/pixelharness.cpp Wed Jan 29 18:44:49 2014 +0530
+++ b/source/test/pixelharness.cpp Thu Jan 30 15:42:49 2014 +0530
@@ -366,8 +366,8 @@
int j = 0;
for (int i = 0; i < ITERS; i++)
{
- opt(bx, by, opt_dest, STRIDE, (int16_t*)pbuf2 + j, (int16_t*)pbuf1 + j, STRIDE, STRIDE);
- ref(bx, by, ref_dest, STRIDE, (int16_t*)pbuf2 + j, (int16_t*)pbuf1 + j, STRIDE, STRIDE);
+ opt(bx, by, opt_dest, STRIDE, sbuf2 + j, sbuf1 + j, STRIDE, STRIDE);
+ ref(bx, by, ref_dest, STRIDE, sbuf2 + j, sbuf1 + j, STRIDE, STRIDE);
if (memcmp(ref_dest, opt_dest, 64 * 64 * sizeof(int16_t)))
return false;
More information about the x265-devel
mailing list