msdkenc{h264,h265}: add min-qp and max-qp properties
authorHaihao Xiang <haihao.xiang@intel.com>
Wed, 23 Dec 2020 08:11:42 +0000 (16:11 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Wed, 30 Dec 2020 06:40:36 +0000 (06:40 +0000)
commit1f1a5b4ad1bf963402c3009b394dd96abdbd5020
tree834a8866ef9e0a55594577bcf9f1611ae483655e
parent7bc3d51b427e3eeb7ff1e3099dec5ff35f7a06a6
msdkenc{h264,h265}: add min-qp and max-qp properties

The SDK allows user to set a QP range [1], so add min-qp and max-qp to
sepecify QP range. By default, there is no limitations on QP.

[1] https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#mfxextcodingoption2

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1908>
sys/msdk/gstmsdkh264enc.c
sys/msdk/gstmsdkh264enc.h
sys/msdk/gstmsdkh265enc.c
sys/msdk/gstmsdkh265enc.h