From 720a4e29196300493815630a2727600153dde329 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 1 Oct 2024 18:28:06 +0200 Subject: Support gpus that only support low power encoding mode (Intel Arc A380) --- include/codec_query/codec_query.h | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/codec_query/codec_query.h b/include/codec_query/codec_query.h index 7d5a292..316217d 100644 --- a/include/codec_query/codec_query.h +++ b/include/codec_query/codec_query.h @@ -4,15 +4,20 @@ #include typedef struct { - bool h264; - bool hevc; - bool hevc_hdr; - bool hevc_10bit; - bool av1; - bool av1_hdr; - bool av1_10bit; - bool vp8; - bool vp9; + bool supported; + bool low_power; +} gsr_supported_video_codec; + +typedef struct { + gsr_supported_video_codec h264; + gsr_supported_video_codec hevc; + gsr_supported_video_codec hevc_hdr; + gsr_supported_video_codec hevc_10bit; + gsr_supported_video_codec av1; + gsr_supported_video_codec av1_hdr; + gsr_supported_video_codec av1_10bit; + gsr_supported_video_codec vp8; + gsr_supported_video_codec vp9; } gsr_supported_video_codecs; #endif /* GSR_CODEC_QUERY_H */ -- cgit v1.2.3