156 Commity

Autor SHA1 Zpráva Datum
Aryan Salmanpour 352a433781 Update Copyright year (#694)
[ROCm/rocdecode commit: b0bab07940]
2026-01-26 15:37:50 -08:00
Aryan Salmanpour 8bcde11500 Samples - clean up rocdecdecode (#693)
[ROCm/rocdecode commit: ad21e8f98f]
2026-01-23 15:06:06 -08:00
Jeff Jiang 0fd9c0586b rocdecdecode sample: Fixed the crash issue on AVC streams. (#688)
* * rocDecode/rocdecdecode sample: Fixed the crash issue on AVC streams.
 - We need to set bit depth to 8 when creating the initial decoder. This allows all codec types to be accommodated. Other bit depths can be supported in decoder reconfig later.

* * rocDecode/rocdecdecode sample: Changed program stop from harsh abort to graceful exit, when critial error occurs.

* * rocDecode/rocdecdecode sample: Minor change based on review comment.

[ROCm/rocdecode commit: 4cf1a48d82]
2026-01-08 15:27:46 -05:00
Aryan Salmanpour 8b6cfde1dd Sample & Test - Add rocdecDecode to the ctest and decouple the rocdecode-host from it (#685)
* Add rocdecDecode to the ctest and decouple the rocdecode-host from it

* clean up

[ROCm/rocdecode commit: 158f7fd2ba]
2025-12-12 11:57:39 -08:00
Aryan Salmanpour 91be23b3d0 TheRock compatibility - Devicelib Support (#684)
* TheRock compatibility - Devicelib Support

* clean up

[ROCm/rocdecode commit: 5784f8cffe]
2025-12-10 14:51:43 -08:00
Aryan Salmanpour a4f40f4b57 TheRock compatibility - support (#681)
* Add support for TheRock compatibility

* Update the version

* code clean up

* clean up

[ROCm/rocdecode commit: e2789088ee]
2025-12-08 14:02:55 -08:00
Kiriti Gowda 09c8afe519 Host decouple - samples and test (#677)
* Host decouple - samples and test

* Host - install utils with dev

* Host - Install host files in core temp

[ROCm/rocdecode commit: 0a4fadb24d]
2025-12-04 16:04:47 -08:00
Aryan Salmanpour d4898975b3 Update optional GPU targets (#675)
[ROCm/rocdecode commit: 014e0d3e65]
2025-11-25 10:15:59 -08:00
Kiriti Gowda 577d1e842d Tests and samples - Bugfix (#673)
* Tests and samples - bugfixes

* CMakeLists - add CMAKE_MODULE_PATH

* Fix header - Host

* Host - decouple

* Host Utils - Reset

* Test - enable advanced test with host lib

[ROCm/rocdecode commit: a1b9583353]
2025-11-18 22:06:46 -08:00
Jeff Jiang 8b86f61514 * rocDecode: Added several fixes to samples. (#668)
- Fixed the build error with videodecodepicfiles sample.
 - Added error handling of sample app command option combination of memory type OUT_SURFACE_MEM_NOT_MAPPED and MD5 generation.

[ROCm/rocdecode commit: c388518965]
2025-11-04 21:12:56 -05:00
Kiriti Gowda 954f7369ce Compiler - Location update (#664)
[ROCm/rocdecode commit: 4d090e8aa0]
2025-10-07 15:05:46 -07:00
Kiriti Gowda 4635af8cb0 Find package - rocdecode-host (#650)
* Find package - rocdecode-host

* Cleanup

---------

Co-authored-by: Kiriti <kiriti@santiago.amd.com>

[ROCm/rocdecode commit: 48171900a3]
2025-09-15 12:10:04 -07:00
Kiriti Gowda e46fce4acb rocdecode host - Fix build and install (#641)
* rocdecode host - Fix build and install

* CMakeLists - fix

* Chnagelog -updates

* Update CHANGELOG.md

[ROCm/rocdecode commit: b4ec9ca411]
2025-09-02 10:11:45 -07:00
Rajy Rawther 74ea277fdf Updated videoDecodePerf Sample with host backend (#635)
* set min: number of decoded surfaces to non-zero value for ffmpeg based decoding

* added host decoding option to videodecode perf app

* fix GetOutputSurfaceInfo() for FFMpeg

* updated chagelog

* added host decoding option to videodecode perf app

* fix GetOutputSurfaceInfo() for FFMpeg

* updated chagelog

* removed GPU device info printing for HOST backend

* fix for review comment

[ROCm/rocdecode commit: eeecc3e8c8]
2025-08-28 09:02:13 -07:00
Jeff Jiang e6450e6729 * rocDecode: Fixed a regression that resulted in CI test failures. (#633)
- Need to check output surface info for every decode call to catch video size change or decode errors.

[ROCm/rocdecode commit: 5ffe20cdd7]
2025-08-15 12:50:13 -04:00
Rajy Rawther 827511a6b5 ffmpeg decode utility class cleanup (#616)
* cleaned up ffmpeg decode utility class to use rocdecode host lib

* added changelog for the PR

* address review comments for FFMPEG dependancy in cmake

* Update CHANGELOG.md

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

* addressed review comments

* update version in Cmake

---------

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

[ROCm/rocdecode commit: 3b280ac7c3]
2025-07-28 09:59:47 -04:00
jeffqjiangNew 76248fa94a Fixed the MD5 calculation error on some streams when both decoded output dumping and MD5 generation are on. (#607)
* * Fixed the MD5 calculation error on some streams when both decoded output dumping and MD5 generation are on.
 - The issue is with the final flushing of the remaining frames at the end of stream, where MD5 update is skipped when output dumping is on.

* * Minor format changes.

---------

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>

[ROCm/rocdecode commit: aad9c248bd]
2025-06-30 10:24:05 -04:00
Kiriti Gowda 208f918c88 Find rocdecode - Updates for ROCm 7.0 (#610)
* rocDecode - Version 1.0.0

* Find package - config updates

* CMakeLists - Updates and config fix

* CMakelists - updates

* Samples - link to rocdecode_LIBRARY rocdecode::rocdecode

---------

Co-authored-by: Kiriti <kiriti@santiago.amd.com>

[ROCm/rocdecode commit: 23c17cc150]
2025-06-24 17:39:49 -04:00
Aryan Salmanpour a480fb183b Utils - Remove the call to rocDecGetDecodeStatus after rocDecGetVideoFrame (#600)
* Utils - Remove the call to rocDecGetDecodeStatus after rocDecGetVideoFrame

* Remove other occurrences of rocDecGetDecodeStatus that are not necessary

* Update the description of the rocDecGetDecodeStatus and rocDecGetVideoFrame APIs

* Add missing including thread in avcodec_videodecoder.h for fixing the Azure build issue

[ROCm/rocdecode commit: bf4922060d]
2025-06-11 11:44:20 -04:00
Rajy Rawther 40e072f394 FFMpeg decoder rocdecode integration (#583)
* initial commit

* initial implementation for host based decoder

* minor change

* cmake changes and added new sample

* rocdecDecode sample implementation

* rocdecode sample changes working

* working version of avcodec decoder and sample

* Add end of stream handling for repeated decoding with reconfigure

* reorg files and added changelog

* update readme

* revert file

* remove unused class members

* addressed reviw comment for changelog

* fix sample to work on more video files

* resolved review comments

* bumped version to 0.14.0

* fixed build warnings

* addressed review comments

* addressed review comments

* addressed review comments

* fixed readme to match .cpp file options for parameters

* updated review comments, readme, and added test data for the sample

* fixed bug for saving frame for 10 bit videos

* addressed review comments

* addressed all the new review comments

[ROCm/rocdecode commit: 3ddb12f075]
2025-06-07 13:12:57 -04:00
Lakshmi Kumar e052a74454 update readme (#595)
[ROCm/rocdecode commit: 94356320b1]
2025-06-02 09:54:18 -04:00
Aryan Salmanpour 1c8f422c7c VideoDecodeRGB sample - Fix CMake configuration warning (#586)
[ROCm/rocdecode commit: fedcf37b2f]
2025-05-13 16:09:19 -04:00
Aryan Salmanpour d64d6326f8 VideoDecodePerf sample: use a display delay of 1 by default (#578)
[ROCm/rocdecode commit: cf85e6c46c]
2025-05-01 16:03:38 -04:00
Kiriti Gowda 8c8601e1fd CMakeLists - Set Std updates & Jenkins CodeCov (#546)
* CMakeLists - Set Std updates

* Jenkins - Code coverage

* Jenkins - Fix and cleanup

* Jenkins - Fix

* Jenkins - Fix

* Jenkins - Fix

* Jenkins - Fix

* Use amdclang compiler

* Remove slash in front of quote

* Jenkins - Fix

* Jenkins - Fix location

* Jenkins - Fix perf export

* Jenkins - .so fix

* Jenkins - lcov

* Install fix

* Use repo token for codecov

* Pass in sha to codecov

* Use clang19 for ubu24

* Use default clang

* CMakeLists - Set Std updates

* Jenkins - Code coverage

* Jenkins - Fix and cleanup

* Jenkins - Fix

* Jenkins - Fix

* Jenkins - Fix

* Jenkins - Fix

* Use amdclang compiler

* Remove slash in front of quote

* Jenkins - Fix

* Jenkins - Fix location

* Jenkins - Fix perf export

* Jenkins - .so fix

* Jenkins - lcov

* Install fix

* Use repo token for codecov

* Pass in sha to codecov

* Use clang19 for ubu24

* Use default clang

* Set proxy for codecov uploader

Needed for gfx90a

---------

Co-authored-by: Sam Wu <22262939+samjwu@users.noreply.github.com>

[ROCm/rocdecode commit: 5eab03d198]
2025-03-31 21:31:23 -07:00
jeffqjiangNew cd31658919 Picture file sample: Bug fix. (#533)
* * rocDecode/Picture file sample: Fixed a bug that can result in incorrect output frame count when reconfiguration occurs and with more than one iterations.

* * rocDecode: Updated change log.

[ROCm/rocdecode commit: 34cdd7f709]
2025-03-18 15:17:52 -04:00
Kiriti Gowda 26a67fb210 CMake config - updates and fixes (#532)
* CMake Config - updates and fixes

* Version - Updates

* Changelog - updates

* Update CHANGELOG.md

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

---------

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

[ROCm/rocdecode commit: 6b026af151]
2025-03-17 12:38:01 -04:00
Aryan Salmanpour bdad2ca18e [Samples] - fix the issue of out-of-order processing in the videoDecodeRGB sample (#518)
* [Samples] - fix the issue of out-of-order processing in the videoDecodeRGB sample

* Add a comment

* Add hipStreamSyncronize

[ROCm/rocdecode commit: 9e0600a2d0]
2025-02-27 08:25:01 -05:00
Lakshmi Kumar ca9451d891 Check ROCm targets (#513)
* rocm version check for targets

* check rocm targets for gfx

[ROCm/rocdecode commit: ad0bec2f14]
2025-02-25 14:52:17 -05:00
Lakshmi Kumar 5724fb0b1c Bug fix - videoToSequence sample (#514)
* rocm version check for targets

* fix sample

* cmake merge with develop

* address reciew comments

* comment update

[ROCm/rocdecode commit: e9f9aa9f58]
2025-02-19 17:19:49 -05:00
jeffqjiangNew 4ac1b8dd67 Optimization: Reduced decode session start latency for certain output surface memory types. (#512)
* *rocDecode/Optimization: Reduced decode session start latency for certain output surface memory types.

* * rocDecode/Optimization: Video decode RGB sample creates itsown HIP
  stream.

* * rocDecode/Optimization: Created separate HIP stream in each thread in
  video decode RGB sample.

* * rocDecode/Optimization: Addressed the lower FPS report in RGB sample:
  move HIP stream creation out of FPS calculation scope.

* * rocDecode/Optimize: Removed comments.

[ROCm/rocdecode commit: 1f53dedd4a]
2025-02-18 13:09:16 -05:00
Rajy Rawther 3b6a4d3293 rename some macros so it doesn't clash with others (#510)
* rename macros so not to clash with others

* modified macro in all samples

[ROCm/rocdecode commit: c4fe8f5258]
2025-02-18 08:40:58 -05:00
Lakshmi Kumar 348b73425b gfx update (#505)
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>

[ROCm/rocdecode commit: 5e806d5465]
2025-02-11 09:07:34 -05:00
jeffqjiangNew 6a57493c23 Sample: Added a new sample app: videodecodepicfiles. (#498)
* * rocDecode/sample: Added a new sample app, videodecodepicfiles, which reads individual picture data from a group of files with each file containing bitstream of a coded picture.

* * rocDecode/Pic files sample: Minor change in title.

* * rocDecode/Pic files sample: Minor changes in comments.

* * rocDecode/Pic files sample: Removed the commented code.

* * rocDecode/Pic files sample: Changes in change log based on review comments.

---------

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

[ROCm/rocdecode commit: 3b7e566095]
2025-02-04 12:57:01 -05:00
Aryan Salmanpour 624aa94c37 Fix a seg fault for videoDecodeRGB app in multi-GPU systems (#494)
[ROCm/rocdecode commit: 99fa534eb9]
2025-01-21 17:07:40 -05:00
Aryan Salmanpour e1eb7ba766 Update samples (#491)
[ROCm/rocdecode commit: 760f7f7200]
2025-01-13 14:31:46 -05:00
Aryan Salmanpour c597fb2a4c Update Copyright year to 2025 (#486)
* Update Copyright year to 2025

* update year to 2025

[ROCm/rocdecode commit: 3624040ce7]
2025-01-05 16:25:39 -05:00
Kiriti Gowda 9b64f18bc0 CMakeLists - Updates and cleanup (#483)
* CMakeLists - Updates and cleanup

* CTest - CXX Compiler Updates

* Package - Remove FFMPEG exe deps

* CMakeLists - Updates and cleanup

* CTest - CXX Compiler Updates

* Package - Remove FFMPEG exe deps

* FFMPEG - Updates

[ROCm/rocdecode commit: 913b6728f0]
2025-01-02 09:42:31 -05:00
jeffqjiangNew 0cb331b369 CTest updates. (#473)
* * rocDecode: Core test updates.
 - Added VP9 test.
 - Added tests for video decode raw sample.
 - Changed test video streams to raw elementary or IVF formats.

* * rocDecode/CTest: Added back mp4 files.

* * rocDecode/CTest: Minor changes based on review comments.

* * rocDecode/CTest: Added stream file installation.

* * rocDecode/CTest: Changed the file back to mp4.

* Add support for VP9 handling in the videoDecodeBatch sample

* add linking with threads for videodecode app

---------

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>

[ROCm/rocdecode commit: 597b29a7c9]
2024-12-06 14:46:30 -05:00
Aryan Salmanpour 932141e2fb Fix a CMakeLists bug for videoDecodeRaw test (#470)
[ROCm/rocdecode commit: 679d2fd1f2]
2024-12-05 10:56:52 -05:00
jeffqjiangNew c8a16141e4 Added the bit stream reader feature. (#433)
* * rocDecode/ES parser: Added elementary stream file parser for HEVC and AVC.

* * rocDecode/ES parser: Added elementary stream file parser for AV1. Also cleaned up the bitstream ring buffer code.

* * rocDecode/ES parser: Added the IVF container file parser for AV1. Also fixed a bug in fill ring buffer function.

* * rocDecode/ES file parder: Added supported stream type detection.
 - The stream type detection checks the unique syntax patterns of the stream type and calculate the likeliheed score. Based on the score, the most likely type is determined.
 - The current supported stream types are: AVC/HEVC/AV1 elementary streams, IVF AV1 streams.

* * rocDecode/ES file parser: Fixed an AVC decode regression due to a copy and paste error.

* * rocDecode/ES file parser: Added bit depth parsing for codec support check; Added stronger AV1 detection for IVF AV1 stream type.

* * rocDecode/ES file parser: Removed debugging logs.

* * rocDecode/ES file parser: Added exmaple code to use the built-in file parser.

* * rocDecode/Bitstream reader: Renamed the elementary parser feature to bitstream reader and re-organized the code.
 - Moved the bitstream reader code to rocDecode core lib from utility.
 - Added bitstream reader interface in parallel with rocDecode parser and decoder interfaces.

* * rocDecode/Bitstream reader: Added sample to use bitstream reader, instead of FFMPEG demuxer, to get picture data. Also reverted the original sample app back to using FFMPEG demuxer only.

* * rocDecode/Bitstream reader: Renamed the new sample app.

* * rocDecode/Bitstream reader: FFMPEG dependency reduction.
 - Moved MD5 functions out of RocVideoDecoder utility class. This removed RocVideoDecoder's dependency on FFMPEG.
 - Added the new MD5 utility, which depends on FFMPEG lib. MD5 message digest generation is now performed in the MD5 utility.
 - Modified decode sampples that uses MD5 generation function.
 - Removed FFMPEG dependency from video decoder basic sample.

* * rocDecode/Bitstream reader: Added option to use bitstream reader to video decode sample and conformance test script. Added the missing destroy bitstream reader call in video decode basic sample.

* * rocDecode/Bitstream reader: Minor format change. No functional changes.

* * rocDecode/Bitstream reader: Added handling of unsupported stream file type by the bitstream reader to decode sample apps.

* * rocDecode/Bitstream reader: Fixed build errors of several samples.

* * rocDecode/Bitstream reader: Added changes based on review comments.

* * rocDecode/Bitstream reader: File name changes based on review comments.

* * rocDecode/Bitstream reader: Moved MD5 code into single header file. Added changes based on review comments.

* * rocDecode/Bitstream reader: Removed redundant path.

* * rocDecode/Bitstream reader: Changed rocDecode version to 0.10.0. Added minor changes based on review comments.

---------

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

[ROCm/rocdecode commit: e62aa3e09b]
2024-12-05 09:46:24 -05:00
Rajy Rawther fb82691ef2 ffmpeg software decoder implementation (#461)
* WIP: ffmpeg based software decoder

* minor update

* WIP: FFMpeg SW decoder support

* FFMpeg decoder working version

* working version without threading

* multithreading working with FFMpeg decoder

* moved ffmpeg decoder to separate folder

* updated changelog

* minor change

* resolved review comments

* resolved review comments

---------

Co-authored-by: Lakshmi Kumar <lakshmi.kumar@amd.com>

[ROCm/rocdecode commit: 52eb62fabf]
2024-12-04 14:11:02 -05:00
Kiriti Gowda a7fd0610e3 Samples & Test - Compiler Updates (#468)
* Compiler - set CXX Compiler if not set

* CXX Compiler - Set CXX compiler in CTest

* Test - Ctest cleanup

* Samples - Update CXX Compiler option

[ROCm/rocdecode commit: 924d19eb65]
2024-12-03 16:03:26 -05:00
Kiriti Gowda d9091f0cc2 Revert "Compiler - set CXX Compiler if not set (#466)" (#467)
This reverts commit 2eb3bd30ef.

[ROCm/rocdecode commit: 4f10c3893b]
2024-12-02 13:47:49 -08:00
Kiriti Gowda 2eb3bd30ef Compiler - set CXX Compiler if not set (#466)
[ROCm/rocdecode commit: 7a6073103a]
2024-12-02 13:02:09 -08:00
Lakshmi Kumar 2a0fde6173 bug fix for batch sample (#456)
[ROCm/rocdecode commit: 3da7e20b86]
2024-11-18 15:45:56 -05:00
Kiriti Gowda c8ff82a943 SLES - Updates (#454)
* SLES - Updates

* Updates

* Cleanup

* Update CHANGELOG.md

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

* CXX Compiler - Use AMD Clang++

* Docs - Updates

* ROCm Version - Upgraded to 6.3.0

* Readme - cleanup

* Readme - minor updates

* Readme - Fix note

---------

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

[ROCm/rocdecode commit: 6339767b4c]
2024-11-15 15:35:53 -05:00
Kiriti Gowda bd3b6208fa GPU Arch Updates (#448)
[ROCm/rocdecode commit: 69eb625d2d]
2024-11-06 20:37:07 -05:00
Lakshmi Kumar a511a33966 set disp_delay to 1 for all samples (#446)
[ROCm/rocdecode commit: cb7b2c7f2f]
2024-11-06 14:45:34 -05:00
Aryan Salmanpour c6635a9de5 VideoDecode samples - Set the default display_delay to 1 (#441)
[ROCm/rocdecode commit: 81e341b786]
2024-10-25 14:20:33 -04:00
Aryan Salmanpour 896998cc14 Revert "Allow overriding CMAKE_CXX_COMPILER (#436)" (#440)
This reverts commit 5b9907034e.

[ROCm/rocdecode commit: b2149abcef]
2024-10-24 13:28:50 -04:00