From 5f746fc046eb23997abf1a0e1984e8c6d6ea6d23 Mon Sep 17 00:00:00 2001 From: "U. Artie Eoff" Date: Thu, 21 Mar 2024 12:49:33 -0400 Subject: [PATCH] model: update hevc 10bit QP list Use a valid QP range accepted by the iHD driver for HEVC 10bit. Unfortunately, there is still a bug in ffmpeg and vpl that incorrectly forces QP in the wrong range... See https://github.com/oneapi-src/oneVPL-intel-gpu/issues/297 Thus, until the issue is fixed, the ffmpeg-qsv encoder code needs to be modified, manually, to remove the QP range constraints so that the requested values can propogate to vpl and the driver to properly generate a trendline model. Signed-off-by: U. Artie Eoff --- model/encode/10bit/hevc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/model/encode/10bit/hevc.py b/model/encode/10bit/hevc.py index 3f23a1ad..58e24627 100644 --- a/model/encode/10bit/hevc.py +++ b/model/encode/10bit/hevc.py @@ -35,6 +35,9 @@ def initvars(self, _): @slash.parametrize(*TrendModelMixin.filter_spec(spec)) def test(self, case): vars(self).update(case = case) + vars(self).update( + modelqps = [12, 13, 16, 18, 23, 31, 40, 42, 45, 48, 49, 51, 54, 57, 60, 61, 63] + ) vars(self).update(spec[case].copy()) # Some features/formats are only supported by VDENC (lowpower = 1).