diff --git a/test/ffmpeg-qsv/encode/avc.py b/test/ffmpeg-qsv/encode/avc.py index 8372fe7d..a38303f3 100755 --- a/test/ffmpeg-qsv/encode/avc.py +++ b/test/ffmpeg-qsv/encode/avc.py @@ -5,7 +5,6 @@ ### from ....lib import * -from ....lib.parameters_strapi import * from ....lib.ffmpeg.qsv.util import * from ....lib.ffmpeg.qsv.encoder import AVCEncoderTest, AVCEncoderLPTest from ....lib.ffmpeg.qsv.encoder import StringAPIEncoder @@ -39,7 +38,7 @@ def test_r2r(self, case, gop, slices, bframes, qp, quality, profile): self.encode() @slash.requires(*have_ffmpeg_encoder_options("h264_qsv", "qsv_params")) - @slash.parametrize(*gen_avc_cqp_strapi_parameters(spec, ['high', 'main', 'baseline'])) + @slash.parametrize(*gen_avc_cqp_parameters(spec, ['high', 'main', 'baseline'], strapi=True)) def test_strapi(self, case, gop, slices, bframes, qp, quality, profile): self.EncoderClass = StringAPIEncoder self.init(spec, case, gop, slices, bframes, qp, quality, profile) @@ -71,7 +70,7 @@ def test_r2r(self, case, gop, slices, bframes, qp, quality, profile): self.encode() @slash.requires(*have_ffmpeg_encoder_options("h264_qsv", "qsv_params")) - @slash.parametrize(*gen_avc_cqp_lp_strapi_parameters(spec, ['high', 'main'])) + @slash.parametrize(*gen_avc_cqp_lp_parameters(spec, ['high', 'main'], strapi=True)) def test_strapi(self, case, gop, slices, bframes, qp, quality, profile): self.EncoderClass = StringAPIEncoder self.init(spec, case, gop, slices, bframes, qp, quality, profile) @@ -105,7 +104,7 @@ def test_r2r(self, case, gop, slices, bframes, bitrate, fps, profile): self.encode() @slash.requires(*have_ffmpeg_encoder_options("h264_qsv", "qsv_params")) - @slash.parametrize(*gen_avc_cbr_strapi_parameters(spec, ['high', 'main', 'baseline'])) + @slash.parametrize(*gen_avc_cbr_parameters(spec, ['high', 'main', 'baseline'], strapi=True)) def test_strapi(self, case, gop, slices, bframes, bitrate, fps, profile): self.EncoderClass = StringAPIEncoder self.init(spec, case, gop, slices, bframes, bitrate, fps, profile) @@ -139,7 +138,7 @@ def test_r2r(self, case, gop, slices, bframes, bitrate, fps, profile): self.encode() @slash.requires(*have_ffmpeg_encoder_options("h264_qsv", "qsv_params")) - @slash.parametrize(*gen_avc_cbr_lp_strapi_parameters(spec, ['high', 'main'])) + @slash.parametrize(*gen_avc_cbr_lp_parameters(spec, ['high', 'main'], strapi=True)) def test_strapi(self, case, gop, slices, bframes, bitrate, fps, profile): self.EncoderClass = StringAPIEncoder self.init(spec, case, gop, slices, bframes, bitrate, fps, profile) @@ -175,7 +174,7 @@ def test_r2r(self, case, gop, slices, bframes, bitrate, fps, quality, refs, prof self.encode() @slash.requires(*have_ffmpeg_encoder_options("h264_qsv", "qsv_params")) - @slash.parametrize(*gen_avc_vbr_strapi_parameters(spec_r2r, ['high', 'main', 'baseline'])) + @slash.parametrize(*gen_avc_vbr_parameters(spec, ['high', 'main', 'baseline'], strapi=True)) def test_strapi(self, case, gop, slices, bframes, bitrate, fps, quality, refs, profile): self.EncoderClass = StringAPIEncoder self.init(spec, case, gop, slices, bframes, bitrate, fps, quality, refs, profile) @@ -229,7 +228,7 @@ def test_tcbrc(self, case, bitrate, fps, profile): self.encode() @slash.requires(*have_ffmpeg_encoder_options("h264_qsv", "qsv_params")) - @slash.parametrize(*gen_avc_vbr_lp_strapi_parameters(spec, ['high', 'main'])) + @slash.parametrize(*gen_avc_vbr_lp_parameters(spec, ['high', 'main'], strapi=True)) def test_strapi(self, case, gop, slices, bframes, bitrate, fps, quality, refs, profile): self.EncoderClass = StringAPIEncoder self.init(spec, case, gop, slices, bframes, bitrate, fps, quality, refs, profile)