45 Commits

Auteur SHA1 Bericht Datum
Aryan Salmanpour 352a433781 Update Copyright year (#694)
[ROCm/rocdecode commit: b0bab07940]
2026-01-26 15:37:50 -08: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 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
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
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
Aryan Salmanpour a59927ed54 Fix a memory leak for rocDecodeNegativeTests (#643)
[ROCm/rocdecode commit: a5e4cd780e]
2025-09-04 12:03:08 -07:00
Lakshmi Kumar a766005bd9 add host backend under ctest (#637)
[ROCm/rocdecode commit: 2c77d572e8]
2025-08-28 10:49:15 -07: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
Rajy Rawther 72b5c717e1 added testcase for videodecode with resizing and colorconversion to rgb (#608)
* added testcase for videodecode with resizing and colorconversion to rgb

* Update test/CMakeLists.txt

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* removed texture scaling code as it doesn't work on MI3xx

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

[ROCm/rocdecode commit: 26f9ec23a6]
2025-06-24 13:51:59 -04:00
jeffqjiangNew 9eaa7ab4a6 * Performance script: Added frame rate to the performance result csv file. (#604)
[ROCm/rocdecode commit: 6f3f7964ba]
2025-06-17 14:27:21 -04:00
jeffqjiangNew 1a42a7238e * CI: Added AV1 stability test to CI. (#576)
[ROCm/rocdecode commit: 7e5a3f6939]
2025-04-28 21:25:12 -04:00
jeffqjiangNew 4776553f61 CI: Added AVC and HEVC decode stability tests to CI. (#572)
* * CI: Added AVC and HEVC decode stability tests to CI.

* * CI: Do not run HEVC stability tests on MI2xx or MI1xx.

[ROCm/rocdecode commit: 6aab0c1375]
2025-04-24 10:46:17 -04:00
jeffqjiangNew 357c33ac40 Revert "CTest: Added CTest for AV1 elementary stream decode on bitstream read…" (#569)
This reverts commit 5cdfca2a33.

[ROCm/rocdecode commit: 2dea69d26b]
2025-04-21 15:57:15 -04:00
Aryan Salmanpour 5cfc550419 code cleanup - fix a typo (#564)
[ROCm/rocdecode commit: d946ffd212]
2025-04-16 22:26:10 -04:00
jeffqjiangNew 5cdfca2a33 CTest: Added CTest for AV1 elementary stream decode on bitstream reader. (#561)
* * CTest: Added CTest for AV1 elementary stream decode on bitstream reader.

* * CTest: Added the missing stream file.

* * CTest: Fixed the batch sample CTest failure on RHEL8 system where AV1 elementary stream is not supported by the installed FFMPEG demuxer. Now we do not run batch test on elementary streams.

* * CTest: Added two missing path changes.

[ROCm/rocdecode commit: 5472059e16]
2025-04-16 21:20:16 -04:00
Aryan Salmanpour 2a86f75813 CTest: Add a test to perform negative testing on all rocDecode APIs (#562)
[ROCm/rocdecode commit: 1d8ab16c52]
2025-04-16 16:46:50 -04:00
jeffqjiangNew d9512d14df AVC error resilience: Treat reference list setup errors as non-critical. Also minor wording correction in sample script output. (#557)
* * AVC error resilience: Treat reference list setup errors as non-critical. Also minor wordking correction in sample script output.

* * AVC error resilience: Minor change.

---------

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

[ROCm/rocdecode commit: 193423300f]
2025-04-12 09:11:33 -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 1294a57b37 Script: Added the decode status check mode to the rocDecode samples script. (#544)
* * rocDecode/script: Added the decode status check mode to the rocDecode samples script.
 - In decode status check mode, we check if a stream can be decoded to the end without abortion due to errors. This mode is used for decoder error resilience test.

* * rocDecode/script: Fixed a typo.

[ROCm/rocdecode commit: bf8e715eec]
2025-03-31 10:59:10 -04:00
Aryan Salmanpour bde6adab91 Revert "modify conformance script to exit with -1 (#543)" (#545)
This reverts commit 0be4a0c032.

[ROCm/rocdecode commit: 9c41ddf29f]
2025-03-26 09:21:47 -04:00
Lakshmi Kumar 0be4a0c032 modify conformance script to exit with -1 (#543)
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>

[ROCm/rocdecode commit: 3d420391fd]
2025-03-26 08:24:55 -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
jeffqjiangNew 407d392c3f * rocDecode/CTest: Added CTest for VP9 decode on bitstream reader. (#523)
[ROCm/rocdecode commit: df11e95a71]
2025-03-03 10:47:40 -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
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
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 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 021e32bc21 Find rocDecode - Support added (#428)
* Find rocDecode - Support added

* Find rocDecode - Updates

* Find rocDecode - Version fix

* Find rocDecode - Version Var

* Minor cleanup

* Test - Find package updates

* CTest - Upgrades

* CTest - Enhancements

---------

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

[ROCm/rocdecode commit: befc6f6562]
2024-10-02 17:35:56 -04:00
jeffqjiangNew 2bad24f6f2 Simplified MD5 string compare code and fixed potential incorrect conversion of MD5 string to integers. (#414)
* * rocDecode: Fixed potential incorrect conversion of MD5 string to integers.

* * rocDecode: Changed a string name.

* * rocDecode: Simplified the MD5 string compare code.

* * rocDecode: Added minor changed based on review comments.

* * rocDecode: Minor changes.

* * rocDecode/Sample script: Added units to Bit rate field in csv output.

[ROCm/rocdecode commit: 14f4c6973a]
2024-09-16 15:27:10 -04:00
jeffqjiangNew 686998704a * rocDecode/Perf: Added resolution and bit rate info into csv output, to speed up performance data post-processing. (#412)
[ROCm/rocdecode commit: fbec8fd3f5]
2024-08-27 21:39:43 -04:00
jeffqjiangNew b02ad72146 * rocDecode/Sample script: Sorted the files to enable easy post-procssing of the performance data. (#411)
[ROCm/rocdecode commit: 1a6752fa10]
2024-08-22 10:04:58 -04:00
jeffqjiangNew 29cfd4a541 Added real decode speed report to set it apart from the current output speed report in sample apps (#409)
* * rocDecode: Added real decode speed report.
 - The current decode speed report is actually output/display speed report.
 - Due to AV1's extensive use of alternate reference frames that are not display, AV1 decoded frame count and output/displayed frame count can be quite different, making the current speed report not an accurate decode speed measurement.
 - We now added the actual decode speed report, besides the existing speed report, now called output/display FPS.

* * rocDecode: Added real decode speed report.
 - The current decode speed report is actually output/display speed report.
 - Due to AV1's extensive use of alternate reference frames that are not display, AV1 decoded frame count and output/displayed frame count can be quite different, making the current speed report not an accurate decode speed measurement.
 - We now added the actual decode speed report, besides the existing speed report, now called output/display FPS.

* * rocDecode/Sample script: Added missing changes for sample_mode 0 case.

[ROCm/rocdecode commit: 6253248188]
2024-08-20 17:43:33 -04:00
jeffqjiangNew b9ba594d2e Perf sample: Added decoded frame number and display delay options to video decode performance sample. (#405)
* * rocDecode/Perf sample: Added decoded frame number and display delay options to video decode performance sample. Also changed default thread number from 4 to 1.

* * rocDecode: Added max number of decoded frames option to decode sample script. This is useful to do partial decoding test on long streams.

* * rocDecode: Updated README.md.

* * rocDecode: Minor correction.

[ROCm/rocdecode commit: c486a7f6b4]
2024-08-12 09:39:43 -04:00
Lakshmi Kumar b9c293a754 Test Upgrades (#395)
* adds av1 to ctest

* add av1 support for batch sample

* add test to make test also

* path update for make test

* add function for codec support check

* add changes to batch sample

* addressign review comment

* modify all apps to check codec support

[ROCm/rocdecode commit: e3b3fe9e8e]
2024-07-26 17:09:58 -04:00
Aryan Salmanpour 36840419cc Enable decoding AVC (H.264) codec by default and enable CTest for it (#309)
[ROCm/rocdecode commit: 2d877cd357]
2024-04-04 19:47:35 -04:00
Lakshmi Kumar 6443588c8d remove fork example (#232)
[ROCm/rocdecode commit: 072d6fe0e2]
2024-02-09 15:46:48 -05:00
Kiriti Gowda 86d067680a Conformance - CI Run Added (#227)
* Conformance - CI Run Added

* Jenkins - Fix typo

* Conformance - Fix help

[ROCm/rocdecode commit: 89001ce6f8]
2024-02-07 15:06:11 -05:00
Kiriti Gowda f41f161ee1 Tests - Updated (#219)
* Tests - Updated

* Tests - CMakeList fix

* CMakeLists - Install Updates

* CMakeList - Sample fix

* Tests - Updates

* Ctest - Updates

* Ctest - compiler

* Ctest - Updates

* Ctest - fix

* Sample - Fork Removed

* Jenkins - Add Test Package Verification

[ROCm/rocdecode commit: aa3615c32b]
2024-02-06 14:45:55 -05:00
Kiriti Gowda 97a6f07780 Samples - Updates (#206)
* Samples - Updates

* Readme - samples

[ROCm/rocdecode commit: 6658070d1c]
2024-01-26 10:38:20 -08:00
jeffqjiangNew 4c9a35a6a8 * rocDecode: Updated Copyright message for 2024. (#160)
[ROCm/rocdecode commit: 04fe74f390]
2024-01-09 20:47:16 -05:00
Kiriti Gowda b63e6e394c rocDecode Test Package (#140)
* rocDecode Test Package

* Jenkins - Add Test Package

* CTest for Package

[ROCm/rocdecode commit: 90fcd668a5]
2023-12-14 10:42:52 -05:00