Tune HEVC parameters in mediaformatshaper
Minimize bitrate impact by lifting scores just above acceptable
thresholds.
Bug: 183211971
Test: video quality test scripts
Change-Id: I46055645ae7f186875c57fce0aa352ddfae92e71
diff --git a/media/libmediaformatshaper/CodecSeeding.cpp b/media/libmediaformatshaper/CodecSeeding.cpp
index 2f2e29d..cc241f4 100644
--- a/media/libmediaformatshaper/CodecSeeding.cpp
+++ b/media/libmediaformatshaper/CodecSeeding.cpp
@@ -44,8 +44,7 @@
} preloadTunings_t;
/*
- * 240 = 2.4 bits per pixel-per-second == 5mbps@1080, 2.3mbps@720p, which is about where
- * we want our initial floor for now.
+ * bpp == bits per pixel per second, for 30fps.
*/
static preloadTuning_t featuresAvc[] = {
@@ -69,11 +68,12 @@
{true, "vq-target-bpp-1080p", "1.50"},
{true, "vq-target-bpp-720p", "1.80"},
{true, "vq-target-bpp-540p", "2.10"},
+ {true, "vq-target-bpp-480p", "2.30"},
{true, "vq-target-qpmax", "-1"},
{true, "vq-target-qpmax-1080p", "45"},
- {true, "vq-target-qpmax-720p", "43"},
- {true, "vq-target-qpmax-540p", "42"},
- {true, "vq-target-qpmax-480p", "39"},
+ {true, "vq-target-qpmax-720p", "44"},
+ {true, "vq-target-qpmax-540p", "43"},
+ {true, "vq-target-qpmax-480p", "42"},
{true, "vq-bitrate-phaseout", "1.75"},
{true, "vq-boost-missing-qp", "0.20"},
{true, nullptr, 0}