Gráfico de commits

562 Commits

Autor SHA1 Mensaje Fecha
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
spolifroni-amd 04117a091d Docs - Core api reference refresh (#669)
* Updated core docs + Doxyfile

* fixed issues, renamed a file, deleted unused files

* added hip-dev as a requirement for 7.2

* updated with Jeff's review

* updated getvideoframe description

* Update docs/reference/rocDecode-parser.rst

Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>

* Update docs/how-to/using-rocDecode-video-decoder.rst

Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>

* updated with Leo's feedback

* fixed a wrong link in toc

---------

Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>

[ROCm/rocdecode commit: 134369824d]
2025-11-14 14:05:47 -08:00
Kiriti Gowda 6a2036b033 Package - Host package updates (#671)
* rocDecode host - Package

* Host Package - Added

* Readme - Host updates

* Changelog - Updates

[ROCm/rocdecode commit: 433ca3a564]
2025-11-14 13:23:51 -08:00
Aryan Salmanpour f03eebf563 Update libva path configuration for TheRock (#670)
[ROCm/rocdecode commit: c389675f31]
2025-11-05 15:13:05 -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
Jeff Jiang 9f857d54f0 Added logging control (#667)
* * rocDecode: Added logging control
 - Message output from the core components is now controlled by the logging level, which can be set by an environment variable or other methods.

* * rocDecode/Logging control: Fixed a typo.

* * rocDecode/Logging control: Removed reference to the logger class from RocVideoDecoder utility, which results in build error on non-source install environment.

* * rocDecode/Logging control: Improved some wording in the docs.

[ROCm/rocdecode commit: 60e6c585ff]
2025-10-31 20:50:33 -04:00
Jeremy Newton 7f6938c7d1 Drop libva-amdgpu use for RHEL8 (#660)
After further inspection, it looks like libva is new enough for decode
support, so we've dropped the requirement on the mesa end. Some encode
features are missing on < 2.16, but as per our current RHEL8 support
policy, these features are no longer supported.

Ubuntu 22.04 is still supported to have a full encode feature set, so we
can't drop the libva requirement quite yet.

SWDEV-548213

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>

[ROCm/rocdecode commit: a721963b3c]
2025-10-21 10:19:51 -07:00
Aryan Salmanpour 24211717d5 Updated libdrm path configuration and libva version requirements for ROCm and TheRock platforms (#666)
[ROCm/rocdecode commit: c743ca38f6]
2025-10-21 08:57:56 -07:00
Kiriti Gowda 954f7369ce Compiler - Location update (#664)
[ROCm/rocdecode commit: 4d090e8aa0]
2025-10-07 15:05:46 -07:00
Kiriti Gowda eda01f439f ROCm 7.1 - updates (#662)
[ROCm/rocdecode commit: 8e552e70f5]
2025-10-06 14:20:36 -07:00
Aryan Salmanpour 097d3b478b Update changelog for ROCm 7.1 release (#661)
[ROCm/rocdecode commit: 120277dc56]
2025-10-06 13:41:27 -07:00
Lakshmi Kumar 31085f57ed changelog update for PR658 (#659)
[ROCm/rocdecode commit: 1bfbf07d77]
2025-10-06 09:08:53 -07:00
Kiriti Gowda bc5f4d7a3e Packaging - HIP Updates (#658)
[ROCm/rocdecode commit: 380779e0a8]
2025-10-02 14:24:12 -07:00
Jeremy Newton 5c905c4b65 Packaging - Drop libva-amdgpu for RHEL 9+, Ubuntu 24, and SLES (#656)
* Drop libva-amdgpu for newer distros

Due to bugs in mixing old and new libva installed, having both
libva-amdgpu packages just causes bugs due to edge cases. It's easier
to just use the inbox packages for RHEL9+, SLE, and UB24.04.

RHEL 8 and UB22.04 still needs libva-amdgpu since libva is too old.

I also noticed that SLE should be pulling in libva-drm2 as a runtime
requirement, since rocdecode only uses the DRM interface.

SWDEV-555510
SWDEV-557842

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>

* rocDecode-setup.py - Fix

```
rocDecode-setup.py", line 246
    else
        ^
SyntaxError: expected ':'

```

* rocDecode-setup.py - Fix

```
rocDecode-setup.py", line 246
    else
        ^
SyntaxError: expected ':'

```

* rocDecode-setup.py - fix

```
E: Unable to locate package rocm-hip-runtime-devlibstdc++-12-dev
E: Couldn't find any package by regex 'rocm-hip-runtime-devlibstdc++-12-dev'

```

---------

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>

[ROCm/rocdecode commit: d179c02e36]
2025-09-29 15:52:51 -07:00
spolifroni-amd 37c112e23c Docs - removing SP6 (#653)
[ROCm/rocdecode commit: 92bf931295]
2025-09-16 17:09:59 -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
Lakshmi Kumar be9aed7663 FFmpeg version support for 5.1 and 6.1 (#646)
* add support for ffmpeg versions 5.1 & 6.1

* avcodec variable version support

* update for ffmpeg 6.1

* edit comments

---------

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

[ROCm/rocdecode commit: ab64ac38fa]
2025-09-08 21:17:41 -07:00
spolifroni-amd 64c8a44790 updated wording around supported linux environments (#642)
* updated wording around supported linux environments

* Update docs/install/rocDecode-prerequisites.rst

Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>

* Update docs/install/rocDecode-prerequisites.rst

Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>

* SLES 15-SP5 isn't supported; removed

* updated SLES to SP6/7

---------

Co-authored-by: Rajy Rawther <Rajy.MeeyakhanRawther@amd.com>
Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>

[ROCm/rocdecode commit: 2e38f502ab]
2025-09-08 12:27:18 -07:00
Joseph Macaranas 11cd32c2f4 [External CI] Fix for downstream trigger of rocpydecode build (#647)
[ROCm/rocdecode commit: dfe853a2b2]
2025-09-08 08:30:22 -07:00
Joseph Macaranas 48beb819f2 External CI: Add support for downstream build of rocpydecode (#645)
- When build of rocdecode completes, it will trigger rocpydecode job.
- Code structure follows other pipelines who have made similar changes.

[ROCm/rocdecode commit: ea63c7a165]
2025-09-05 09:50:20 -07:00
Aryan Salmanpour a59927ed54 Fix a memory leak for rocDecodeNegativeTests (#643)
[ROCm/rocdecode commit: a5e4cd780e]
2025-09-04 12:03:08 -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
Lakshmi Kumar a766005bd9 add host backend under ctest (#637)
[ROCm/rocdecode commit: 2c77d572e8]
2025-08-28 10:49:15 -07:00
Rajy Rawther 26389e857c fixed build issues with FFMpeg AVCodec version >=59 changes (#636)
* fixed build issues with FFMpeg AVCodec version >=59 changes

* fixed mistake of pushing stashed change

---------

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

[ROCm/rocdecode commit: 253e604c7b]
2025-08-28 09:28:12 -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
jonatluu 87baa53ebd fix lintian warning (#634)
[ROCm/rocdecode commit: 154f4cd465]
2025-08-26 13:54:57 -07:00
Jeff Jiang aca71a1aaf AV1: Added 12-bit AV1 decode support. (#631)
* * rocDecode/AV1: Added 12-bit AV1 decode support.
 - The feature is only enabled for VAAPI version 1.23.0 and up.
 - Added MD5 calculation for 12-bit video output.

* * rocDecode: Bumped version up to 1.2.0 and updated change log.

* * rocDecode: Updated change log based on review.

[ROCm/rocdecode commit: 84257d513a]
2025-08-21 10:40:17 -04: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
Kiriti Gowda ff4d947cc6 Version File - Updates and fixes (#632)
[ROCm/rocdecode commit: e5f06d4fcc]
2025-08-15 09:21:00 -04:00
spolifroni-amd 9f9a4d168e Docs - fixed two links (#630)
[ROCm/rocdecode commit: 0ea5837a38]
2025-08-13 11:32:35 -07:00
Rajy Rawther 966f338d96 set min: number of decoded surfaces to non-zero value for ffmpeg based decoding (#627)
[ROCm/rocdecode commit: d9690d1715]
2025-08-08 10:11:10 -04:00
spolifroni-amd c6bc0ed4a3 Docs - removing link to gpu installer (#618)
* removing link to gpu installer

* updated the readme and fixed a landing page issue

[ROCm/rocdecode commit: f1d5236921]
2025-08-01 12:24:37 -07: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
Sam Wu 71f930b876 CI - Remove .jenkins (#615)
migrating to rocJenkins

[ROCm/rocdecode commit: 91044fc832]
2025-07-18 11:17:37 -07:00
arvindcheru 0058b85808 Add softlink for rocdecode-host library target (#614)
[ROCm/rocdecode commit: eb487c3204]
2025-07-03 15:35:31 -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
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 26e30ddc92 * Decode output dumping improvement: Better condition check for new dump file creation. (#606)
- Coded video size change was used as one of conditions to create a new file when dumping decode output. When a stream has coded video size change but the display size does not change, there is no need to dump the decoded frames into a new file.
 - Now we replace the coded size check with display size check to avoid unnecessary new dump file creation.

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

[ROCm/rocdecode commit: a2e1bf1920]
2025-06-19 17:29:00 -04:00
Lakshmi Kumar ef4250f6d9 Set video_signal_description struct to 0 by default (#605)
* Update avc_parser.cpp

* Update hevc_parser.cpp

[ROCm/rocdecode commit: 9283abc629]
2025-06-19 08:53:53 -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
Rajy Rawther 3d335b3e09 Option to disable building of rocdecode host based library (#603)
[ROCm/rocdecode commit: 83734ec42e]
2025-06-12 08:28:44 -04:00
Aryan Salmanpour 790f5881f2 Update the documnetation for rocDecGetDecodeStatus and rocDecGetVideoFrame APIs (#602)
[ROCm/rocdecode commit: 8ba5aeb465]
2025-06-11 16:46:47 -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
Aryan Salmanpour 5b1ebe013c Remove the call to vaQuerySurfaceStatus before vaSyncSurface (#599)
[ROCm/rocdecode commit: 089abe7435]
2025-06-09 15:54:28 -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
jeffqjiangNew 2145992a4d * FFMPEG SW decode: Replaced the assert against 0 display width with an error check, to avoid abortion in a query call. (#596)
* * FFMPEG SW decode: Replaced the assert against 0 display width with an error check, to avoid abortion in a query call.

* * FFMPEG SW decode: Correction to the previous editing error.

---------

Co-authored-by: essamROCm <77812857+essamROCm@users.noreply.github.com>

[ROCm/rocdecode commit: 0f89c9c17c]
2025-06-03 10:49:28 -04:00
Lakshmi Kumar e052a74454 update readme (#595)
[ROCm/rocdecode commit: 94356320b1]
2025-06-02 09:54:18 -04:00
Jatin Chaudhary faf2e6f237 include <thread> header (#594)
[ROCm/rocdecode commit: 691dc51f66]
2025-05-30 09:31:22 -04:00
jeffqjiangNew ed775289be CI: Updated VP9 stability test stream set: two more streams are added. (#593)
[ROCm/rocdecode commit: f8793bf09a]
2025-05-23 13:48:48 -07:00