From bace350feb2cfe7344ae9e231774a214e2e6a86c Mon Sep 17 00:00:00 2001 From: Sergey Silkin Date: Mon, 2 Apr 2018 14:59:08 +0200 Subject: [PATCH] Print more frame statistic. - Print per-plane PSNR. - Print inter_layer_predicted flag. Bug: none Change-Id: I6bc899602252ccca37440eb455dc860d51d87f2f Reviewed-on: https://webrtc-review.googlesource.com/66080 Reviewed-by: Rasmus Brandt Commit-Queue: Sergey Silkin Cr-Commit-Position: refs/heads/master@{#22701} --- modules/video_coding/codecs/test/stats.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/video_coding/codecs/test/stats.cc b/modules/video_coding/codecs/test/stats.cc index 08bdeb5774..d7bc05bc4c 100644 --- a/modules/video_coding/codecs/test/stats.cc +++ b/modules/video_coding/codecs/test/stats.cc @@ -32,10 +32,14 @@ std::string FrameStatistics::ToString() const { ss << " decoded_height " << decoded_height; ss << " simulcast_svc_idx " << simulcast_svc_idx; ss << " temporal_layer_idx " << temporal_layer_idx; + ss << " inter_layer_predicted " << inter_layer_predicted; ss << " frame_type " << frame_type; ss << " length_bytes " << length_bytes; ss << " qp " << qp; ss << " psnr " << psnr; + ss << " psnr_y " << psnr_y; + ss << " psnr_u " << psnr_u; + ss << " psnr_v " << psnr_v; ss << " ssim " << ssim; ss << " encode_time_us " << encode_time_us; ss << " decode_time_us " << decode_time_us;