575 Commit

Autore SHA1 Messaggio Data
Kiriti Gowda 07bd8d6082 Package - dependencies updated (#416)
* Package - dependencies updated

* Changelog - new format added

* Setup - OS specific updates

* CMakeList - Cleanup

* Version Updates Fix

[ROCm/rocdecode commit: 64078a58cb]
2024-10-07 16:20:10 -04: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
Lakshmi Kumar ffe6861569 change clang++ path as suggested by packaging team (#427)
[ROCm/rocdecode commit: 4e4a18d280]
2024-10-01 08:35:45 -04:00
jeffqjiangNew 2b84f90795 * rocDecode/Perf: Improved the accuracy of decode performance measurement for the performance sample. We need to wait for the decode completion of the last picture before sampling the end time. (#425)
[ROCm/rocdecode commit: 7ef4e29262]
2024-09-25 21:27:49 -04:00
Aryan Salmanpour 6f1871777f Modify the videoDecodePerf app to take an argument for memory type (#424)
[ROCm/rocdecode commit: 0ba9992247]
2024-09-24 19:06:50 -04:00
spolifroni-amd 0cf8f6ee66 Added a note pointing users to the official documentation and removed the local build information. This info is in the contribution documentation. (#417)
[ROCm/rocdecode commit: 1d1f31f85c]
2024-09-18 12:00:55 -04:00
Kiriti Gowda aaa794a807 Support GFX12 (#423)
[ROCm/rocdecode commit: eb5f2da4ae]
2024-09-17 10:47:17 -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
Peter Park 3139e6f013 update Doxyfile to strip Read the Docs dir (#418)
[ROCm/rocdecode commit: 336081bac3]
2024-09-16 10:19:34 -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
Kiriti Gowda 673c487203 License - Remove license from dev & test packages (#410)
[ROCm/rocdecode commit: e095d612a1]
2024-08-15 15:10:38 -04:00
Kiriti Gowda 56eab1f21c CTest Updates - Fix duplicates (#408)
* Test - Fix CTest

* CMakeLists - Clang Set

* Ctest - support

* Readme - Fix and updates

* Readme - minor fix

* Readme - MS template

* Install - Minor instructiion fix

* Clang - Added as default CXX compiler

* Update CHANGELOG.md

Remove unreleased

[ROCm/rocdecode commit: 1ac853e441]
2024-08-14 17:28:52 -04:00
jeffqjiangNew b74bd7db16 * rocDecode/AV1: Performance improvement: prevent synchronous decode submissions. (#406)
- Set the display delay to DECODE_BUF_POOL_EXTENSION (2) to avoid immediate output/display of a decoded frame.

[ROCm/rocdecode commit: a863ee26a9]
2024-08-12 10:29:43 -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
jeffqjiangNew 3b31e617ea AV1: Fixed an issue with multiple tile group OBUs per picture cases. (#404)
* * rocDecode/AV1: Fixed an issue with multiple tile group OBUs per picture cases.
 - We now use the single base pointer for all tiles in all tile group OBUs and submit them once per picture.

* * rocDecode/AV1: Fixed a typo.

[ROCm/rocdecode commit: 30ee6787b2]
2024-08-07 10:16:17 -04:00
Kiriti Gowda a27173e4bb Samples: Video batch decode - FFMPEG Multiversion support (#402)
[ROCm/rocdecode commit: 27d3d74f1d]
2024-07-30 14:31:51 -07:00
jeffqjiangNew 4fb2028910 * rocDecode/AV1: Fixed a bug in set frame refs process that triggers a conformance error check later. (#400)
[ROCm/rocdecode commit: 6a75dc4dcf]
2024-07-29 17:16:21 -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
jeffqjiangNew 93c3e5e9ec * rocDecode/AV1: Fixed a surface size issue in upscaling cases. (#399)
[ROCm/rocdecode commit: d0924490a8]
2024-07-26 12:24:32 -04:00
jeffqjiangNew 273d03c3d0 Added the missing presentation time stamp (pts) to decode return info for displayed pictures. (#398)
* * rocDecode: Added the missing pts to decode return info for decoded pictures.

* * rocDecode: Added the missing pts to decode return info for decoded pictures.

[ROCm/rocdecode commit: 4f8191edc0]
2024-07-25 16:53:20 -04:00
jeffqjiangNew cd308e3fa8 * rocDecode/AV1: Added support for getting frame size from reference frames case. Fixed the data type of several quantization parameters. (#397)
[ROCm/rocdecode commit: 96944030aa]
2024-07-25 14:55:14 -04:00
Lakshmi Kumar cbe6399706 va version bug fix for ub20 (#396)
[ROCm/rocdecode commit: 69dead95cd]
2024-07-23 18:19:55 -04:00
Aryan Salmanpour 19589a4f2f Fix a compilation issue in RHEL8 (#394)
[ROCm/rocdecode commit: d2ef14606c]
2024-07-23 10:48:15 -04:00
Lakshmi Kumar 2487a43c06 Add versioning file for rocdecode (#393)
* add versioning file for rocdecode

* add comment for #define

* add version to rocdecde.h

---------

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

[ROCm/rocdecode commit: d0821d303a]
2024-07-22 12:37:30 -04:00
jeffqjiangNew 1c82e1c680 Enabled AV1 decode by default. (#391)
* * rocDecode/AV1: Enabled AV1 decode by default.

* * rocDecode/AV1: Added changes suggested in code review.
 - Bumped up rocDecode version to 0.7.0.
 - Added AV1 support statement in readme file.

[ROCm/rocdecode commit: 96c65d74a6]
2024-07-22 12:32:12 -04:00
jeffqjiangNew dd1ac04a55 AV1: Fixed build error on RHEL8 due to older VAAPI version. (#392)
* * rocDecode/AV1: Fixed build error on RHEL8 due to older VAAPI version.

* * rocDecode/AV1: Fixed build error on RHEL8 due to older VAAPI version.

* * rocDecode/AV1: Set VA profile for AV1 for older VAAPI versions where it is not defined.

* * rocDecode/AV1: Made rocDeocde AV1 built on VAAPI versions below 1.6.0 runnable with newer versions, to be able to test under RHEL8.

[ROCm/rocdecode commit: 1e5e9dacac]
2024-07-22 12:29:41 -04:00
Rajy Rawther 4caf46cab4 Rr/video dec mem sample update (#390)
* remove hardcoded buffer size requirement

* minor change

[ROCm/rocdecode commit: 84c1dc9d03]
2024-07-22 08:48:29 -04:00
Rajy Rawther c3f2e95f92 VideoToSequence sample (#373)
* videoToSequence sample initial commit

* add frame_num calculation when seeking

* update README

* addressed review comments

* added FlushAndReconfigure() to flush out frames with seek

[ROCm/rocdecode commit: fe5f63428c]
2024-07-22 08:42:58 -04:00
jeffqjiangNew 21461a03fe * rocDecode/AV1: Added support for film grain synthesis and several other fixes. (#389)
- Added film grain parameter saving and loading procedures.
 - Added buffer management for film grain synthesis output.
 - Fixed the corruption issue with 10-bit film grain streams. We need to see surface attibutes based on pixel format when creating VAAPI surfaces.
 - Added missing global motion, loop filter and segmentation parameter loading in load reference frame procedure.
 - Fixed an issue with one tile streams.
 - Fixed an issue with un-initialized frame header structure after frame decode.
 - Fixed a bug with decode buffer status update.

[ROCm/rocdecode commit: ac82d17e9f]
2024-07-19 21:01:36 -04:00
Joseph Macaranas a4ca86d266 External CI: Add triggers for mainline branch (#388)
[ROCm/rocdecode commit: 59ec12d012]
2024-07-19 09:15:24 -04:00
Sam Wu 7ca8fb7878 Set libva driver path in env on sles15 (#384)
[ROCm/rocdecode commit: 64fd81c413]
2024-07-17 11:06:35 -04:00
jeffqjiangNew f97829618c AV1: Added a few changes to enable general testing (non-film-grain). (#383)
* * rocDecode/AV1: Added a few changes to enable general testing (non-film-grain).
 - Added show existing frame support.
 - Added load_previous() function.
 - Added more operations to reference frame update process.
 - Added reference frame loading process.
 - Added decode frame wrapup process.
 - Added DPB recycling.
 - Added DPB content logging funcion for debugging purposes.

* * rocDecode/AV1: Removed a line which was added accidentally in the previous commit.

[ROCm/rocdecode commit: a36dd186df]
2024-07-15 10:40:59 -04:00
Kiriti Gowda 2626f6bc66 CMakeLists - Use -D AMDGPU_TARGETS (#379)
* Sample - Updates

* CMakeList - Accept -D AMDGPU_TARGET

[ROCm/rocdecode commit: 2014c55f11]
2024-07-09 11:03:24 -04:00
Pavel Tcherniaev 7041c520a6 Fixed bug with videoDecodeBatch (#375)
* fixed bug with videoDecodeBatch

* changed if statement to check n_frame_returned

[ROCm/rocdecode commit: 1b9dd60837]
2024-07-09 10:59:41 -04:00
Sam Wu 7e6fc978b6 Update formatting in changelog (#380)
[ROCm/rocdecode commit: 5ce2bcb799]
2024-07-08 17:13:44 -06:00
jeffqjiangNew 3d63690aeb * rocDecode/AV1: Fixed the decoded image surface size issue with 10-bit streams. (#378)
- The root cause is that the bit depth idx parameter setup is missing in VA-API picture parameter setup.

[ROCm/rocdecode commit: a91dcdc72f]
2024-06-28 13:52:36 -04:00
jeffqjiangNew a13ce87a9b * rocDecode/AV1: Basic inter decode is up and running. (#376)
- Added initial support for DPB and decode/display buffer management.
 - Added initial display support.
 - Added reference frame set up.
 - Fixed an issue with cdef_y_sec_strength/cdef_uv_sec_strength parsing. We should leave the conditional increment to VA-API driver or below due to VA-API formatting.

[ROCm/rocdecode commit: 54419dcca3]
2024-06-27 10:26:21 -04:00
jeffqjiangNew 5bdf7f6b8d AV1: Intra decode started to be up and running. (#372)
* * rocDecode/AV1: Added new sequence callback and submit decode calls.

* * rocDecode/AV1: Intra decode started to work.

* * rocDecode/AV1: Do not build PrintVaapiParams() in normal (non-debug) mode.

[ROCm/rocdecode commit: 2be11821fc]
2024-06-26 12:46:11 -04:00
raramakr 85765db5c3 Package - Remove package provides field from RPM and DEB package (#371)
The provides tag is required when the package provides a virtual package.
Package name along with version will be provided by default and the provides tag is not required for this.
Using the tag for providing the name, but without version was resulting in package upgrade issues.

[ROCm/rocdecode commit: 7bf02a9606]
2024-06-18 09:45:44 -07:00
Lakshmi Kumar 19f5eef138 Bug Fix - crop needs to be set using target width and height (#370)
* bug fix for crop

* change reconfig funciton for chroma_height_

* review commments

[ROCm/rocdecode commit: fc266e43cd]
2024-06-14 14:00:15 -07:00
Kiriti Gowda b10bf9df81 Setup - mariner build support (#369)
* Setup - Mariner Updates

* Setup - Remove package manager check

* Setup - Remove INXI

* Setup - Runtime

* Setup - Mariner Updates

[ROCm/rocdecode commit: cf0f7cc3e9]
2024-06-13 17:10:56 -04:00
Kiriti Gowda 82b800fd23 Mariner - Support for package (#368)
[ROCm/rocdecode commit: b95a3abcec]
2024-06-12 21:49:14 -04:00
Lakshmi Kumar 0ef36fec5e Add session overhead functions & modify perf app (#366)
* add session overhead funcitons & modify perf app

* remove class:: for function calls

* add session overhead funcitons & modify perf app

* remove class:: for function calls

* review comments

* fix comments

* duration to double

* update perf sample for thread_id for overhead

* remove debug statements

* revoew comments

* return value chnage to double

* remove session ID functions

* check session id validity

[ROCm/rocdecode commit: 48b56de77a]
2024-06-11 10:38:19 -04:00
jeffqjiangNew 679bd8ba7e * rocDecode/AV1: Fixed a bug in the calculation of the floor of the base 2 logarithm. (#367)
[ROCm/rocdecode commit: ac272886b1]
2024-06-10 14:02:10 -04:00
jeffqjiangNew 4a888ae0fb AV1: Added OBU parsing and frame data parsing. (#364)
* * rocDecode/AV1: Added OBU parsing at picture level.

* * rocDecode/AV1: Added a few todos and fixed a few issues in frame header parsing.

* * rocDecode/AV1: Minor changes based on code review.

* * rocDecode/AV1: Removed more empty lines.

[ROCm/rocdecode commit: 63d3245176]
2024-06-10 12:07:23 -04:00
Lakshmi Kumar 8fb1019406 RHEL - va version check for av1 (#365)
* rhel va version check for av1

* remove #else case

[ROCm/rocdecode commit: 4f8506daec]
2024-06-10 11:09:29 -04:00
Kiriti Gowda a10f3ed86c CMakeLists & Setup - Updates (#363)
* CMakeLists - Remove OBSOLETES

* Setup - Updates

* Setup - Cleanup

[ROCm/rocdecode commit: 460a49a728]
2024-06-06 13:24:15 -04:00
Lakshmi Kumar 08f6417565 AV1: VA-API submission (#362)
* av1 va-api submission

* adding check for anchor_frames and current_diplay_picture

* check limits for memory errors

* review comment - remove unnecessary check

[ROCm/rocdecode commit: c70e98abb6]
2024-06-05 16:23:47 -04:00