diff --git a/test/external_frame_buffer_test.cc b/test/external_frame_buffer_test.cc index 2e7adc1d5ff9b6b46c435cc9514ba6f50113286d..6e8ab24226f9b7ef9657a36e3bf78aee60ccdecb 100644 --- a/test/external_frame_buffer_test.cc +++ b/test/external_frame_buffer_test.cc @@ -210,7 +210,7 @@ class ExternalFrameBufferMD5Test ASSERT_TRUE(fb_list_.CreateBufferList(num_buffers_)); ASSERT_EQ(VPX_CODEC_OK, decoder->SetFrameBufferFunctions( - GetVp9FrameBuffer, ReleaseVP9FrameBuffer, this)); + GetVP9FrameBuffer, ReleaseVP9FrameBuffer, this)); } } @@ -242,7 +242,7 @@ class ExternalFrameBufferMD5Test // Callback to get a free external frame buffer. Return value < 0 is an // error. - static int GetVp9FrameBuffer(void *user_priv, size_t min_size, + static int GetVP9FrameBuffer(void *user_priv, size_t min_size, vpx_codec_frame_buffer_t *fb) { ExternalFrameBufferMD5Test *const md5Test = reinterpret_cast<ExternalFrameBufferMD5Test*>(user_priv); diff --git a/test/pp_filter_test.cc b/test/pp_filter_test.cc index ff7bb08e308656313f9ad2b1990ac47e28f4d7b7..86c2b0e8d038fe3470822e0b59e0ab286e697091 100644 --- a/test/pp_filter_test.cc +++ b/test/pp_filter_test.cc @@ -25,7 +25,7 @@ typedef void (*post_proc_func_t)(unsigned char *src_ptr, namespace { -class Vp8PostProcessingFilterTest +class VP8PostProcessingFilterTest : public ::testing::TestWithParam<post_proc_func_t> { public: virtual void TearDown() { @@ -36,7 +36,7 @@ class Vp8PostProcessingFilterTest // Test routine for the VP8 post-processing function // vp8_post_proc_down_and_across_mb_row_c. -TEST_P(Vp8PostProcessingFilterTest, FilterOutputCheck) { +TEST_P(VP8PostProcessingFilterTest, FilterOutputCheck) { // Size of the underlying data block that will be filtered. const int block_width = 16; const int block_height = 16; @@ -91,7 +91,7 @@ TEST_P(Vp8PostProcessingFilterTest, FilterOutputCheck) { for (int i = 0; i < block_height; ++i) { for (int j = 0; j < block_width; ++j) { EXPECT_EQ(expected_data[i], pixel_ptr[j]) - << "Vp8PostProcessingFilterTest failed with invalid filter output"; + << "VP8PostProcessingFilterTest failed with invalid filter output"; } pixel_ptr += output_stride; } @@ -101,11 +101,11 @@ TEST_P(Vp8PostProcessingFilterTest, FilterOutputCheck) { vpx_free(flimits); }; -INSTANTIATE_TEST_CASE_P(C, Vp8PostProcessingFilterTest, +INSTANTIATE_TEST_CASE_P(C, VP8PostProcessingFilterTest, ::testing::Values(vp8_post_proc_down_and_across_mb_row_c)); #if HAVE_SSE2 -INSTANTIATE_TEST_CASE_P(SSE2, Vp8PostProcessingFilterTest, +INSTANTIATE_TEST_CASE_P(SSE2, VP8PostProcessingFilterTest, ::testing::Values(vp8_post_proc_down_and_across_mb_row_sse2)); #endif diff --git a/test/set_roi.cc b/test/set_roi.cc index e28f511be6ec69e2da5132ace58ce68285216c0f..5b054f4d995b2728a008845ef4853145bb2af240 100644 --- a/test/set_roi.cc +++ b/test/set_roi.cc @@ -26,7 +26,7 @@ using libvpx_test::ACMRandom; namespace { -TEST(Vp8RoiMapTest, ParameterCheck) { +TEST(VP8RoiMapTest, ParameterCheck) { ACMRandom rnd(ACMRandom::DeterministicSeed()); int delta_q[MAX_MB_SEGMENTS] = { -2, -25, 0, 31 }; int delta_lf[MAX_MB_SEGMENTS] = { -2, -25, 0, 31 }; diff --git a/test/test_vectors.cc b/test/test_vectors.cc index aba8a3c17e7be66d6535962ad370e03ddcf43834..c7a0c71fcb570d2e2513eb81ba44efdeb1f4dd34 100644 --- a/test/test_vectors.cc +++ b/test/test_vectors.cc @@ -13,7 +13,7 @@ namespace libvpx_test { #if CONFIG_VP8_DECODER -const char *kVP8TestVectors[kNumVp8TestVectors] = { +const char *kVP8TestVectors[kNumVP8TestVectors] = { "vp80-00-comprehensive-001.ivf", "vp80-00-comprehensive-002.ivf", "vp80-00-comprehensive-003.ivf", "vp80-00-comprehensive-004.ivf", "vp80-00-comprehensive-005.ivf", @@ -49,7 +49,7 @@ const char *kVP8TestVectors[kNumVp8TestVectors] = { }; #endif // CONFIG_VP8_DECODER #if CONFIG_VP9_DECODER -const char *kVP9TestVectors[kNumVp9TestVectors] = { +const char *kVP9TestVectors[kNumVP9TestVectors] = { "vp90-2-00-quantizer-00.webm", "vp90-2-00-quantizer-01.webm", "vp90-2-00-quantizer-02.webm", "vp90-2-00-quantizer-03.webm", "vp90-2-00-quantizer-04.webm", "vp90-2-00-quantizer-05.webm", diff --git a/test/test_vectors.h b/test/test_vectors.h index d5ecc96d612e87feb6ca2dc597a39f911a469683..de961deea4baa767390c9ecf83b5bdf3cfde0926 100644 --- a/test/test_vectors.h +++ b/test/test_vectors.h @@ -16,14 +16,14 @@ namespace libvpx_test { #if CONFIG_VP8_DECODER -const int kNumVp8TestVectors = 62; -extern const char *kVP8TestVectors[kNumVp8TestVectors]; +const int kNumVP8TestVectors = 62; +extern const char *kVP8TestVectors[kNumVP8TestVectors]; #endif #if CONFIG_VP9_DECODER -const int kNumVp9TestVectors = 223; +const int kNumVP9TestVectors = 223; -extern const char *kVP9TestVectors[kNumVp9TestVectors]; +extern const char *kVP9TestVectors[kNumVP9TestVectors]; #endif // CONFIG_VP9_DECODER } // namespace libvpx_test diff --git a/test/vp8_fdct4x4_test.cc b/test/vp8_fdct4x4_test.cc index e3c292ea1a1f08a1cb5d19f487e7e16b85a541ef..bdbf74e7772299198812316da0f02799afceec3b 100644 --- a/test/vp8_fdct4x4_test.cc +++ b/test/vp8_fdct4x4_test.cc @@ -68,7 +68,7 @@ void reference_idct4x4(const int16_t *input, int16_t *output) { using libvpx_test::ACMRandom; -TEST(Vp8FdctTest, SignBiasCheck) { +TEST(VP8FdctTest, SignBiasCheck) { ACMRandom rnd(ACMRandom::DeterministicSeed()); int16_t test_input_block[16]; int16_t test_output_block[16]; @@ -127,7 +127,7 @@ TEST(Vp8FdctTest, SignBiasCheck) { << "Error: 4x4 FDCT has a sign bias > 10% for input range [-15, 15]"; }; -TEST(Vp8FdctTest, RoundTripErrorCheck) { +TEST(VP8FdctTest, RoundTripErrorCheck) { ACMRandom rnd(ACMRandom::DeterministicSeed()); int max_error = 0; double total_error = 0;