diff options
author | Fernando S <fsahmkow27@gmail.com> | 2022-12-25 02:26:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-25 02:26:06 +0100 |
commit | 3e6850f00bdd541202a8369438bda7988c8001f5 (patch) | |
tree | 34691ecb826bc402f68a075de07f4f6aaebf8c44 /src/video_core/host1x/vic.h | |
parent | qt: fix 'Pause' menu item (#9497) (diff) | |
parent | scratch_buffer: Explicitly defing resize and resize_destructive functions (diff) | |
download | yuzu-3e6850f00bdd541202a8369438bda7988c8001f5.tar yuzu-3e6850f00bdd541202a8369438bda7988c8001f5.tar.gz yuzu-3e6850f00bdd541202a8369438bda7988c8001f5.tar.bz2 yuzu-3e6850f00bdd541202a8369438bda7988c8001f5.tar.lz yuzu-3e6850f00bdd541202a8369438bda7988c8001f5.tar.xz yuzu-3e6850f00bdd541202a8369438bda7988c8001f5.tar.zst yuzu-3e6850f00bdd541202a8369438bda7988c8001f5.zip |
Diffstat (limited to 'src/video_core/host1x/vic.h')
-rw-r--r-- | src/video_core/host1x/vic.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/host1x/vic.h b/src/video_core/host1x/vic.h index 2b78786e8..3d9753047 100644 --- a/src/video_core/host1x/vic.h +++ b/src/video_core/host1x/vic.h @@ -4,8 +4,9 @@ #pragma once #include <memory> -#include <vector> + #include "common/common_types.h" +#include "common/scratch_buffer.h" struct SwsContext; @@ -49,8 +50,8 @@ private: /// size does not change during a stream using AVMallocPtr = std::unique_ptr<u8, decltype(&av_free)>; AVMallocPtr converted_frame_buffer; - std::vector<u8> luma_buffer; - std::vector<u8> chroma_buffer; + Common::ScratchBuffer<u8> luma_buffer; + Common::ScratchBuffer<u8> chroma_buffer; GPUVAddr config_struct_address{}; GPUVAddr output_surface_luma_address{}; |