diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-11-12 23:14:02 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-11-13 05:52:18 +0100 |
commit | d35391b9f43c5099b000940a83e795827cea35b8 (patch) | |
tree | 046b1ee7b8ea4b3f6b3e3d2194d9ea948bd835bd /src/video_core/command_classes/nvdec_common.h | |
parent | codecs: Add VP8 codec class (diff) | |
download | yuzu-d35391b9f43c5099b000940a83e795827cea35b8.tar yuzu-d35391b9f43c5099b000940a83e795827cea35b8.tar.gz yuzu-d35391b9f43c5099b000940a83e795827cea35b8.tar.bz2 yuzu-d35391b9f43c5099b000940a83e795827cea35b8.tar.lz yuzu-d35391b9f43c5099b000940a83e795827cea35b8.tar.xz yuzu-d35391b9f43c5099b000940a83e795827cea35b8.tar.zst yuzu-d35391b9f43c5099b000940a83e795827cea35b8.zip |
Diffstat (limited to 'src/video_core/command_classes/nvdec_common.h')
-rw-r--r-- | src/video_core/command_classes/nvdec_common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/command_classes/nvdec_common.h b/src/video_core/command_classes/nvdec_common.h index 26c974b00..8a35c44a1 100644 --- a/src/video_core/command_classes/nvdec_common.h +++ b/src/video_core/command_classes/nvdec_common.h @@ -50,7 +50,10 @@ struct NvdecRegisters { u64 h264_last_surface_chroma_offset; ///< 0x0858 std::array<u64, 17> surface_luma_offset; ///< 0x0860 std::array<u64, 17> surface_chroma_offset; ///< 0x08E8 - INSERT_PADDING_WORDS_NOINIT(132); ///< 0x0970 + INSERT_PADDING_WORDS_NOINIT(68); ///< 0x0970 + u64 vp8_prob_data_offset; ///< 0x0A80 + u64 vp8_header_partition_buf_offset; ///< 0x0A88 + INSERT_PADDING_WORDS_NOINIT(60); ///< 0x0A90 u64 vp9_entropy_probs_offset; ///< 0x0B80 u64 vp9_backward_updates_offset; ///< 0x0B88 u64 vp9_last_frame_segmap_offset; ///< 0x0B90 @@ -81,6 +84,8 @@ ASSERT_REG_POSITION(h264_last_surface_luma_offset, 0x10A); ASSERT_REG_POSITION(h264_last_surface_chroma_offset, 0x10B); ASSERT_REG_POSITION(surface_luma_offset, 0x10C); ASSERT_REG_POSITION(surface_chroma_offset, 0x11D); +ASSERT_REG_POSITION(vp8_prob_data_offset, 0x150); +ASSERT_REG_POSITION(vp8_header_partition_buf_offset, 0x151); ASSERT_REG_POSITION(vp9_entropy_probs_offset, 0x170); ASSERT_REG_POSITION(vp9_backward_updates_offset, 0x171); ASSERT_REG_POSITION(vp9_last_frame_segmap_offset, 0x172); |