diff options
author | bunnei <bunneidev@gmail.com> | 2020-10-29 20:28:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 20:28:07 +0100 |
commit | ef29bf45159955963da45bc8838950a0fd39ae90 (patch) | |
tree | 2fed8fd3831487763bc823b580ee9c021ef77077 /src/video_core/command_classes/nvdec.cpp | |
parent | Merge pull request #4781 from german77/GChotplug (diff) | |
parent | h264: Make WriteUe take a u32 (diff) | |
download | yuzu-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.cpp')
-rw-r--r-- | src/video_core/command_classes/nvdec.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/video_core/command_classes/nvdec.cpp b/src/video_core/command_classes/nvdec.cpp index ede9466eb..8ca7a7b06 100644 --- a/src/video_core/command_classes/nvdec.cpp +++ b/src/video_core/command_classes/nvdec.cpp @@ -2,13 +2,9 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include <bitset> #include "common/assert.h" -#include "common/bit_util.h" -#include "core/memory.h" #include "video_core/command_classes/nvdec.h" #include "video_core/gpu.h" -#include "video_core/memory_manager.h" namespace Tegra { @@ -16,7 +12,7 @@ Nvdec::Nvdec(GPU& gpu_) : gpu(gpu_), codec(std::make_unique<Codec>(gpu)) {} Nvdec::~Nvdec() = default; -void Nvdec::ProcessMethod(Nvdec::Method method, const std::vector<u32>& arguments) { +void Nvdec::ProcessMethod(Method method, const std::vector<u32>& arguments) { if (method == Method::SetVideoCodec) { codec->StateWrite(static_cast<u32>(method), arguments[0]); } else { |