va: Add the profile string name into the profile_map.
authorHe Junyan <junyan.he@intel.com>
Thu, 21 Oct 2021 14:56:23 +0000 (22:56 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 1 Mar 2022 09:53:50 +0000 (10:53 +0100)
commit57d50a941f1e4433136a26577c8a957cc76c85c0
treeb62a1b3602231b0a7e278d4d69c91be20a25800d
parente0b6c6678b00795623dad446aade38a9568a4668
va: Add the profile string name into the profile_map.

We also add a helper function of gst_va_profile_from_name to get
the VA profile value by its profile string name.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1051>
subprojects/gst-plugins-bad/sys/va/gstvaprofile.c
subprojects/gst-plugins-bad/sys/va/gstvaprofile.h