- We should always clear the number of short term and long term references in DPB buffer structure when IDR occurs.
[ROCm/rocdecode commit: 7cf22e5920]
* bug fix for new dec creation
* move bit depth change after creating new dec
* codec update for every new dec
* bug fix for new dec creation
* move bit depth change after creating new dec
* codec update for every new dec
* fixes sync issue on MI250X for batch sample
* remove unused variable
[ROCm/rocdecode commit: e4316f009c]
* * rocDecode: Fixed several issues with cropping.
- Fixed the pixel start offset error on streams with non-zero top/left cropping in MD5 calculation.
- Fixed the pixel start offset error on streams with non-zero top/left cropping, and/or with user specified cropping in YUV frame output.
- Sorted out code which deals with cropping area specifiied by the bitstream, and cropping area specified by the user.
* * rocDecode: Additional changes after discussion.
- Set display rect for decoder create/reconfig to displayable area or user specified ROI area.
- Do not set target rect for decoder create/reconfig. Leave it for future use.
- Unified naming of display rect in decoder create/reconfig structs.
* * rocDecode: Put back the extra rounding to target width/height specifiied by the coded stream, for peace of mind, based on code review.
* * rocDecode: Added the missing stream specified cropping offset to the starting pixel pointer for none-internal memory modes.
---------
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
[ROCm/rocdecode commit: e4614de461]
* adding new sample for decoding mulitple files on multiple threads
* threads work ; no decoding yet
* working version
* code clean up
* review comments
* removing spaces
* review comments
* fps cal + name changes for files
* code clean up
* update readme
* update readme
* remove spaces
* change to lambda functions
* changes for using reconfig
* adding dumping of yuv frames + review comments
* review comments
* remove extra lines/spaces
* adding struct for decoder info
* make separate decoders for 8 & 10bit
* code clean up
* addign reset for Saving frames
* review comments
* fixes dump issue for new file
* cmake update for threads
* support for avc
* name change for sample
* cmake soource name change
* readme update
* fixing typo in readme
* update REAME
* update readme
---------
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
[ROCm/rocdecode commit: 264e847c5a]
* * 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]
* adding new sample for decoding mulitple files on multiple threads
* threads work ; no decoding yet
* working version
* code clean up
* review comments
* removing spaces
* review comments
* fps cal + name changes for files
* code clean up
* update readme
* update readme
* remove spaces
* change to lambda functions
* changes for using reconfig
* adding dumping of yuv frames + review comments
* review comments
* remove extra lines/spaces
* adding struct for decoder info
* make separate decoders for 8 & 10bit
* code clean up
* addign reset for Saving frames
* review comments
* fixes dump issue for new file
* cmake update for threads
* support for avc
* name change for sample
* cmake soource name change
* readme update
* fixing typo in readme
---------
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
[ROCm/rocdecode commit: ce3ebadaab]
* Add support to demuxer to get additional info from the stream
* Add support to get frame rate
* avoid a potential division by zero
[ROCm/rocdecode commit: 983571c58f]
- At the end of some streams, the demuxer sends a picture payload of NAL units that do not contain slice data. In such cases, we return gracefully without causing a decoder error.
[ROCm/rocdecode commit: 244eb517ab]
* * rocDecode/AVC: Added adaptive memory control decoded reference picture marking process. Other changes include:
- Replaced part of reference list modification implementation with a cleaner and more correct logic. It was found that the steps suggested
in the spec resulted errors on some streams.
- Fixed an issue in reference picture list construction. We still need to do picture number calculation (8.2.4.1) for I pictures.
- Fixed a bug in VAAPI slice parameter setup for ref list 1 for B pictures.
* * rocDecode/AVC: Fixed the scaling list setup for VAAPI.
- Put the scaling list in zig-zag scan order.
* * rocDecode/AVC: Added adaptive memory control decoded reference picture marking process. Other changes include:
- Replaced part of reference list modification implementation with a cleaner and more correct logic. It was found that the steps suggested
in the spec resulted errors on some streams.
- Fixed an issue in reference picture list construction. We still need to do picture number calculation (8.2.4.1) for I pictures.
- Fixed a bug in VAAPI slice parameter setup for ref list 1 for B pictures.
* * rocDecode/AVC: Fixed the scaling list setup for VAAPI.
- Put the scaling list in zig-zag scan order.
* * rocDecode/AVC: Replaced Todo comments with error messages, based on code review.
[ROCm/rocdecode commit: f9c226ca84]
* * 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]
* Update the VideoDEcodePipeline image
* update the file extension
* update the image to add connection between parser and decoder
[ROCm/rocdecode commit: d96afc62e8]
* Fix a segmentation fault on some samples when the memory type is 3 (OUT_SURFACE_MEM_NOT_MAPPED) and attempting to save the output (which is not supported)
* update the videoDecodeMultiFiles sample
* update the readme for videoDecodeMultiFiles
* add comments
* use OUT_SURFACE_MEM_NOT_MAPPED instead of integer number 3
[ROCm/rocdecode commit: 31c7c7c104]