Index: webrtc/modules/audio_processing/test/bitexactness_tools.h |
diff --git a/webrtc/modules/audio_processing/test/bitexactness_tools.h b/webrtc/modules/audio_processing/test/bitexactness_tools.h |
index e9650ff3a77cdf6f91ef9fc5b2e6941ced916290..b61b1419f65ba9c6570e8e064b2b798c0fbc620a 100644 |
--- a/webrtc/modules/audio_processing/test/bitexactness_tools.h |
+++ b/webrtc/modules/audio_processing/test/bitexactness_tools.h |
@@ -37,17 +37,19 @@ void ReadFloatSamplesFromStereoFile(size_t samples_per_channel, |
// Verifies a frame against a reference and returns the results as an |
// AssertionResult. |
-::testing::AssertionResult BitExactFrame(size_t samples_per_channel, |
- size_t num_channels, |
- rtc::ArrayView<const float> reference, |
- rtc::ArrayView<const float> output, |
- float tolerance); |
+::testing::AssertionResult StackedFrameDifferenceBounded( |
hlundin-webrtc
2016/03/30 08:21:11
Suggest VerifyDeinterleavedArray. And for symmetry
peah-webrtc
2016/03/30 12:16:36
Great suggestion!
Done.
|
+ size_t samples_per_channel, |
+ size_t num_channels, |
+ rtc::ArrayView<const float> reference, |
+ rtc::ArrayView<const float> output, |
+ float element_error_bound); |
// Verifies a vector against a reference and returns the results as an |
// AssertionResult. |
-::testing::AssertionResult BitExactVector(rtc::ArrayView<const float> reference, |
- rtc::ArrayView<const float> output, |
- float tolerance); |
+::testing::AssertionResult VectorDifferenceBounded( |
+ rtc::ArrayView<const float> reference, |
+ rtc::ArrayView<const float> output, |
+ float element_error_bound); |
} // namespace test |
} // namespace webrtc |