summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_classes/nvdec.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-27 07:09:17 +0100
committerLioncash <mathew1800@gmail.com>2020-10-27 07:16:42 +0100
commitc04203b786d87ecb66811341e7ea776452664e91 (patch)
tree425b6993279146d7096d8af35287f3cc26127e40 /src/video_core/command_classes/nvdec.h
parentMerge pull request #4729 from ameerj/nvdec-prod (diff)
downloadyuzu-c04203b786d87ecb66811341e7ea776452664e91.tar
yuzu-c04203b786d87ecb66811341e7ea776452664e91.tar.gz
yuzu-c04203b786d87ecb66811341e7ea776452664e91.tar.bz2
yuzu-c04203b786d87ecb66811341e7ea776452664e91.tar.lz
yuzu-c04203b786d87ecb66811341e7ea776452664e91.tar.xz
yuzu-c04203b786d87ecb66811341e7ea776452664e91.tar.zst
yuzu-c04203b786d87ecb66811341e7ea776452664e91.zip
Diffstat (limited to 'src/video_core/command_classes/nvdec.h')
-rw-r--r--src/video_core/command_classes/nvdec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/command_classes/nvdec.h b/src/video_core/command_classes/nvdec.h
index c1a9d843e..af14f9857 100644
--- a/src/video_core/command_classes/nvdec.h
+++ b/src/video_core/command_classes/nvdec.h
@@ -4,8 +4,8 @@
#pragma once
+#include <memory>
#include <vector>
-#include "common/common_funcs.h"
#include "common/common_types.h"
#include "video_core/command_classes/codecs/codec.h"
@@ -23,7 +23,7 @@ public:
~Nvdec();
/// Writes the method into the state, Invoke Execute() if encountered
- void ProcessMethod(Nvdec::Method method, const std::vector<u32>& arguments);
+ void ProcessMethod(Method method, const std::vector<u32>& arguments);
/// Return most recently decoded frame
AVFrame* GetFrame();
@@ -34,6 +34,6 @@ private:
void Execute();
GPU& gpu;
- std::unique_ptr<Tegra::Codec> codec;
+ std::unique_ptr<Codec> codec;
};
} // namespace Tegra