Added new sequence notification callback for AVC. (#184)

* * rocDecode/AVC: Added new sequence notification callback.

* * rocDecode/AVC: Removed the commented out code.

* * rocDecode/AVC: Changed function name to better describe the operation.

* * rocDecode/AVC: Minor formatting change.

[ROCm/rocdecode commit: a7bb9953c6]
This commit is contained in:
jeffqjiangNew
2024-01-17 14:24:58 -05:00
committed by GitHub
parent e723871cba
commit e416b5a192
2 changed files with 103 additions and 29 deletions
@@ -77,6 +77,12 @@ protected:
// DPB
DecodedPictureBuffer dpb_buffer_;
/*! \brief Function to notify decoder about video format change (new SPS) through callback
* \param [in] p_sps Pointer to the current active SPS
* \return <tt>ParserResult</tt>
*/
ParserResult NotifyNewSps(AvcSeqParameterSet *p_sps);
/*! \brief Function to parse one picture bit stream received from the demuxer.
* \param [in] p_stream A pointer of <tt>uint8_t</tt> for the input stream to be parsed
* \param [in] pic_data_size Size of the input stream