Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
002ad408
Commit
002ad408
authored
Jan 18, 2014
by
James Zern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/: remove unnecessary extern "C"s
Change-Id: I826655a708010149de231ca31a2e3ba4f1842c0c
parent
25cfd8e8
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
18 additions
and
42 deletions
+18
-42
test/clear_system_state.h
test/clear_system_state.h
+0
-2
test/convolve_test.cc
test/convolve_test.cc
+0
-2
test/dct16x16_test.cc
test/dct16x16_test.cc
+4
-3
test/dct32x32_test.cc
test/dct32x32_test.cc
+1
-4
test/fdct4x4_test.cc
test/fdct4x4_test.cc
+4
-3
test/fdct8x8_test.cc
test/fdct8x8_test.cc
+4
-3
test/intrapred_test.cc
test/intrapred_test.cc
+1
-2
test/md5_helper.h
test/md5_helper.h
+0
-2
test/partial_idct_test.cc
test/partial_idct_test.cc
+0
-3
test/set_roi.cc
test/set_roi.cc
+1
-3
test/subtract_test.cc
test/subtract_test.cc
+0
-2
test/test_libvpx.cc
test/test_libvpx.cc
+1
-1
test/variance_test.cc
test/variance_test.cc
+2
-4
test/vp8_boolcoder_test.cc
test/vp8_boolcoder_test.cc
+0
-2
test/vp9_boolcoder_test.cc
test/vp9_boolcoder_test.cc
+0
-2
test/vp9_subtract_test.cc
test/vp9_subtract_test.cc
+0
-2
test/y4m_video_source.h
test/y4m_video_source.h
+0
-2
No files found.
test/clear_system_state.h
View file @
002ad408
...
...
@@ -11,11 +11,9 @@
#define TEST_CLEAR_SYSTEM_STATE_H_
#include "./vpx_config.h"
extern
"C"
{
#if ARCH_X86 || ARCH_X86_64
# include "vpx_ports/x86.h"
#endif
}
namespace
libvpx_test
{
...
...
test/convolve_test.cc
View file @
002ad408
...
...
@@ -14,13 +14,11 @@
#include "test/util.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
extern
"C"
{
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
#include "vp9/common/vp9_filter.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_ports/mem.h"
}
namespace
{
typedef
void
(
*
convolve_fn_t
)(
const
uint8_t
*
src
,
ptrdiff_t
src_stride
,
...
...
test/dct16x16_test.cc
View file @
002ad408
...
...
@@ -18,12 +18,13 @@
#include "test/register_state_check.h"
#include "test/util.h"
extern
"C"
{
#include "vp9/common/vp9_entropy.h"
#include "./vp9_rtcd.h"
#include "vp9/common/vp9_entropy.h"
#include "vpx/vpx_integer.h"
extern
"C"
{
void
vp9_idct16x16_256_add_c
(
const
int16_t
*
input
,
uint8_t
*
output
,
int
pitch
);
}
#include "vpx/vpx_integer.h"
using
libvpx_test
::
ACMRandom
;
...
...
test/dct32x32_test.cc
View file @
002ad408
...
...
@@ -18,12 +18,9 @@
#include "test/register_state_check.h"
#include "test/util.h"
extern
"C"
{
#include "./vpx_config.h"
#include "vp9/common/vp9_entropy.h"
#include "./vp9_rtcd.h"
}
#include "vp9/common/vp9_entropy.h"
#include "vpx/vpx_integer.h"
using
libvpx_test
::
ACMRandom
;
...
...
test/fdct4x4_test.cc
View file @
002ad408
...
...
@@ -18,12 +18,13 @@
#include "test/register_state_check.h"
#include "test/util.h"
extern
"C"
{
#include "vp9/common/vp9_entropy.h"
#include "./vp9_rtcd.h"
#include "vp9/common/vp9_entropy.h"
#include "vpx/vpx_integer.h"
extern
"C"
{
void
vp9_idct4x4_16_add_c
(
const
int16_t
*
input
,
uint8_t
*
output
,
int
pitch
);
}
#include "vpx/vpx_integer.h"
using
libvpx_test
::
ACMRandom
;
...
...
test/fdct8x8_test.cc
View file @
002ad408
...
...
@@ -18,12 +18,13 @@
#include "test/register_state_check.h"
#include "test/util.h"
extern
"C"
{
#include "vp9/common/vp9_entropy.h"
#include "./vp9_rtcd.h"
#include "vp9/common/vp9_entropy.h"
#include "vpx/vpx_integer.h"
extern
"C"
{
void
vp9_idct8x8_64_add_c
(
const
int16_t
*
input
,
uint8_t
*
output
,
int
pitch
);
}
#include "vpx/vpx_integer.h"
using
libvpx_test
::
ACMRandom
;
...
...
test/intrapred_test.cc
View file @
002ad408
...
...
@@ -14,12 +14,11 @@
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
extern
"C"
{
#include "./vpx_config.h"
#include "./vp8_rtcd.h"
#include "vp8/common/blockd.h"
#include "vpx_mem/vpx_mem.h"
}
namespace
{
...
...
test/md5_helper.h
View file @
002ad408
...
...
@@ -11,10 +11,8 @@
#ifndef TEST_MD5_HELPER_H_
#define TEST_MD5_HELPER_H_
extern
"C"
{
#include "./md5_utils.h"
#include "vpx/vpx_decoder.h"
}
namespace
libvpx_test
{
class
MD5
{
...
...
test/partial_idct_test.cc
View file @
002ad408
...
...
@@ -18,12 +18,9 @@
#include "test/register_state_check.h"
#include "test/util.h"
extern
"C"
{
#include "./vp9_rtcd.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_scan.h"
}
#include "vpx/vpx_integer.h"
using
libvpx_test
::
ACMRandom
;
...
...
test/set_roi.cc
View file @
002ad408
...
...
@@ -18,11 +18,9 @@
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "test/acm_random.h"
#include "vp8/encoder/onyx_int.h"
#include "vpx/vpx_integer.h"
#include "vpx_mem/vpx_mem.h"
extern
"C"
{
#include "vp8/encoder/onyx_int.h"
}
using
libvpx_test
::
ACMRandom
;
...
...
test/subtract_test.cc
View file @
002ad408
...
...
@@ -12,13 +12,11 @@
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
extern
"C"
{
#include "./vpx_config.h"
#include "./vp8_rtcd.h"
#include "vp8/common/blockd.h"
#include "vp8/encoder/block.h"
#include "vpx_mem/vpx_mem.h"
}
typedef
void
(
*
subtract_b_fn_t
)(
BLOCK
*
be
,
BLOCKD
*
bd
,
int
pitch
);
...
...
test/test_libvpx.cc
View file @
002ad408
...
...
@@ -9,10 +9,10 @@
*/
#include <string>
#include "./vpx_config.h"
extern
"C"
{
#if ARCH_X86 || ARCH_X86_64
#include "vpx_ports/x86.h"
#endif
extern
"C"
{
#if CONFIG_VP8
extern
void
vp8_rtcd
();
#endif
...
...
test/variance_test.cc
View file @
002ad408
...
...
@@ -17,17 +17,15 @@
#include "vpx/vpx_integer.h"
#include "./vpx_config.h"
extern
"C"
{
#include "vpx_mem/vpx_mem.h"
#if CONFIG_VP8_ENCODER
# include "vp8/common/variance.h"
# include "./vp8_rtcd.h"
# include "vp8/common/variance.h"
#endif
#if CONFIG_VP9_ENCODER
# include "vp9/encoder/vp9_variance.h"
# include "./vp9_rtcd.h"
# include "vp9/encoder/vp9_variance.h"
#endif
}
#include "test/acm_random.h"
namespace
{
...
...
test/vp8_boolcoder_test.cc
View file @
002ad408
...
...
@@ -20,10 +20,8 @@
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vpx/vpx_integer.h"
extern
"C"
{
#include "vp8/encoder/boolhuff.h"
#include "vp8/decoder/dboolhuff.h"
}
namespace
{
const
int
num_tests
=
10
;
...
...
test/vp9_boolcoder_test.cc
View file @
002ad408
...
...
@@ -14,10 +14,8 @@
#include "third_party/googletest/src/include/gtest/gtest.h"
extern
"C"
{
#include "vp9/decoder/vp9_reader.h"
#include "vp9/encoder/vp9_writer.h"
}
#include "test/acm_random.h"
#include "vpx/vpx_integer.h"
...
...
test/vp9_subtract_test.cc
View file @
002ad408
...
...
@@ -12,12 +12,10 @@
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
extern
"C"
{
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
#include "vp9/common/vp9_blockd.h"
#include "vpx_mem/vpx_mem.h"
}
typedef
void
(
*
subtract_fn_t
)(
int
rows
,
int
cols
,
int16_t
*
diff_ptr
,
ptrdiff_t
diff_stride
,
...
...
test/y4m_video_source.h
View file @
002ad408
...
...
@@ -12,9 +12,7 @@
#include <string>
#include "test/video_source.h"
extern
"C"
{
#include "./y4minput.h"
}
namespace
libvpx_test
{
...
...
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