summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_classes/nvdec.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-10-29 20:28:07 +0100
committerGitHub <noreply@github.com>2020-10-29 20:28:07 +0100
commitef29bf45159955963da45bc8838950a0fd39ae90 (patch)
tree2fed8fd3831487763bc823b580ee9c021ef77077 /src/video_core/command_classes/nvdec.h
parentMerge pull request #4781 from german77/GChotplug (diff)
parenth264: Make WriteUe take a u32 (diff)
downloadyuzu-ef29bf45159955963da45bc8838950a0fd39ae90.tar
yuzu-ef29bf45159955963da45bc8838950a0fd39ae90.tar.gz
yuzu-ef29bf45159955963da45bc8838950a0fd39ae90.tar.bz2
yuzu-ef29bf45159955963da45bc8838950a0fd39ae90.tar.lz
yuzu-ef29bf45159955963da45bc8838950a0fd39ae90.tar.xz
yuzu-ef29bf45159955963da45bc8838950a0fd39ae90.tar.zst
yuzu-ef29bf45159955963da45bc8838950a0fd39ae90.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