summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_classes/codecs/vp9.h
diff options
context:
space:
mode:
authorameerj <aj662@drexel.edu>2020-11-25 23:10:44 +0100
committerameerj <aj662@drexel.edu>2020-11-25 23:10:44 +0100
commiteab041866b7c766aa38258aecef8a00c03612459 (patch)
tree7ca30459bcdfb9a277c3afac9d37f7198c01f535 /src/video_core/command_classes/codecs/vp9.h
parentMerge pull request #4946 from ameerj/alpha-test (diff)
downloadyuzu-eab041866b7c766aa38258aecef8a00c03612459.tar
yuzu-eab041866b7c766aa38258aecef8a00c03612459.tar.gz
yuzu-eab041866b7c766aa38258aecef8a00c03612459.tar.bz2
yuzu-eab041866b7c766aa38258aecef8a00c03612459.tar.lz
yuzu-eab041866b7c766aa38258aecef8a00c03612459.tar.xz
yuzu-eab041866b7c766aa38258aecef8a00c03612459.tar.zst
yuzu-eab041866b7c766aa38258aecef8a00c03612459.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/command_classes/codecs/vp9.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/command_classes/codecs/vp9.h b/src/video_core/command_classes/codecs/vp9.h
index e2504512c..9ebbbf59e 100644
--- a/src/video_core/command_classes/codecs/vp9.h
+++ b/src/video_core/command_classes/codecs/vp9.h
@@ -119,7 +119,8 @@ public:
/// Composes the VP9 frame from the GPU state information. Based on the official VP9 spec
/// documentation
- [[nodiscard]] const std::vector<u8>& ComposeFrameHeader(NvdecCommon::NvdecRegisters& state);
+ [[nodiscard]] const std::vector<u8>& ComposeFrameHeader(
+ const NvdecCommon::NvdecRegisters& state);
/// Returns true if the most recent frame was a hidden frame.
[[nodiscard]] bool WasFrameHidden() const {
@@ -147,8 +148,8 @@ private:
/// Writes probability updates for the Coef probabilities
void WriteCoefProbabilityUpdate(VpxRangeEncoder& writer, s32 tx_mode,
- const std::array<u8, 2304>& new_prob,
- const std::array<u8, 2304>& old_prob);
+ const std::array<u8, 1728>& new_prob,
+ const std::array<u8, 1728>& old_prob);
/// Write probabilities for 4-byte aligned structures
template <typename T, std::size_t N>