From 43a0b9ccaacb7becf6336d3a0c3c7c8df443566a Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Tue, 27 Sep 2022 10:07:02 +0000 Subject: [PATCH] comment out debug messages --- media/video/libvpx/vp8_dct4x4_ref.c | 12 ++++++------ media/video/libvpx/vp8_dct4x4_wrappers.c | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/media/video/libvpx/vp8_dct4x4_ref.c b/media/video/libvpx/vp8_dct4x4_ref.c index 0cb2b0a5..af8bd602 100644 --- a/media/video/libvpx/vp8_dct4x4_ref.c +++ b/media/video/libvpx/vp8_dct4x4_ref.c @@ -30,15 +30,15 @@ void vp8_short_fdct4x4_c(int16_t *input, int16_t *output, int32_t pitch) { b1 *= 8; c1 *= 8; d1 *= 8; - printf("a1 = %08x\tb1 = %08x\tc1 = %08x\td1 = %08x\n", a1, b1, c1, d1); + //printf("a1 = %08x\tb1 = %08x\tc1 = %08x\td1 = %08x\n", a1, b1, c1, d1); op[0] = a1 + b1; op[2] = a1 - b1; - printf("op[0] = %04x\top[2] = %04x\n", (uint16_t)op[0], (uint16_t)op[2]); + //printf("op[0] = %04x\top[2] = %04x\n", (uint16_t)op[0], (uint16_t)op[2]); op[1] = (c1 * 2217 + d1 * 5352 + 14500) >> 12; op[3] = (d1 * 2217 - c1 * 5352 + 7500) >> 12; - printf("op[1] = %04x\top[3] = %04x\n", (uint16_t)op[1], (uint16_t)op[3]); + //printf("op[1] = %04x\top[3] = %04x\n", (uint16_t)op[1], (uint16_t)op[3]); ip += pitch / 2; op += 4; @@ -50,15 +50,15 @@ void vp8_short_fdct4x4_c(int16_t *input, int16_t *output, int32_t pitch) { b1 = ip[4] + ip[8]; c1 = ip[4] - ip[8]; d1 = ip[0] - ip[12]; - printf("a1 = %08x\tb1 = %08x\tc1 = %08x\td1 = %08x\n", a1, b1, c1, d1); + //printf("a1 = %08x\tb1 = %08x\tc1 = %08x\td1 = %08x\n", a1, b1, c1, d1); op[0] = (a1 + b1 + 7) >> 4; op[8] = (a1 - b1 + 7) >> 4; - printf("op[%d] = %08x\top[%d] = %08x\n", i, op[0], i+8, op[8]); + //printf("op[%d] = %08x\top[%d] = %08x\n", i, op[0], i+8, op[8]); op[4] = ((c1 * 2217 + d1 * 5352 + 12000) >> 16) + (d1 != 0); op[12] = (d1 * 2217 - c1 * 5352 + 51000) >> 16; - printf("op[%d] = %04x\top[%d] = %04x\n", i+4, (uint16_t)op[4], i+12, (uint16_t)op[12]); + //printf("op[%d] = %04x\top[%d] = %04x\n", i+4, (uint16_t)op[4], i+12, (uint16_t)op[12]); ip++; op++; diff --git a/media/video/libvpx/vp8_dct4x4_wrappers.c b/media/video/libvpx/vp8_dct4x4_wrappers.c index da92cf3c..5eca70c3 100644 --- a/media/video/libvpx/vp8_dct4x4_wrappers.c +++ b/media/video/libvpx/vp8_dct4x4_wrappers.c @@ -78,8 +78,8 @@ void vp8_short_fdct4x4_svp64(int16_t *input, int16_t *output, int32_t pitch) { //printf("output: %p -> %04x %04x %04x %04x\t val: %016lx -> %p\n", output, (uint16_t)output[i], (uint16_t)output[i + 1], (uint16_t)output[i + 2], (uint16_t)output[i + 3], val, output_svp64); } - for (int i=0; i < 16; i += 4) { + /*for (int i=0; i < 16; i += 4) { printf("output[%d] : %04x %04x %04x %04x\n", i, (uint16_t)output[i], (uint16_t)output[i+1], (uint16_t)output[i+2], (uint16_t)output[i+3]); printf("output2[%d]: %04x %04x %04x %04x\n", i, (uint16_t)output2[i], (uint16_t)output2[i+1], (uint16_t)output2[i+2], (uint16_t)output2[i+3]); - } + }*/ } -- 2.30.2