Tune qp threshold for VP9 blocky video

Tested with video_loopback and hardcoded encoder qp. VP9 returns values
in range 1-255.

Bug: webrtc:9295
Change-Id: Ia5f98494c013a879de6fc3125bdcd6f4180150b5
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/150527
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28958}
This commit is contained in:
Ilya Nikolaevskiy
2019-08-26 14:16:15 +02:00
committed by Commit Bot
parent 4869bd6309
commit 3b407ff9a4

View File

@ -31,7 +31,7 @@ constexpr int kPixelsInHighResolution =
960 * 540; // CPU-adapted HD still counts.
constexpr int kPixelsInMediumResolution = 640 * 360;
constexpr int kBlockyQpThresholdVp8 = 70;
constexpr int kBlockyQpThresholdVp9 = 60; // TODO(ilnik): tune this value.
constexpr int kBlockyQpThresholdVp9 = 180;
constexpr int kMaxNumCachedBlockyFrames = 100;
// TODO(ilnik): Add H264/HEVC thresholds.
} // namespace