[x265] [PATCH] denoiseDct test code: fixed typo
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Tue Sep 16 13:38:47 CEST 2014
# HG changeset patch
# User Praveen Tiwari
# Date 1410867512 -19800
# Node ID 6799ab5e72c7ddbff09638573a730e84c300ebb3
# Parent 4459645048ab655734a7544c7b10d904bb8d9e46
denoiseDct test code: fixed typo
diff -r 4459645048ab -r 6799ab5e72c7 source/test/mbdstharness.cpp
--- a/source/test/mbdstharness.cpp Tue Sep 16 12:20:30 2014 +0530
+++ b/source/test/mbdstharness.cpp Tue Sep 16 17:08:32 2014 +0530
@@ -76,7 +76,7 @@
short_test_buff[2][i] = PIXEL_MAX;
int_test_buff[2][i] = PIXEL_MAX;
int_idct_test_buff[2][i] = SHORT_MAX;
- int_denoise_test_buff1[2][i] = int_denoise_test_buff2[1][i] = UNSIGNED_SHORT_MAX;
+ int_denoise_test_buff1[2][i] = int_denoise_test_buff2[2][i] = UNSIGNED_SHORT_MAX;
mbuf1[i] = rand() & PIXEL_MAX;
mbufdct[i] = (rand() & PIXEL_MAX) - (rand() & PIXEL_MAX);
@@ -332,7 +332,7 @@
memset(mubuf2, 0, num * sizeof(uint32_t));
memset(mushortbuf1, 0, num * sizeof(uint16_t));
- for (int k = 0; k < num; j++)
+ for (int k = 0; k < num; k++)
mushortbuf1[k] = rand() % UNSIGNED_SHORT_MAX;
int index = rand() % TEST_CASES;
More information about the x265-devel
mailing list