Add AV1 perf tests.

Bug: b/273502945
Change-Id: I3b1379c8757f4e1ea38d9575eb2a32d955f0643f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/302401
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39930}
This commit is contained in:
philipel 2023-04-24 11:34:39 +02:00 committed by WebRTC LUCI CQ
parent d1e5dedffe
commit c22893b3f6

View File

@ -726,6 +726,54 @@ TEST(FullStackTest, Conference_Motion_Hd_3tl_Alt_Heavy_Moderate_Limits) {
fixture->RunWithAnalyzer(conf_motion_hd);
}
TEST(FullStackTest, Foreman_Cif_30kbps_AV1) {
auto fixture = CreateVideoQualityTestFixture();
ParamsWithLogging foreman_cif;
foreman_cif.call.send_side_bwe = true;
foreman_cif.video[0] = {.enabled = true,
.width = 352,
.height = 288,
.fps = 10,
.min_bitrate_bps = 20'000,
.target_bitrate_bps = 30'000,
.max_bitrate_bps = 100'000,
.codec = "AV1",
.num_temporal_layers = 1,
.selected_tl = 0,
.clip_path = ClipNameToClipPath("foreman_cif")};
foreman_cif.analyzer = {.test_label = "foreman_cif_30kbps_AV1",
.test_durations_secs = kFullStackTestDurationSecs};
foreman_cif.config->link_capacity_kbps = 30;
foreman_cif.call.generic_descriptor = true;
fixture->RunWithAnalyzer(foreman_cif);
}
TEST(FullStackTest, Conference_Motion_Hd_3tl_AV1) {
auto fixture = CreateVideoQualityTestFixture();
ParamsWithLogging conf_motion_hd;
conf_motion_hd.call.send_side_bwe = true;
conf_motion_hd.video[0] = {
.enabled = true,
.width = 1280,
.height = 720,
.fps = 50,
.min_bitrate_bps = 20'000,
.target_bitrate_bps = 500'000,
.max_bitrate_bps = 1'000'000,
.codec = "AV1",
.num_temporal_layers = 3,
.clip_path = ClipNameToClipPath("ConferenceMotion_1280_720_50")};
conf_motion_hd.analyzer = {.test_label = "conference_motion_hd_3tl_AV1",
.test_durations_secs = kFullStackTestDurationSecs};
conf_motion_hd.config->queue_length_packets = 50;
conf_motion_hd.config->loss_percent = 3;
conf_motion_hd.config->queue_delay_ms = 100;
conf_motion_hd.config->link_capacity_kbps = 1000;
conf_motion_hd.call.generic_descriptor = true;
fixture->RunWithAnalyzer(conf_motion_hd);
}
#if defined(RTC_ENABLE_VP9)
TEST(FullStackTest, Conference_Motion_Hd_2000kbps_100ms_32pkts_Queue_Vp9) {
auto fixture = CreateVideoQualityTestFixture();