From c2f2e33a5ee07e9809f39774195d14d1c5cacdb1 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Mon, 17 Dec 2012 15:45:20 +0400 Subject: [PATCH] removed debug messages --- modules/imgproc/src/imgwarp.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/modules/imgproc/src/imgwarp.cpp b/modules/imgproc/src/imgwarp.cpp index 1e86db3..8afddc9 100644 --- a/modules/imgproc/src/imgwarp.cpp +++ b/modules/imgproc/src/imgwarp.cpp @@ -1301,35 +1301,11 @@ public: s0 = _mm_packus_epi16(_mm_srli_epi16(s0, 2), zero); _mm_storel_epi64((__m128i*)D, s0); -// union -// { -// __m128i m; -// unsigned char us[16]; -// } u; - -// u.m = s0; -// unsigned char v0 = (unsigned char)((S0[0] + S0[3] + S1[0] + S1[3] + 2) >> 2); -// unsigned char v1 = (unsigned char)((S0[1] + S0[4] + S1[1] + S1[4] + 2) >> 2); -// unsigned char v2 = (unsigned char)((S0[2] + S0[5] + S1[2] + S1[5] + 2) >> 2); -// unsigned char ar1[] = { v0, v1, v2 }; -// for (unsigned int i = 0; i < 3; ++i) -// std::cout << ((int)(u.us[i]) - (int)(ar1[i])) << " "; -// std::cout << "\t1" << std::endl; - s0 = _mm_add_epi16(r0_16h, _mm_srli_si128(r0_16h, 6)); s1 = _mm_add_epi16(r1_16h, _mm_srli_si128(r1_16h, 6)); s0 = _mm_add_epi16(s1, _mm_add_epi16(s0, delta2)); s0 = _mm_packus_epi16(_mm_srli_epi16(s0, 2), zero); _mm_storel_epi64((__m128i*)(D+3), s0); - -// u.m = s0; -// v0 = (unsigned char)((S0[6] + S0[9] + S1[6] + S1[9] + 2) >> 2); -// v1 = (unsigned char)((S0[7] + S0[10] + S1[7] + S1[10] + 2) >> 2); -// v2 = (unsigned char)((S0[8] + S0[11] + S1[8] + S1[11] + 2) >> 2); -// unsigned char ar2[] = { v0, v1, v2 }; -// for (unsigned int i = 0; i < 3; ++i) -// std::cout << ((int)(u.us[i]) - (int)(ar2[i])) << " "; -// std::cout << "\t2" << std::endl; } else { -- 2.7.4