diff options
| author | 2022-06-16 02:12:21 +0200 | |
|---|---|---|
| committer | 2022-10-06 21:00:53 +0200 | |
| commit | fe24c65153349d3a759a2eef02ec703851a96847 (patch) | |
| tree | 68148597dbb554d427ce43a660c88c28fc9545bb /src/video_core/host1x/codecs | |
| parent | Common: Fix variable shadowing. (diff) | |
| download | yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.gz yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.xz yuzu-fe24c65153349d3a759a2eef02ec703851a96847.zip | |
General: Fix clang format.
Diffstat (limited to 'src/video_core/host1x/codecs')
| -rw-r--r-- | src/video_core/host1x/codecs/vp9.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/host1x/codecs/vp9.cpp b/src/video_core/host1x/codecs/vp9.cpp index 667aadc6a..cf40c9012 100644 --- a/src/video_core/host1x/codecs/vp9.cpp +++ b/src/video_core/host1x/codecs/vp9.cpp | |||
| @@ -382,8 +382,9 @@ Vp9FrameContainer VP9::GetCurrentFrame(const Host1x::NvdecCommon::NvdecRegisters | |||
| 382 | // gpu.SyncGuestHost(); epic, why? | 382 | // gpu.SyncGuestHost(); epic, why? |
| 383 | current_frame.info = GetVp9PictureInfo(state); | 383 | current_frame.info = GetVp9PictureInfo(state); |
| 384 | current_frame.bit_stream.resize(current_frame.info.bitstream_size); | 384 | current_frame.bit_stream.resize(current_frame.info.bitstream_size); |
| 385 | host1x.MemoryManager().ReadBlock(state.frame_bitstream_offset, current_frame.bit_stream.data(), | 385 | host1x.MemoryManager().ReadBlock(state.frame_bitstream_offset, |
| 386 | current_frame.info.bitstream_size); | 386 | current_frame.bit_stream.data(), |
| 387 | current_frame.info.bitstream_size); | ||
| 387 | } | 388 | } |
| 388 | if (!next_frame.bit_stream.empty()) { | 389 | if (!next_frame.bit_stream.empty()) { |
| 389 | Vp9FrameContainer temp{ | 390 | Vp9FrameContainer temp{ |