From b4216ccb63a2632a72745ea73479519d84dfbf63 Mon Sep 17 00:00:00 2001 From: jeffqjiangNew <142832361+jeffqjiangNew@users.noreply.github.com> Date: Tue, 28 Nov 2023 14:03:13 -0500 Subject: [PATCH] * rocDecode/HEVC: Fixed a method name typo. (#92) [ROCm/rocdecode commit: 27d28dd5f4e826aa80fc32075922fb515b12d8bc] --- projects/rocdecode/src/parser/hevc_parser.cpp | 4 ++-- projects/rocdecode/src/parser/hevc_parser.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/rocdecode/src/parser/hevc_parser.cpp b/projects/rocdecode/src/parser/hevc_parser.cpp index e0823c6d56..cf6714a54e 100644 --- a/projects/rocdecode/src/parser/hevc_parser.cpp +++ b/projects/rocdecode/src/parser/hevc_parser.cpp @@ -641,7 +641,7 @@ bool HEVCVideoParser::ParseFrameData(const uint8_t* p_stream, uint32_t frame_dat CalculateCurrPOC(); // Decode RPS. 8.3.2. - DeocdeRps(); + DecodeRps(); // Construct ref lists. 8.3.4. if(m_sh_->slice_type != HEVC_SLICE_TYPE_I) { @@ -1953,7 +1953,7 @@ void HEVCVideoParser::CalculateCurrPOC() { } } -void HEVCVideoParser::DeocdeRps() { +void HEVCVideoParser::DecodeRps() { int i, j, k; int curr_delta_proc_msb_present_flag[HEVC_MAX_NUM_REF_PICS] = {0}; // CurrDeltaPocMsbPresentFlag int foll_delta_poc_msb_present_flag[HEVC_MAX_NUM_REF_PICS] = {0}; // FollDeltaPocMsbPresentFlag diff --git a/projects/rocdecode/src/parser/hevc_parser.h b/projects/rocdecode/src/parser/hevc_parser.h index 549800d18e..6e6f2ab7ce 100644 --- a/projects/rocdecode/src/parser/hevc_parser.h +++ b/projects/rocdecode/src/parser/hevc_parser.h @@ -863,7 +863,7 @@ protected: /*! \brief Function to perform decoding process for reference picture set (8.3.2) */ - void DeocdeRps(); + void DecodeRps(); /*! \brief Function to perform decoding process for reference picture lists construction (8.3.4) */