Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
77f889b2
Commit
77f889b2
authored
Feb 04, 2013
by
Yaowu Xu
Browse files
fix a build issue with MSVC on windows
for idct 16x16 unit test Change-Id: I51da9405c3a4d7bb3f4cdf062aaccaa90b33dca4
parent
dea14332
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/dct16x16_test.cc
View file @
77f889b2
...
...
@@ -26,6 +26,15 @@ using libvpx_test::ACMRandom;
namespace
{
#ifdef _MSC_VER
static
int
round
(
double
x
)
{
if
(
x
<
0
)
return
(
int
)
ceil
(
x
-
0.5
);
else
return
(
int
)
floor
(
x
+
0.5
);
}
#endif
const
double
PI
=
3.1415926535898
;
void
reference2_16x16_idct_2d
(
double
*
input
,
double
*
output
)
{
double
x
;
...
...
Write
Preview
Supports
Markdown
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