diff options
Diffstat (limited to 'va/drm/va_drm_utils.h')
-rw-r--r-- | va/drm/va_drm_utils.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/va/drm/va_drm_utils.h b/va/drm/va_drm_utils.h index 0cb361e..b468c59 100644 --- a/va/drm/va_drm_utils.h +++ b/va/drm/va_drm_utils.h @@ -64,6 +64,16 @@ DLL_HIDDEN VAStatus VA_DRM_GetDriverName(VADriverContextP ctx, char **driver_name_ptr); +/** + * \brief Checks whether the file descriptor is a DRM Render-Nodes one + * + * This functions checks whether the supplied file descriptor @fd + * falls into the set of DRM Render-Nodes. + */ +DLL_HIDDEN +int +VA_DRM_IsRenderNodeFd(int fd); + /**@}*/ #ifdef __cplusplus |