| Index: modules/video_coding/codecs/test/videoprocessor_integrationtest.h
|
| diff --git a/modules/video_coding/codecs/test/videoprocessor_integrationtest.h b/modules/video_coding/codecs/test/videoprocessor_integrationtest.h
|
| index 2ab65025a0a6c0f41e1f64e666d1ca543242fabc..36b563f426dc361338fe99c0281ffbc2e122cb10 100644
|
| --- a/modules/video_coding/codecs/test/videoprocessor_integrationtest.h
|
| +++ b/modules/video_coding/codecs/test/videoprocessor_integrationtest.h
|
| @@ -71,6 +71,12 @@ struct QualityThresholds {
|
| double min_min_ssim;
|
| };
|
|
|
| +struct BitstreamThresholds {
|
| + explicit BitstreamThresholds(size_t max_nalu_length)
|
| + : max_nalu_length(max_nalu_length) {}
|
| + size_t max_nalu_length;
|
| +};
|
| +
|
| // Should video files be saved persistently to disk for post-run visualization?
|
| struct VisualizationParams {
|
| bool save_encoded_ivf;
|
| @@ -122,6 +128,7 @@ class VideoProcessorIntegrationTest : public testing::Test {
|
| const RateProfile& rate_profile,
|
| const std::vector<RateControlThresholds>* rc_thresholds,
|
| const QualityThresholds* quality_thresholds,
|
| + const BitstreamThresholds* bs_thresholds,
|
| const VisualizationParams* visualization_params);
|
|
|
| // Config.
|
| @@ -192,6 +199,9 @@ class VideoProcessorIntegrationTest : public testing::Test {
|
| const std::vector<int>& num_dropped_frames,
|
| const std::vector<int>& num_spatial_resizes) const;
|
|
|
| + void VerifyBitstream(int frame_number,
|
| + const BitstreamThresholds *bs_thresholds);
|
| +
|
| // Codecs.
|
| std::unique_ptr<VideoEncoder> encoder_;
|
| std::unique_ptr<cricket::WebRtcVideoDecoderFactory> decoder_factory_;
|
|
|