Граф коммитов

317 Коммитов

Автор SHA1 Сообщение Дата
Aryan Salmanpour bdb08ab644 Fix compilation issues on distro without std::filesystem (#348) 2024-05-08 14:45:32 -04:00
Lakshmi Kumar a1b20be3fc Seek - Bug fixes for cases when no dts in the input stream (#344)
* adds seek to videodecode and seek bug fixes

* fixes both frames & timestamp with prev_key_frame option

* switch to exact key frame and bug fix

* fix decoded_frame_number from seek

* fix out_frame_duration

* clean up + exact fram fix

* bug fixes for dts while Seeking

* seek dts bug fix

---------

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
2024-05-08 13:09:22 -04:00
Rajy Rawther 95f90982eb videodecodeRGB sample re-org for rocPyDecode (#343)
* re-org videodecodeRGB sample

* minor fix

* removed un-necessary include

* minor fix
2024-05-07 17:11:57 -04:00
Aryan Salmanpour 1943aad663 Fix compilation issues on RHEL8 and SLES15.5 related to using std::filesystem (#342) 2024-05-06 21:12:23 -04:00
jeffqjiangNew 3ade0f31ff * rocDecode: Removed the workaround for the previous non-blocking implementation of vaSyncSurface() in the driver, since the correct implementation has been put into the driver already. (#340) 2024-05-06 17:40:15 -04:00
jeffqjiangNew 21ae1d010a * rocDecode: Set the correct surface format for high bit depths. (#339)
- No functional changes as surface format does not affect the actual allocation of the VA surface in this call due to IHV specific implementation. The app still needs to set the format correctly.

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
2024-05-06 08:09:23 -04:00
Kiriti Gowda 47165ef6bb Readme - Updates (#338)
* Readme - Updates

* Docs - updates
2024-05-03 16:27:58 -04:00
jeffqjiangNew ba36534f1f rocDecode: Added error handling of missing headers in cases where they are not parsed but referred in the frame decode process. One example is when frame seek is performed and the target picture is not a random access point. (#335)
* * rocDecode: Added error handling of missing headers in cases where they are not parsed but referred in the frame decode process. One example is when frame seek is performed and the target picture is not a random access point.

* * rocDecode/HEVC: Added some missing error handlings.

---------

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
2024-05-03 15:18:08 -04:00
Kiriti Gowda e2b9e7197a Sample - Added missing header (#336) 2024-05-02 17:26:11 -04:00
Kiriti Gowda 2df3c13454 RHEL - Deps Fix (#334) 2024-05-02 15:47:26 -04:00
Pavel Tcherniaev 12fa766973 added md5 checksum with changes that Aryan and Rajy requested (#333)
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
2024-05-02 08:49:46 -04:00
jeffqjiangNew 0f905f527c * rocDecode/AVC: Added field picture support in reference list modification and adaptive referecne picture marking. (#332)
- 4 more conformance streams now pass.

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
2024-05-02 08:46:47 -04:00
Kiriti Gowda 2e4b7e55ea Setup - Fix U22 (#331)
* Setup - Fix U22

* Print - Traceback
2024-05-02 08:44:00 -04:00
Lakshmi Kumar 2d50d685f7 Seek - Bug Fixes + Sample Update (#327)
* adds seek to videodecode and seek bug fixes

* fixes both frames & timestamp with prev_key_frame option

* switch to exact key frame and bug fix

* fix decoded_frame_number from seek

* fix out_frame_duration

* clean up + exact fram fix
2024-05-01 17:03:27 -04:00
Kiriti Gowda 68d8b629d1 Packaging Updates - RPM package changes (#328)
* RPM Deps - Updates

* SLES - Handle Package name diff
2024-05-01 14:35:49 -04:00
jeffqjiangNew d2b742ab4b AVC: Added support for picture adaptive frame-field (PICAFF) feature. (#325)
* * rocDecode/AVC: Added initial field picture decode support.
 - 7 conformance streams pass.

* * rocDecode/AVC: Minor change based on review comment.

* * rocDecode/AVC: Fixed an issue with getting the decoded frame buffer index for the second field.
 - 10 more field conformance streams now pass.

* * rocDecode/AVC: Added support for picture adaptive frame-field feature.
 - 10 more field conformance streams now pass.

* * rocDecode/AVC: Added a missing change during last merge.
2024-05-01 08:29:26 -04:00
jeffqjiangNew bd4e410a8d AVC: Added initial field picture decode support. (#323)
* * rocDecode/AVC: Added initial field picture decode support.
 - 7 conformance streams pass.

* * rocDecode/AVC: Minor change based on review comment.

* * rocDecode/AVC: Fixed an issue with getting the decoded frame buffer index for the second field.
 - 10 more field conformance streams now pass.

* * rocDecode/AVC: Changed from C type cast to C++ type cast.
2024-04-30 21:21:05 -04:00
jeffqjiangNew a8bcc1e62f * rocDecode/AVC: Added support for gaps in frame_num. (#319)
- Fixed decode failure of conformance stream MR3_TANDBERG_B.264.
2024-04-19 16:51:41 -04:00
David Galiffi 1eb08ac87c Create CODEOWNERS file (#321)
* Create CODEOWNERS

Add global code owners

* Add Document Owners
2024-04-19 16:31:12 -04:00
Roopa Malavally 4c44acc0cd Docs - Update index.rst (#320) 2024-04-18 23:10:27 -07:00
Kiriti Gowda 82e89ca95e Setup - Cleanup (#317)
* Setup - Cleanup

* RPM - LibVA Name

* Fix - SLES install

* Fix

* FIX
2024-04-18 08:33:29 -04:00
Kiriti Gowda 25c4b9584f Docs - Cleanup & Fix (#316) 2024-04-16 15:05:17 -07:00
Kiriti Gowda 3b1d6932af LibVA Updates - Support Public Version (#315)
* LibVA public - enable

* Support for RPM based OS

* Readme Updates

* Setup - Updates

* Setup - CentOS 7 unsupported

* Jenkins - Check Direct deps
2024-04-16 15:53:15 -04:00
jeffqjiangNew 4188000079 AVC: Fixed the decode failure of conformance stream MR2_TANDBERG_E.264. (#314)
* * rocDecode/AVC: Fixed the decode failure of conformance stream MR2_TANDBERG_E.264.
 - Fixed a bug in memory management control operation 4 process.

* * rocDecode/AVC: Added the missing assignment of top/bottom POC of ref_pic_list_1 in VAAPI slice parameter struct. This change did not make any effective functional changes.
2024-04-15 08:32:03 -04:00
Aryan Salmanpour 44293d2218 Update README (#313) 2024-04-11 13:36:27 -04:00
jeffqjiangNew 6b03950181 AV1: Added frame header and tile group OBU parsing. (#312)
* * rocDecode/AV1: Added frame header OBU parsing.

* * rocDecode/AV1: Added a missing function description.

* * rocDecode/AV1: Added tile group OBU parsing.
2024-04-11 09:01:54 -04:00
Rajy Rawther 77e4c3150a videodemuxer: added seek functionality (#311)
* demux add seek functionality

* addressed review comments
2024-04-11 08:21:50 -04:00
Aryan Salmanpour f2d1ad75eb Use the correct offset when creating render nodes on each partition mode on MI300 (#310)
* Use the correct offset when creating render nodes on each partition mode on MI300

* Use the correct offset when creating render nodes on each partition mode on MI300

* code clean up
2024-04-09 18:17:02 -04:00
Pavel Tcherniaev f8bf587f92 added frame rate calculation to AVC parser (#307)
* added frame rate calculation to AVC parser

* fixed typo in avc_parser.h and removed cout debug statements from avc_parser.cpp

* made all changes discussed with Jeff

---------

Co-authored-by: jeffqjiangNew <142832361+jeffqjiangNew@users.noreply.github.com>
2024-04-05 08:15:15 -04:00
Aryan Salmanpour 2d877cd357 Enable decoding AVC (H.264) codec by default and enable CTest for it (#309) 2024-04-04 19:47:35 -04:00
jeffqjiangNew e96b782dcf * rocDecode/AV1: Added stream syntax defines and sequence header parsing. (#306) 2024-04-03 15:04:18 -04:00
jeffqjiangNew d38931ddae * rocDecode/AVC: Added support for memory management control operation equal to 5 and fixed an issue in reference picture list modification. (#304)
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
2024-04-01 20:58:31 -04:00
Kiriti Gowda d6d9c9ed1a Setup - Updates (#305) 2024-04-01 15:53:36 -07:00
Lakshmi Kumar e185226ae9 CMakeLists - install only required files from samples (#303)
* install only required files from samples

* update install directory
2024-04-01 15:53:15 -04:00
Aryan Salmanpour 30790842f1 Add support for various partition modes on MI300 (#302)
* Add support for various partition modes on MI300

* code clean up
2024-03-28 21:40:45 -04:00
Kiriti Gowda ad7f228774 Setup - updates & Fixes (#301)
* Setup - Updates

* Setup - Develop Install Default OFF

* Developer - Default OFF
2024-03-28 00:23:53 -04:00
Lakshmi Kumar 9fa7fe15fd exclude build folders from samples in install (#300) 2024-03-27 14:13:00 -04:00
Lakshmi Kumar d5b5a31881 move getEnvVar function to common (#299) 2024-03-26 19:07:13 -04:00
Lakshmi Kumar 6265f675c1 av1 initial commit (#298) 2024-03-26 18:59:15 -04:00
jeffqjiangNew 7cf22e5920 * rocDecode/AVC: Fixed the decode failure of the conformance stream MR2_MW_A.264. (#297)
- We should always clear the number of short term and long term references in DPB buffer structure when IDR occurs.
2024-03-26 18:53:42 -04:00
Aryan Salmanpour 592195b652 Organizing the install location of the rocdecode utils headers (#296) 2024-03-26 12:47:37 -04:00
Aryan Salmanpour 4d5497eec8 modify the condition of using visble_devices by making sure that the requsted device id is valid (#295) 2024-03-26 11:40:59 -04:00
Lisa 304d6c6515 Docs - Update index.rst (#294) 2024-03-25 15:41:32 -07:00
Aryan Salmanpour f94422f722 code clean up - remove extra parentheses (#293) 2024-03-25 15:11:43 -04:00
Aryan Salmanpour cb4abfedec Add support for detecting visible devices before initializing va-api (#292) 2024-03-25 14:31:02 -04:00
Sam Wu 85895d61c5 Have dependabot target the develop branch (#290) 2024-03-20 14:16:23 -04:00
Lakshmi Kumar e4316f009c Sample Bug Fix - Batch sync issue (#289)
* 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
2024-03-20 08:25:00 -04:00
Aryan Salmanpour 5e9000a508 Fix CTEST for video_decodeRGB-H265 - copy missing resize_kernels.h/cpp into destination location (#288) 2024-03-19 11:52:50 -04:00
Rajy Rawther 39e274d02d rocDecode resize sample implementation (#285)
* WIP: resize kernels

* hipified kernels for scaling from cuda

* updated videodecodeRGB sample for scaling

* added stream parameter to kernels

* add scale kernels using tex2d and NN

* enable tex2D kernels

* add NN resize kernels

* fixed scaling kernels

* fixed tex2D scaling kernel for UV scaling

* minor formatting

* address review comments

---------

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
2024-03-18 08:32:19 -04:00
Kiriti Gowda 4fcd988ec8 README - package install fix 2024-03-12 13:10:57 -07:00