Top | ![]() |
![]() |
![]() |
![]() |
VA-API graphics driver enumerationVA-API graphics driver enumeration — Get information about the system's VA-API drivers |
gboolean | is-extra | Read / Write / Construct Only |
gchar * | library-path | Read / Write / Construct Only |
gchar * | resolved-library-path | Read |
SrtVaApiDriver is an opaque object representing the metadata describing
a VA-API driver.
This is a reference-counted object: use g_object_ref()
and
g_object_unref()
to manage its lifecycle.
const gchar *
srt_va_api_driver_get_library_path (SrtVaApiDriver *self
);
Return the library path for this VA-API driver.
gboolean
srt_va_api_driver_is_extra (SrtVaApiDriver *self
);
Return a gboolean that indicates if the VA-API is in an unusual position.
gchar *
srt_va_api_driver_resolve_library_path
(SrtVaApiDriver *self
);
Return the absolute library path for this VA-API driver.
If srt_va_api_driver_get_library_path()
is already an absolute path, a copy
of the same value will be returned.
“is-extra”
property“is-extra” gboolean
TRUE if the driver is located in an unusual path.
Flags: Read / Write / Construct Only
Default value: FALSE
“library-path”
property“library-path” gchar *
Path to the DRI driver library in provider's namespace. It may be absolute (e.g. /usr/lib/dri/iHD_drv_video.so) or relative (e.g. custom/dri/iHD_drv_video.so). If absolute, it is set as though the sysroot, if any, was the root.
Flags: Read / Write / Construct Only
Default value: NULL
“resolved-library-path”
property“resolved-library-path” gchar *
Absolute path to the DRI driver library in provider's namespace. This is similar to 'library-path', but is guaranteed to be an absolute path (e.g. /usr/lib/dri/iHD_drv_video.so) as though the sysroot, if any, was the root.
Flags: Read
Default value: NULL