AVC: Added two decode error handlings. (#280)
* * rocDecode/AVC: Added two decode error handlings.
- Exit with error when the stream is coded field pictures.
- Exit with error when the stream has multiple slice groups. VCN HW does not support it.
* * rocDecode/AVC: Added a missing error return from the last commit.
---------
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
[ROCm/rocdecode commit: 5c18444bcc]
This commit is contained in:
@@ -172,9 +172,9 @@ protected:
|
||||
/*! \brief Function to parse Picture Parameter Set
|
||||
* \param [in] p_stream A pointer of <tt>uint8_t</tt> for the input stream to be parsed
|
||||
* \param [in] size Size of the input stream
|
||||
* \return No return value
|
||||
* \return <tt>ParserResult</tt>
|
||||
*/
|
||||
void ParsePps(uint8_t *p_stream, size_t stream_size_in_byte);
|
||||
ParserResult ParsePps(uint8_t *p_stream, size_t stream_size_in_byte);
|
||||
|
||||
/*! \brief Function to parse slice header
|
||||
* \param p_stream The pointer to the input bit stream
|
||||
|
||||
Reference in New Issue
Block a user