Add pointer to struct wl_interface for driver to use See https://github.com/intel/intel-vaapi-driver/issues/419 for the information Note: don't export the interface symbol in case others may reuse it. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
av: avoid driver path truncation Using strncat() and strncpy() may lead to string truncation, which might generate other issues. This patch replaces the usage of strncat() and strncpy() to generate the driver path, with snprintf() safetly. See more information here: https://developers.redhat.com/blog/2018/05/24/detecting-string-truncation-with-gcc-8/
High Dynamic Range Tone Mapping: Add a new filter for input metadata and some comments. 1. Add comments for HDR10 metadata, it can be used to describe the content which was authoured and the display which will be presented; 2. Add a new filter for metadata, mainly for input surface; Signed-off-by: furongzh <furong.zhang@intel.com>
Remove restrictions on vaSetDriverName() The UID restriction has no effect, since any code capable of calling vaSetDriverName() can also edit the internals of the structure itself. (This check was inherited from the environment variable setting, where it does do something.) The name whitelist prevents loading drivers not currently named on the list, such as the Mesa and V4L2-request drivers. I don't believe there is any reason to prevent loading another driver, and it is already possible via the LIBVA_DRIVER_NAME environment variable. Signed-off-by: Mark Thompson <sw@jkqxz.net>
Add new BRC mode AVBR Average variable bitrate control algorithm focuses on overall encoding quality while meeting the specified target bitrate, within the accuracy range, after a convergence period. Change-Id: I048697bd4b40c571a22a551ae56578cc7512e39a Signed-off-by: xiaominc <xiaomin.chen@intel.com>