61c8661b9c
* * rocDecode: Initial check in for decode buffer pool. * * rocDecode: All 135 streams pass. * * rocDecode: Fixed a build error in debug mode. * * rocDecode/HEVC: Removed two workaround in HEVC DPB management, after decode buffer pool implementa tion. - WR 1: Conditional bumping (when max_num_reorder_pics > 0) to avoid synchronous job submission in C.5.2.3. - WR 2: Add two more buffers in DPB to avoid buffer over-writing. * * rocDecode/HEVC: Added display delay feature. * * rocDecode/HEVC: Fixed the -z option issue within the context of the new decode buffer pool implementation. * * rocDecode/HEVC: Removed redundent code. * * rocDecode/AVC: Added decode buffer pool implementation for AVC. * * rocDecode: Added a few changes. - Added display delay feature to AVC. - Removed a workaround for AVC: AVC_MAX_DPB_FRAMES was increased to 18. Now it is back to 16. - Removed a workaround for AVC: increased DPB buffer size by 2. Now it is back to normal. - Code format changes for HEVC. * * rocDecode/AVC: Fixed the -z option issue within the context of the new decode buffer pool implementation. * * rocDecode: Merged OutputDecodedPictures() method to upper class RocVideoParser. * * rocDecode: Code cleanup. No functional changes. * * rocDecode: Made decode buffer pool size adaptive. - Removed the hard coded decode buffer pool size set in the decoder. - Exposed the display delay parameter from RocVideoDecoder class to the user. - Now the decoder buffer pool size is determined from the DPB buffer size and display delay parameter. * * rocDecode: Several changes based on code review. - Merged decode and display use status into one parameter. - Removed the surface index from DecodeFrameBuffer, which is now implicitly referred by the array index. - Changed a function name for better clarity. * * rocDecode: Added a comment.