/
githubmirror
/
obs-studio
Обзор
Документация
Войти
/
githubmirror
/
obs-studio
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
plugins/obs-ffmpeg/vaapi-utils.h
29 строк
1 KB
Ryan Foster
clang-format: Increase column limit from 80 to 120
05 окт 2024, 01:19
05 окт 2024, 01:19
a1fbf10
Код
Авторство
О чём код?
// SPDX-FileCopyrightText: 2022 tytan652 <tytan652@tytanium.xyz> // // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include <util/base.h> #include <va/va.h> VADisplay vaapi_open_device(int *fd, const char *device_path, const char *func_name); void vaapi_close_device(int *fd, VADisplay dpy); bool vaapi_device_rc_supported(VAProfile profile, VADisplay dpy, uint32_t rc, const char *device_path); bool vaapi_device_bframe_supported(VAProfile profile, VADisplay dpy); bool vaapi_display_h264_supported(VADisplay dpy, const char *device_path); bool vaapi_device_h264_supported(const char *device_path); const char *vaapi_get_h264_default_device(void); bool vaapi_display_av1_supported(VADisplay dpy, const char *device_path); bool vaapi_device_av1_supported(const char *device_path); const char *vaapi_get_av1_default_device(void); #ifdef ENABLE_HEVC bool vaapi_display_hevc_supported(VADisplay dpy, const char *device_path); bool vaapi_device_hevc_supported(const char *device_path); const char *vaapi_get_hevc_default_device(void); #endif