diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-10-27 02:09:17 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-10-27 02:16:42 -0400 |
| commit | 31d9c3c75e444ca29a5eb58ea92593a0d62a6545 (patch) | |
| tree | 425b6993279146d7096d8af35287f3cc26127e40 /src/video_core/command_classes/nvdec.cpp | |
| parent | 89e414a2fbd9995005258332bcd64b6fa5ad9e2a (diff) | |
nvdec: Tidy up header includes
Prevents a few unnecessary inclusions.
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 ede9466ebe..8ca7a7b06f 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 { |
