Use VideoCodec complexity to determine AV1 encoder cpu_speed.
Bug: webrtc:13744 Change-Id: Ib6d62dcdf7346d886c0aca09735c7d5c1f3e2455 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/252340 Reviewed-by: Erik Språng <sprang@webrtc.org> Auto-Submit: Michael Horowitz <mhoro@google.com> Commit-Queue: Michael Horowitz <mhoro@google.com> Cr-Commit-Position: refs/heads/main@{#36125}
This commit is contained in:
@ -61,7 +61,7 @@ TEST_P(VideoCodecTestAv1, HighBitrate) {
|
||||
std::vector<RateControlThresholds> rc_thresholds = {
|
||||
{12, 1, 0, 1, 0.3, 0.1, 0, 1}};
|
||||
|
||||
std::vector<QualityThresholds> quality_thresholds = {{37, 34, 0.94, 0.915}};
|
||||
std::vector<QualityThresholds> quality_thresholds = {{37, 34, 0.94, 0.91}};
|
||||
|
||||
fixture->RunTest(rate_profiles, &rc_thresholds, &quality_thresholds, nullptr);
|
||||
}
|
||||
@ -78,7 +78,7 @@ TEST_P(VideoCodecTestAv1, VeryLowBitrate) {
|
||||
std::vector<RateControlThresholds> rc_thresholds = {
|
||||
{15, 8, 75, 2, 2, 2, 2, 1}};
|
||||
|
||||
std::vector<QualityThresholds> quality_thresholds = {{28, 25, 0.70, 0.60}};
|
||||
std::vector<QualityThresholds> quality_thresholds = {{28, 24.9, 0.70, 0.55}};
|
||||
|
||||
fixture->RunTest(rate_profiles, &rc_thresholds, &quality_thresholds, nullptr);
|
||||
}
|
||||
@ -99,7 +99,8 @@ TEST_P(VideoCodecTestAv1, Hd) {
|
||||
std::vector<RateControlThresholds> rc_thresholds = {
|
||||
{13, 3, 0, 1, 0.3, 0.1, 0, 1}};
|
||||
|
||||
std::vector<QualityThresholds> quality_thresholds = {{36, 31.6, 0.93, 0.87}};
|
||||
std::vector<QualityThresholds> quality_thresholds = {
|
||||
{36, 31.55, 0.925, 0.865}};
|
||||
|
||||
fixture->RunTest(rate_profiles, &rc_thresholds, &quality_thresholds, nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user