summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_classes/codecs/codec.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-08-08 05:57:22 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-08-16 20:40:53 +0200
commita832aa699f783f6ae0a6a1468b0aa6bc7d68c5d2 (patch)
tree8b5fe69048067a623f05210b20b8542fdec0180c /src/video_core/command_classes/codecs/codec.h
parentcodec: Fallback to CPU decoding if no compatible GPU format is found (diff)
downloadyuzu-a832aa699f783f6ae0a6a1468b0aa6bc7d68c5d2.tar
yuzu-a832aa699f783f6ae0a6a1468b0aa6bc7d68c5d2.tar.gz
yuzu-a832aa699f783f6ae0a6a1468b0aa6bc7d68c5d2.tar.bz2
yuzu-a832aa699f783f6ae0a6a1468b0aa6bc7d68c5d2.tar.lz
yuzu-a832aa699f783f6ae0a6a1468b0aa6bc7d68c5d2.tar.xz
yuzu-a832aa699f783f6ae0a6a1468b0aa6bc7d68c5d2.tar.zst
yuzu-a832aa699f783f6ae0a6a1468b0aa6bc7d68c5d2.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/command_classes/codecs/codec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/command_classes/codecs/codec.h b/src/video_core/command_classes/codecs/codec.h
index f51ab9df0..1508d36c2 100644
--- a/src/video_core/command_classes/codecs/codec.h
+++ b/src/video_core/command_classes/codecs/codec.h
@@ -55,6 +55,8 @@ public:
[[nodiscard]] std::string_view GetCurrentCodecName() const;
private:
+ void InitializeAvCodecContext();
+
void InitializeGpuDecoder();
bool CreateGpuAvDevice();