libvdpau/U_Support-AV1.patch
2022-03-10 19:23:11 +00:00

27 lines
931 B
Diff

From da66af25aa327d21179d478f3a6d8c03b6c7f574 Mon Sep 17 00:00:00 2001
From: ManojGuptaBonda <mbonda@nvidia.com>
Date: Tue, 8 Feb 2022 23:25:04 +0530
Subject: [PATCH] Add support for AV1 in vdpauinfo
---
vdpauinfo.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/vdpauinfo.cpp b/vdpauinfo.cpp
index 10dbdf3..cf83b4a 100644
--- a/vdpauinfo.cpp
+++ b/vdpauinfo.cpp
@@ -376,6 +376,9 @@ Desc decoder_profiles[] = {
{"HEVC_MAIN_444", VDP_DECODER_PROFILE_HEVC_MAIN_444},
{"HEVC_MAIN_444_10", VDP_DECODER_PROFILE_HEVC_MAIN_444_10},
{"HEVC_MAIN_444_12", VDP_DECODER_PROFILE_HEVC_MAIN_444_12},
+{"AV1_MAIN", VDP_DECODER_PROFILE_AV1_MAIN},
+{"AV1_HIGH", VDP_DECODER_PROFILE_AV1_HIGH},
+{"AV1_PROFESSIONAL", VDP_DECODER_PROFILE_AV1_PROFESSIONAL},
};
const size_t decoder_profile_count = sizeof(decoder_profiles)/sizeof(Desc);
--
GitLab