Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
688a2ed1
Commit
688a2ed1
authored
Aug 15, 2016
by
Angie Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove __func__
Change-Id: Ibdf1c2d422b9e644eba76fc200c8c10217394036
parent
253c001f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
vp10/common/vp10_fwd_txfm1d.c
vp10/common/vp10_fwd_txfm1d.c
+1
-1
vp10/common/vp10_inv_txfm1d.c
vp10/common/vp10_inv_txfm1d.c
+1
-1
vp10/common/vp10_txfm.h
vp10/common/vp10_txfm.h
+6
-6
No files found.
vp10/common/vp10_fwd_txfm1d.c
View file @
688a2ed1
...
...
@@ -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"); \
...
...
vp10/common/vp10_inv_txfm1d.c
View file @
688a2ed1
...
...
@@ -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"); \
...
...
vp10/common/vp10_txfm.h
View file @
688a2ed1
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment