Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
097d59c2
Commit
097d59c2
authored
Jul 29, 2015
by
Jingning Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics - Fix header file order in unit tests
Change-Id: I9582a8d74990125b71e8fe620f7f3f2585a30798
parent
ce4c4b96
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
106 additions
and
90 deletions
+106
-90
test/blockiness_test.cc
test/blockiness_test.cc
+3
-3
test/consistency_test.cc
test/consistency_test.cc
+3
-3
test/convolve_test.cc
test/convolve_test.cc
+5
-4
test/dct16x16_test.cc
test/dct16x16_test.cc
+3
-3
test/dct32x32_test.cc
test/dct32x32_test.cc
+4
-4
test/decode_api_test.cc
test/decode_api_test.cc
+2
-1
test/decode_test_driver.cc
test/decode_test_driver.cc
+3
-1
test/encode_test_driver.cc
test/encode_test_driver.cc
+3
-2
test/encode_test_driver.h
test/encode_test_driver.h
+3
-2
test/fdct4x4_test.cc
test/fdct4x4_test.cc
+3
-3
test/fdct8x8_test.cc
test/fdct8x8_test.cc
+3
-3
test/idct_test.cc
test/idct_test.cc
+3
-2
test/intrapred_test.cc
test/intrapred_test.cc
+4
-4
test/lpf_8_test.cc
test/lpf_8_test.cc
+3
-3
test/partial_idct_test.cc
test/partial_idct_test.cc
+3
-3
test/quantize_test.cc
test/quantize_test.cc
+3
-3
test/sad_test.cc
test/sad_test.cc
+4
-5
test/sixtap_predict_test.cc
test/sixtap_predict_test.cc
+5
-3
test/test_libvpx.cc
test/test_libvpx.cc
+3
-1
test/variance_test.cc
test/variance_test.cc
+4
-4
test/vp8_boolcoder_test.cc
test/vp8_boolcoder_test.cc
+3
-3
test/vp8_fdct4x4_test.cc
test/vp8_fdct4x4_test.cc
+2
-2
test/vp9_arf_freq_test.cc
test/vp9_arf_freq_test.cc
+3
-2
test/vp9_avg_test.cc
test/vp9_avg_test.cc
+4
-4
test/vp9_boolcoder_test.cc
test/vp9_boolcoder_test.cc
+1
-2
test/vp9_encoder_parms_get_to_decoder.cc
test/vp9_encoder_parms_get_to_decoder.cc
+3
-2
test/vp9_end_to_end_test.cc
test/vp9_end_to_end_test.cc
+3
-2
test/vp9_error_block_test.cc
test/vp9_error_block_test.cc
+2
-2
test/vp9_intrapred_test.cc
test/vp9_intrapred_test.cc
+4
-4
test/vp9_lossless_test.cc
test/vp9_lossless_test.cc
+3
-1
test/vp9_subtract_test.cc
test/vp9_subtract_test.cc
+4
-3
test/vpx_scale_test.cc
test/vpx_scale_test.cc
+2
-3
test/y4m_test.cc
test/y4m_test.cc
+5
-3
No files found.
test/blockiness_test.cc
View file @
097d59c2
...
...
@@ -8,10 +8,11 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include <string.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#if CONFIG_VP9_ENCODER
...
...
@@ -22,7 +23,6 @@
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vpx_mem/vpx_mem.h"
...
...
test/consistency_test.cc
View file @
097d59c2
...
...
@@ -8,10 +8,11 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include <string.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#if CONFIG_VP9_ENCODER
...
...
@@ -22,7 +23,6 @@
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vp9/encoder/vp9_ssim.h"
#include "vpx_mem/vpx_mem.h"
...
...
test/convolve_test.cc
View file @
097d59c2
...
...
@@ -9,14 +9,15 @@
*/
#include <string.h>
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_filter.h"
#include "vpx_mem/vpx_mem.h"
...
...
test/dct16x16_test.cc
View file @
097d59c2
...
...
@@ -13,13 +13,13 @@
#include <string.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vp9_rtcd.h"
#include "./vpx_dsp_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "./vp9_rtcd.h"
#include "./vpx_dsp_rtcd.h"
#include "vp9/common/vp9_entropy.h"
#include "vp9/common/vp9_scan.h"
#include "vpx/vpx_codec.h"
...
...
test/dct32x32_test.cc
View file @
097d59c2
...
...
@@ -12,15 +12,15 @@
#include <stdlib.h>
#include <string.h>
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vp9_rtcd.h"
#include "./vpx_config.h"
#include "./vpx_dsp_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "vp9/common/vp9_entropy.h"
#include "vpx/vpx_codec.h"
#include "vpx/vpx_integer.h"
...
...
test/decode_api_test.cc
View file @
097d59c2
...
...
@@ -7,10 +7,11 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "test/ivf_video_source.h"
#include "./vpx_config.h"
#include "test/ivf_video_source.h"
#include "vpx/vp8dx.h"
#include "vpx/vpx_decoder.h"
...
...
test/decode_test_driver.cc
View file @
097d59c2
...
...
@@ -7,9 +7,11 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "test/codec_factory.h"
#include "test/decode_test_driver.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "test/register_state_check.h"
#include "test/video_source.h"
...
...
test/encode_test_driver.cc
View file @
097d59c2
...
...
@@ -10,13 +10,14 @@
#include <string>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "test/codec_factory.h"
#include "test/encode_test_driver.h"
#include "test/decode_test_driver.h"
#include "test/encode_test_driver.h"
#include "test/register_state_check.h"
#include "test/video_source.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
namespace
libvpx_test
{
void
Encoder
::
InitEncoder
(
VideoSource
*
video
)
{
...
...
test/encode_test_driver.h
View file @
097d59c2
...
...
@@ -13,12 +13,13 @@
#include <string>
#include <vector>
#include "./vpx_config.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vpx/vpx_encoder.h"
#include "./vpx_config.h"
#if CONFIG_VP8_ENCODER || CONFIG_VP9_ENCODER
#include "vpx/vp8cx.h"
#endif
#include "vpx/vpx_encoder.h"
namespace
libvpx_test
{
...
...
test/fdct4x4_test.cc
View file @
097d59c2
...
...
@@ -13,13 +13,13 @@
#include <string.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vp9_rtcd.h"
#include "./vpx_dsp_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "./vp9_rtcd.h"
#include "./vpx_dsp_rtcd.h"
#include "vp9/common/vp9_entropy.h"
#include "vpx/vpx_codec.h"
#include "vpx/vpx_integer.h"
...
...
test/fdct8x8_test.cc
View file @
097d59c2
...
...
@@ -13,13 +13,13 @@
#include <string.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vp9_rtcd.h"
#include "./vpx_dsp_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "./vp9_rtcd.h"
#include "./vpx_dsp_rtcd.h"
#include "vp9/common/vp9_entropy.h"
#include "vp9/common/vp9_scan.h"
#include "vpx/vpx_codec.h"
...
...
test/idct_test.cc
View file @
097d59c2
...
...
@@ -10,10 +10,11 @@
#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"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "vpx/vpx_integer.h"
typedef
void
(
*
IdctFunc
)(
int16_t
*
input
,
unsigned
char
*
pred_ptr
,
...
...
test/intrapred_test.cc
View file @
097d59c2
...
...
@@ -8,15 +8,15 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include <string.h>
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./vp8_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "vp8/common/blockd.h"
#include "vpx_mem/vpx_mem.h"
...
...
test/lpf_8_test.cc
View file @
097d59c2
...
...
@@ -13,13 +13,13 @@
#include <string>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./vpx_dsp_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "./vpx_config.h"
#include "./vpx_dsp_rtcd.h"
#include "vp9/common/vp9_entropy.h"
#include "vp9/common/vp9_loopfilter.h"
#include "vpx/vpx_integer.h"
...
...
test/partial_idct_test.cc
View file @
097d59c2
...
...
@@ -13,13 +13,13 @@
#include <string.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vp9_rtcd.h"
#include "./vpx_dsp_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "./vp9_rtcd.h"
#include "./vpx_dsp_rtcd.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_scan.h"
#include "vpx/vpx_integer.h"
...
...
test/quantize_test.cc
View file @
097d59c2
...
...
@@ -11,13 +11,13 @@
#include <string.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./vp8_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "./vpx_config.h"
#include "./vp8_rtcd.h"
#include "vp8/common/blockd.h"
#include "vp8/common/onyx.h"
#include "vp8/encoder/block.h"
...
...
test/sad_test.cc
View file @
097d59c2
...
...
@@ -13,18 +13,17 @@
#include <limits.h>
#include <stdio.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./vpx_dsp_rtcd.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_ports/mem.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vpx/vpx_codec.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_ports/mem.h"
typedef
unsigned
int
(
*
SadMxNFunc
)(
const
uint8_t
*
src_ptr
,
int
src_stride
,
...
...
test/sixtap_predict_test.cc
View file @
097d59c2
...
...
@@ -11,13 +11,15 @@
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./vp8_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./vp8_rtcd.h"
#include "vpx/vpx_integer.h"
#include "vpx_mem/vpx_mem.h"
...
...
test/test_libvpx.cc
View file @
097d59c2
...
...
@@ -8,6 +8,9 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include <string>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#if ARCH_X86 || ARCH_X86_64
#include "vpx_ports/x86.h"
...
...
@@ -22,7 +25,6 @@ extern void vp9_rtcd();
extern
void
vpx_dsp_rtcd
();
extern
void
vpx_scale_rtcd
();
}
#include "third_party/googletest/src/include/gtest/gtest.h"
static
void
append_negative_gtest_filter
(
const
char
*
str
)
{
std
::
string
filter
=
::
testing
::
FLAGS_gtest_filter
;
...
...
test/variance_test.cc
View file @
097d59c2
...
...
@@ -11,17 +11,17 @@
#include <cstdlib>
#include <new>
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./vpx_dsp_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "vpx/vpx_codec.h"
#include "vpx/vpx_integer.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_ports/mem.h"
#include "./vpx_dsp_rtcd.h"
namespace
{
...
...
test/vp8_boolcoder_test.cc
View file @
097d59c2
...
...
@@ -16,12 +16,12 @@
#include <string.h>
#include <sys/types.h>
#include "test/acm_random.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vpx/vpx_integer.h"
#include "
vp8/encoder/boolhuff
.h"
#include "
test/acm_random
.h"
#include "vp8/decoder/dboolhuff.h"
#include "vp8/encoder/boolhuff.h"
#include "vpx/vpx_integer.h"
namespace
{
const
int
num_tests
=
10
;
...
...
test/vp8_fdct4x4_test.cc
View file @
097d59c2
...
...
@@ -15,10 +15,10 @@
#include <string.h>
#include <sys/types.h>
#include "
./vp8_rtcd
.h"
#include "
third_party/googletest/src/include/gtest/gtest
.h"
#include "./vp8_rtcd.h"
#include "test/acm_random.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vpx/vpx_integer.h"
namespace
{
...
...
test/vp9_arf_freq_test.cc
View file @
097d59c2
...
...
@@ -8,12 +8,13 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "test/codec_factory.h"
#include "test/encode_test_driver.h"
#include "test/util.h"
#include "test/y4m_video_source.h"
#include "test/yuv_video_source.h"
#include "test/util.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vp9/encoder/vp9_ratectrl.h"
namespace
{
...
...
test/vp9_avg_test.cc
View file @
097d59c2
...
...
@@ -8,22 +8,22 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include <string.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#if CONFIG_VP9_ENCODER
#include "./vp9_rtcd.h"
#endif
#include "vpx_mem/vpx_mem.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "
third_party/googletest/src/include/gtest/gtest
.h"
#include "
vpx_mem/vpx_mem
.h"
using
libvpx_test
::
ACMRandom
;
...
...
test/vp9_boolcoder_test.cc
View file @
097d59c2
...
...
@@ -14,12 +14,11 @@
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "test/acm_random.h"
#include "vpx/vpx_integer.h"
#include "vpx_dsp/bitreader.h"
#include "vpx_dsp/bitwriter.h"
#include "test/acm_random.h"
using
libvpx_test
::
ACMRandom
;
namespace
{
...
...
test/vp9_encoder_parms_get_to_decoder.cc
View file @
097d59c2
...
...
@@ -8,12 +8,13 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "test/codec_factory.h"
#include "test/encode_test_driver.h"
#include "test/util.h"
#include "test/y4m_video_source.h"
#include "test/yuv_video_source.h"
#include "test/util.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vp9/decoder/vp9_decoder.h"
typedef
vpx_codec_stream_info_t
vp9_stream_info_t
;
...
...
test/vp9_end_to_end_test.cc
View file @
097d59c2
...
...
@@ -8,12 +8,13 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "test/codec_factory.h"
#include "test/encode_test_driver.h"
#include "test/util.h"
#include "test/y4m_video_source.h"
#include "test/yuv_video_source.h"
#include "test/util.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
namespace
{
...
...
test/vp9_error_block_test.cc
View file @
097d59c2
...
...
@@ -14,12 +14,12 @@
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
#include "vp9/common/vp9_entropy.h"
#include "vpx/vpx_codec.h"
#include "vpx/vpx_integer.h"
...
...
test/vp9_intrapred_test.cc
View file @
097d59c2
...
...
@@ -10,17 +10,17 @@
#include <string>
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./vpx_dsp_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "test/util.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_pred_common.h"
#include "vpx_mem/vpx_mem.h"
#include "test/util.h"
namespace
{
...
...
test/vp9_lossless_test.cc
View file @
097d59c2
...
...
@@ -7,8 +7,10 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "./vpx_config.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "test/codec_factory.h"
#include "test/encode_test_driver.h"
#include "test/i420_video_source.h"
...
...
test/vp9_subtract_test.cc
View file @
097d59c2
...
...
@@ -9,12 +9,13 @@
*/
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vp9_rtcd.h"
#include "./vpx_config.h"
#include "./vpx_dsp_rtcd.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
#include "./vpx_dsp_rtcd.h"
#include "vp9/common/vp9_blockd.h"
#include "vpx_mem/vpx_mem.h"
...
...
test/vpx_scale_test.cc
View file @
097d59c2
...
...
@@ -10,11 +10,10 @@
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "./vpx_config.h"
#include "./vpx_scale_rtcd.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_scale/yv12config.h"
...
...
test/y4m_test.cc
View file @
097d59c2
...
...
@@ -9,12 +9,14 @@
*/
#include <string>
#include "test/md5_helper.h"
#include "test/util.h"
#include "test/y4m_video_source.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
#include "./y4menc.h"
#include "test/md5_helper.h"
#include "test/util.h"
#include "test/y4m_video_source.h"
namespace
{
...
...
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