GNOME Bugzilla – Bug 780955
encode: Query the driver support for multi-slice encode before enabling it
Last modified: 2017-05-22 07:33:00 UTC
We use property num-slices to enable multi-slice encode. We should query the driver support before enabling it by using VAConfigAttribEncMaxSlices. driver patch: https://github.com/01org/intel-vaapi-driver/pull/118/commits/2c710d17ff0c152e076a47e743a1a38cd4095a27
Created attachment 351902 [details] [review] libs: encoder: check for maximum number of slices Right now, H264 and HEVC can set as a property the number of slices to process. But each driver can set a maximum number of slices, depending on the supported profile & entry point. This patch verifies the current num_slices to process against the maximum permitted by the driver and the media size.
Created attachment 352161 [details] [review] libs: encoder: check for maximum number of slices Right now, H264 and HEVC can set as a property the number of slices to process. But each driver can set a maximum number of slices, depending on the supported profile & entry point. This patch verifies the current num_slices to process against the maximum permitted by the driver and the media size.
Attachment 352161 [details] pushed as ed3360b - libs: encoder: check for maximum number of slices