webrtc_m130/test/scenario/quality_info.h
Sebastian Jansson 9a4f38ec5c Adds optional video quality metrics to scenario tests.
Bug: webrtc:9510
Change-Id: I448e7156cc8f56930f58c4d25bd167df83a2ba85
Reviewed-on: https://webrtc-review.googlesource.com/c/114885
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26065}
2018-12-20 08:50:12 +00:00

28 lines
803 B
C++

/*
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef TEST_SCENARIO_QUALITY_INFO_H_
#define TEST_SCENARIO_QUALITY_INFO_H_
#include "api/units/timestamp.h"
namespace webrtc {
namespace test {
struct VideoFrameQualityInfo {
Timestamp capture_time;
Timestamp received_capture_time;
Timestamp render_time;
int width;
int height;
double psnr;
};
} // namespace test
} // namespace webrtc
#endif // TEST_SCENARIO_QUALITY_INFO_H_