diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-03 00:55:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 00:55:15 +0100 |
commit | 9abb23cd2700b57611fc25bce67581eaa6d4d3b7 (patch) | |
tree | 75a2c41fbdfab51ea44e74e84c17204da171b938 /src/video_core/command_classes/codecs/vp9.h | |
parent | Merge pull request #4937 from german77/multiUDP (diff) | |
parent | Limit queue size to 10 frames (diff) | |
download | yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar.gz yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar.bz2 yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar.lz yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar.xz yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar.zst yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.zip |
Diffstat (limited to 'src/video_core/command_classes/codecs/vp9.h')
-rw-r--r-- | src/video_core/command_classes/codecs/vp9.h | 7 |
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> |