Add new API rocDecParserMarkFrameForReuse() for Parser (#430)
* added new API to release video frame for decoder and parser * removed ReleseFrame() from low level parser classes * Removed rocDecReleaseFrame() from decoder and added in parser * address review comments * revert un-necessary files * minor fix * remove unused function * minor formatting fix
This commit is contained in:
1 parent
64078a58cb
commit
29bfe5e3bd
8 files changed
+52
-4
No files matched your search
@@ -275,6 +275,13 @@ extern rocDecStatus ROCDECAPI rocDecCreateVideoParser(RocdecVideoParser *parser_
|
||||
/************************************************************************************************/
|
||||
extern rocDecStatus ROCDECAPI rocDecParseVideoData(RocdecVideoParser parser_handle, RocdecSourceDataPacket *packet);
|
||||
|
||||
/************************************************************************************************/
|
||||
//! \ingroup group_rocparser
|
||||
//! \fn rocDecStatus ROCDECAPI rocDecParserMarkFrameForReuse(RocdecVideoParser parser_handle, int pic_idx)
|
||||
//! Mark frame with index pic_idx in parser's buffer pool for reuse (means the frame has been consumed)
|
||||
/************************************************************************************************/
|
||||
extern rocDecStatus ROCDECAPI rocDecParserMarkFrameForReuse(RocdecVideoParser parser_handle, int pic_idx);
|
||||
|
||||
/************************************************************************************************/
|
||||
//! \ingroup group_rocparser
|
||||
//! \fn rocDecStatus ROCDECAPI rocDecDestroyVideoParser(RocdecVideoParser parser_handle)
|
||||
|
||||
Reference in new issue
Block a user