diff options
| author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-11-12 19:52:51 -0500 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-11-12 23:52:19 -0500 |
| commit | bf504f15f64785f3fa2fdf87971a7165808b22c5 (patch) | |
| tree | c2ecd768c64bf84ef63c11b5d13715e98a9056af /src/video_core/command_classes/codecs/h264.cpp | |
| parent | b9e4bd0944bde0d4e2e28770f2fd599d79e72665 (diff) | |
codes: Rename ComposeFrameHeader to ComposeFrame
These functions were composing the entire frame, not just the headers. Rename to more accurately describe them.
Diffstat (limited to 'src/video_core/command_classes/codecs/h264.cpp')
| -rw-r--r-- | src/video_core/command_classes/codecs/h264.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/command_classes/codecs/h264.cpp b/src/video_core/command_classes/codecs/h264.cpp index 5519c47054..84f1fa9388 100644 --- a/src/video_core/command_classes/codecs/h264.cpp +++ b/src/video_core/command_classes/codecs/h264.cpp @@ -45,8 +45,8 @@ H264::H264(GPU& gpu_) : gpu(gpu_) {} H264::~H264() = default; -const std::vector<u8>& H264::ComposeFrameHeader(const NvdecCommon::NvdecRegisters& state, - bool is_first_frame) { +const std::vector<u8>& H264::ComposeFrame(const NvdecCommon::NvdecRegisters& state, + bool is_first_frame) { H264DecoderContext context; gpu.MemoryManager().ReadBlock(state.picture_info_offset, &context, sizeof(H264DecoderContext)); |
