]> granicus.if.org Git - libvpx/commitdiff
test/: remove some unnecessary extern "C"s
authorJames Zern <jzern@google.com>
Sat, 18 Jan 2014 04:59:51 +0000 (20:59 -0800)
committerJames Zern <jzern@google.com>
Sat, 18 Jan 2014 21:14:14 +0000 (13:14 -0800)
Change-Id: I57a94d2f9e26a872a20d805a506855a20e61c356

test/codec_factory.h
test/idct8x8_test.cc
test/idct_test.cc
test/pp_filter_test.cc
test/sad_test.cc
test/sixtap_predict_test.cc
test/test_vector_test.cc
test/tile_independence_test.cc
test/vp8_fdct4x4_test.cc

index 2ca6ff086d1f7dd72a9a6bf82e35512dd7f0f156..c060e86dc9908e531cf2e4f5f228bbbb2d043a36 100644 (file)
@@ -10,7 +10,6 @@
 #ifndef TEST_CODEC_FACTORY_H_
 #define TEST_CODEC_FACTORY_H_
 
-extern "C" {
 #include "./vpx_config.h"
 #include "vpx/vpx_decoder.h"
 #include "vpx/vpx_encoder.h"
@@ -20,7 +19,6 @@ extern "C" {
 #if CONFIG_VP8_DECODER || CONFIG_VP9_DECODER
 #include "vpx/vp8dx.h"
 #endif
-}
 
 #include "test/decode_test_driver.h"
 #include "test/encode_test_driver.h"
index d8c61ffb2c554df860872e4ddd5c01a7dde8cb63..5f4c33a818d9a715d6a57837588bf2e1c962fd96 100644 (file)
@@ -14,9 +14,7 @@
 
 #include "third_party/googletest/src/include/gtest/gtest.h"
 
-extern "C" {
 #include "./vp9_rtcd.h"
-}
 
 #include "test/acm_random.h"
 #include "vpx/vpx_integer.h"
index 2c7fa0ef80fc8246b872eee3b1bb8cde8bd4f1cb..1bbf80a0aec95608d55de2c683e483bd7497bfa2 100644 (file)
@@ -8,10 +8,8 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
-extern "C" {
 #include "./vpx_config.h"
 #include "./vp8_rtcd.h"
-}
 #include "test/clear_system_state.h"
 #include "test/register_state_check.h"
 #include "third_party/googletest/src/include/gtest/gtest.h"
index e5ac9db2b7cf7016aa706b825fb34a095de4f8d3..ff7bb08e308656313f9ad2b1990ac47e28f4d7b7 100644 (file)
 #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 "vpx/vpx_integer.h"
 #include "vpx_mem/vpx_mem.h"
-}
 
 typedef void (*post_proc_func_t)(unsigned char *src_ptr,
                                  unsigned char *dst_ptr,
index 453b3a84e0db5218a513b3b8080d17ef3ce8f781..4a91b0b605eaaa61a26dab946c3a71b92c666b05 100644 (file)
@@ -13,7 +13,6 @@
 #include <limits.h>
 #include <stdio.h>
 
-extern "C" {
 #include "./vpx_config.h"
 #if CONFIG_VP8_ENCODER
 #include "./vp8_rtcd.h"
@@ -22,7 +21,6 @@ extern "C" {
 #include "./vp9_rtcd.h"
 #endif
 #include "vpx_mem/vpx_mem.h"
-}
 
 #include "test/acm_random.h"
 #include "test/clear_system_state.h"
index 0f5c0a5e80f22be38d45bfc74de275e2621bf814..3434662fb84d71f2cbdcc08a315150920b20add8 100644 (file)
 #include "test/register_state_check.h"
 #include "test/util.h"
 #include "third_party/googletest/src/include/gtest/gtest.h"
-extern "C" {
 #include "./vpx_config.h"
 #include "./vp8_rtcd.h"
 #include "vpx/vpx_integer.h"
 #include "vpx_mem/vpx_mem.h"
-}
 
 namespace {
 
index 6d93bb88f003f452e9a82e62b57a0f3cf9ba4075..4adf9af91024487e1c386ace46e5daf917f7a3b9 100644 (file)
@@ -19,9 +19,7 @@
 #include "test/test_vectors.h"
 #include "test/util.h"
 #include "test/webm_video_source.h"
-extern "C" {
 #include "vpx_mem/vpx_mem.h"
-}
 
 namespace {
 
index 863a3669a9fb2bd30bbe5f0a04d99519706a226f..d7144522b3cce74f4af530cd40b089c9f0c56858 100644 (file)
@@ -17,9 +17,7 @@
 #include "test/i420_video_source.h"
 #include "test/util.h"
 #include "test/md5_helper.h"
-extern "C" {
 #include "vpx_mem/vpx_mem.h"
-}
 
 namespace {
 class TileIndependenceTest : public ::libvpx_test::EncoderTest,
index 25465c53c2f998f2d8d7442d25f698372b84e5a5..e3c292ea1a1f08a1cb5d19f487e7e16b85a541ef 100644 (file)
@@ -15,9 +15,7 @@
 #include <string.h>
 #include <sys/types.h>
 
-extern "C" {
 #include "./vp8_rtcd.h"
-}
 
 #include "test/acm_random.h"
 #include "third_party/googletest/src/include/gtest/gtest.h"