aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/video_coding/main/test/test_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc/modules/video_coding/main/test/test_util.h')
-rw-r--r--webrtc/modules/video_coding/main/test/test_util.h44
1 files changed, 12 insertions, 32 deletions
diff --git a/webrtc/modules/video_coding/main/test/test_util.h b/webrtc/modules/video_coding/main/test/test_util.h
index b1c156d6db..b484353289 100644
--- a/webrtc/modules/video_coding/main/test/test_util.h
+++ b/webrtc/modules/video_coding/main/test/test_util.h
@@ -25,36 +25,6 @@
enum { kMaxNackListSize = 250 };
enum { kMaxPacketAgeToNack = 450 };
-// Class used for passing command line arguments to tests
-class CmdArgs {
- public:
- CmdArgs();
-
- std::string codecName;
- webrtc::VideoCodecType codecType;
- int width;
- int height;
- int bitRate;
- int frameRate;
- int packetLoss;
- int rtt;
- int protectionMode;
- int camaEnable;
- std::string inputFile;
- std::string outputFile;
- std::string fv_outputfile;
- int testNum;
-};
-
-int MTRxTxTest(CmdArgs& args);
-double NormalDist(double mean, double stdDev);
-
-struct RtpPacket {
- uint8_t data[1650]; // max packet size
- size_t length;
- int64_t receiveTime;
-};
-
class NullEvent : public webrtc::EventWrapper {
public:
virtual ~NullEvent() {}
@@ -101,7 +71,17 @@ class FileOutputFrameReceiver : public webrtc::VCMReceiveCallback {
DISALLOW_IMPLICIT_CONSTRUCTORS(FileOutputFrameReceiver);
};
-// Codec type conversion
-webrtc::RtpVideoCodecTypes ConvertCodecType(const char* plname);
+class CmdArgs {
+ public:
+ CmdArgs();
+
+ std::string codecName;
+ webrtc::VideoCodecType codecType;
+ int width;
+ int height;
+ int rtt;
+ std::string inputFile;
+ std::string outputFile;
+};
#endif