Commit 688a2ed1 authored by Angie Chiang's avatar Angie Chiang

Remove __func__

Change-Id: Ibdf1c2d422b9e644eba76fc200c8c10217394036
parent 253c001f
......@@ -17,7 +17,7 @@
for (i = 0; i < size; ++i) { \
int buf_bit = get_max_bit(abs(buf[i])) + 1; \
if (buf_bit > bit) { \
printf("======== %s overflow ========\n", __func__); \
printf("======== %s %d overflow ========\n", __FILE__, __LINE__); \
printf("stage: %d node: %d\n", stage, i); \
printf("bit: %d buf_bit: %d buf[i]: %d\n", bit, buf_bit, buf[i]); \
printf("input:\n"); \
......
......@@ -17,7 +17,7 @@
for (i = 0; i < size; ++i) { \
int buf_bit = get_max_bit(abs(buf[i])) + 1; \
if (buf_bit > bit) { \
printf("======== %s overflow ========\n", __func__); \
printf("======== %s %d overflow ========\n", __FILE__, __LINE__); \
printf("stage: %d node: %d\n", stage, i); \
printf("bit: %d buf_bit: %d buf[i]: %d\n", bit, buf_bit, buf[i]); \
printf("input:\n"); \
......
......@@ -10,9 +10,9 @@
#ifndef VP10_TXFM_H_
#define VP10_TXFM_H_
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include "vp10/common/enums.h"
#include "vpx/vpx_integer.h"
......@@ -92,10 +92,10 @@ static INLINE int32_t half_btf(int32_t w0, int32_t in0, int32_t w1, int32_t in1,
#if CONFIG_COEFFICIENT_RANGE_CHECKING
int64_t result_64 = (int64_t)w0 * (int64_t)in0 + (int64_t)w1 * (int64_t)in1;
if (result_32 != result_64) {
printf(
"%s overflow result_32: %d result_64: %lld w0: %d in0: %d w1: %d in1: "
"%d\n",
__func__, result_32, ((long long int)result_64), w0, in0, w1, in1);
printf("%s %d overflow result_32: %d result_64: %" PRId64
" w0: %d in0: %d w1: %d in1: "
"%d\n",
__FILE__, __LINE__, result_32, result_64, w0, in0, w1, in1);
assert(0 && "half_btf overflow");
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment