AVC: Added DPB management, decoded picture output and display callback. (#244)

* * rocDecode/AVC: Added display callback implementation.

* *rocDecode/AVC: Fixed a few issues with decoded buffer output and bumping from DPB.

* * rocDecode: Name changes based on code review.

---------

Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>

[ROCm/rocdecode commit: ca3333f7b9]
This commit is contained in:
jeffqjiangNew
2024-02-14 18:06:43 -05:00
committed by GitHub
parent 19697e79a8
commit 11450f86ef
4 changed files with 244 additions and 39 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ protected:
typedef struct
{
uint32_t dpb_size; // DPB buffer size in number of frames
uint32_t num_needed_for_output; // number of pictures in DPB that need to be output
uint32_t num_pics_needed_for_output; // number of pictures in DPB that need to be output
uint32_t dpb_fullness; // number of pictures in DPB
HevcPicInfo frame_buffer_list[HEVC_MAX_DPB_FRAMES];