diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-11-13 01:52:51 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-11-13 05:52:19 +0100 |
commit | c50f17059730dc0566e1355fead9ac00d3b60e02 (patch) | |
tree | c2ecd768c64bf84ef63c11b5d13715e98a9056af /src/video_core/command_classes/codecs/vp9.h | |
parent | CMake: Enable VP8 ffmpeg decoders (diff) | |
download | yuzu-c50f17059730dc0566e1355fead9ac00d3b60e02.tar yuzu-c50f17059730dc0566e1355fead9ac00d3b60e02.tar.gz yuzu-c50f17059730dc0566e1355fead9ac00d3b60e02.tar.bz2 yuzu-c50f17059730dc0566e1355fead9ac00d3b60e02.tar.lz yuzu-c50f17059730dc0566e1355fead9ac00d3b60e02.tar.xz yuzu-c50f17059730dc0566e1355fead9ac00d3b60e02.tar.zst yuzu-c50f17059730dc0566e1355fead9ac00d3b60e02.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/command_classes/codecs/vp9.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/command_classes/codecs/vp9.h b/src/video_core/command_classes/codecs/vp9.h index 6ab9ef5b5..2e735c792 100644 --- a/src/video_core/command_classes/codecs/vp9.h +++ b/src/video_core/command_classes/codecs/vp9.h @@ -118,13 +118,14 @@ public: /// Composes the VP9 frame from the GPU state information. /// Based on the official VP9 spec documentation - void ComposeFrameHeader(const NvdecCommon::NvdecRegisters& state); + void ComposeFrame(const NvdecCommon::NvdecRegisters& state); /// Returns true if the most recent frame was a hidden frame. [[nodiscard]] bool WasFrameHidden() const { return !current_frame_info.show_frame; } + /// Returns a const reference to the composed frame data. [[nodiscard]] const std::vector<u8>& GetFrameBytes() const { return frame; } |