Graphe des révisions

206 Révisions

Auteur SHA1 Message Date
jeffqjiangNew 031c28105c * rocDecode/AVC: Fixed a few issues with P frame. (#212)
- Moved decoded reference picture marking after decode picture submission, according to the spec.
 - Fixed several errors in the decoding process.
 - Added two debug functions to log out DPB content and VAAPI buffer info.
 - P frames look good now.

[ROCm/rocdecode commit: 90cddfe655]
2024-01-31 09:10:41 -05:00
Aryan Salmanpour 119ee113c3 use the error code of VA_STATUS_ERROR_TIMEDOUT to avoid build failure with older va headers (#211)
[ROCm/rocdecode commit: e90a93eb4a]
2024-01-30 13:33:53 -05:00
jeffqjiangNew d15be3fff3 * rocDecode: Removed warning message about vaSyncSurface() time out error. (#209)
[ROCm/rocdecode commit: a55b967f86]
2024-01-29 14:21:21 -05:00
Lakshmi Kumar 96b71ddd2c Samples - Clean up and bug fixes (#203)
* clean up samples

* fixes error seen in videoDecodeMem app with big files

[ROCm/rocdecode commit: 43481ce36b]
2024-01-29 12:58:00 -05:00
jeffqjiangNew e140ba1249 AVC: Added several steps in slice decoding process (8.2) (#208)
* * rocDecode/AVC: Added decode picture callback from parser to decoder and VAAPI decode submission.

* * rocDecode/AVC: Minor changes based on code review comments.

* * rocDecode/AVC: Removed a redundant line.

* * rocDecode/AVC: Added picture order count calculation.

* * rocDecode/AVC: Added initial implementation of reference list setup.

* * rocDecode/AVC: Added decoded reference picture marking.

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

[ROCm/rocdecode commit: 6bd8509bec]
2024-01-29 12:09:36 -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 e5ad62fa09 * rocDecode: Added back vaSyncSurface() to ExportSurface() call to guarantee decode completion. (#205)
- Needed to take care of time out case. Current implementation of vaSyncSurface() does not block indefinitely (contrary to VA-API spec), it returns VA_STATUS_ERROR_TIMEDOUT error when it blocks for a certain amount of time. Although time out can come from various reasons, we treat it as non-fatal and contiue waiting.

[ROCm/rocdecode commit: 10e3f0aeec]
2024-01-26 11:48:30 -05:00
Kiriti Gowda f517b2ab2d Samples - Docs Updated (#204)
[ROCm/rocdecode commit: 2298d93990]
2024-01-26 05:19:24 -08:00
Kiriti Gowda 919dcafc80 Docs - Cleanup User Guide (#198)
* Docs - Cleanup User Guide

* Update rocDecodeUserGuide.md

[ROCm/rocdecode commit: 5d77fbf40a]
2024-01-24 16:45:03 -08:00
jeffqjiangNew a0e7d3c29f Changed rocDecode API header variable naming to Google C++ style. (#196)
* * rocDecode: Changed rocDecode API header variable naming to Google C++ style.

* * rocDecode: Unified AVC/H264 naming to AVC. Minor naming changes on HEVC related names.

* * rocDecode: Minor comment fix based on code review.

[ROCm/rocdecode commit: cd6401750e]
2024-01-24 18:03:46 -05:00
Kiriti Gowda d0ddd577d2 Update CMakeLists.txt (#197)
[ROCm/rocdecode commit: f352cb7548]
2024-01-24 11:57:29 -08:00
Sam Wu dc564d8bd6 Documentation - Use custom rocm-docs-core footer, header, and stylesheets for doxysphinx (#191)
[ROCm/rocdecode commit: 3c5cf5ecba]
2024-01-24 10:11:14 -08:00
jeffqjiangNew fd2b762fab AVC: Added decode picture callback from parser to decoder and VAAPI decode submission. (#190)
* * rocDecode/AVC: Added decode picture callback from parser to decoder and VAAPI decode submission.

* * rocDecode/AVC: Minor changes based on code review comments.

* * rocDecode/AVC: Removed a redundant line.

* * rocDecode/AVC: Condensed several lines based on code review feedback.

[ROCm/rocdecode commit: 426067898c]
2024-01-23 17:30:29 -08:00
Hui Liu 439eca4c3d fix mem leak (#194)
[ROCm/rocdecode commit: e7dbd65315]
2024-01-23 11:23:30 -08:00
Lakshmi Kumar fdcbc7ed25 fixes crashes from vaSyncSurface call (#195)
[ROCm/rocdecode commit: a65c52bc71]
2024-01-22 15:43:11 -08:00
Lakshmi Kumar 55213cfb35 fixes missing variable (#193)
[ROCm/rocdecode commit: 6ae9ba8be2]
2024-01-22 15:18:02 -05:00
Lakshmi Kumar dbd9d466cc fixes mesa warning/error (#192)
* fixes mesa warning/error

* merge conflicts

[ROCm/rocdecode commit: 1393311656]
2024-01-22 12:00:06 -08:00
Rajy Rawther 9afce4a03a fix for hipOutOfMem bug when decoding large videos (#189)
* fix for issue 441908

[ROCm/rocdecode commit: 51ecd8fccf]
2024-01-19 09:46:02 -08:00
jeffqjiangNew 5527ee0b79 Fixed display aspect ratio calculation for both AVC and HEVC. (#187)
* * rocDecode: Fixed display aspect ratio calculation.
 - We were assigning sample aspect ration (SAR) from VUI directly to display aspect ratio (DAR). Now we follow the correct procedure.

* * rocDecode: Fixed an error in display aspect ratio calculation. Should include sample aspect ratio in the final step.

[ROCm/rocdecode commit: cf82317396]
2024-01-18 11:31:54 -08:00
Rajy Rawther 0978ce8a56 Rr/rocdec doc update (#188)
* update rocdec user guide

* minor change

* addressed review comment

[ROCm/rocdecode commit: 37e2725fec]
2024-01-18 09:00:33 -08:00
Lakshmi Kumar a186a42593 Adding support for reading Environmental variable for samples (#186)
* check if env var set and choose device

* clean up for env var

* app modification

* move getEnvVar function to header

* fork example

* spacing adjust

* review comments

* use hipGetErrorName to throw errors

[ROCm/rocdecode commit: 8ec38d2d24]
2024-01-17 22:57:31 -05:00
jeffqjiangNew e416b5a192 Added new sequence notification callback for AVC. (#184)
* * rocDecode/AVC: Added new sequence notification callback.

* * rocDecode/AVC: Removed the commented out code.

* * rocDecode/AVC: Changed function name to better describe the operation.

* * rocDecode/AVC: Minor formatting change.

[ROCm/rocdecode commit: a7bb9953c6]
2024-01-17 14:24:58 -05:00
Aryan Salmanpour e723871cba Add support for rocDecGetErrorName for getting the rocDecStatus error string (#185)
* Add support for rocDecGetErrorName for getting the rocDecStatus error string

* Add description of the API

[ROCm/rocdecode commit: f7997b716d]
2024-01-17 14:00:54 -05:00
Lakshmi Kumar 5dd6c47c65 User guide Updates (#179)
* user guide intial

* clean up

* review comments

* clean up

* clean up

* review comments + new smaples section

* review comments+adding chapter 4 and 5

* review comments

[ROCm/rocdecode commit: d42e19cbfd]
2024-01-17 10:38:42 -08:00
Aryan Salmanpour 5456737287 Print the vaapi error name string instead of the vaapi status integer for better clarity if a vaapi failure occurs (#182)
[ROCm/rocdecode commit: f7fce4d9b4]
2024-01-17 11:06:34 -05:00
Aryan Salmanpour 03192ed89c Print the hip error name string instead of the hip status integer for better clarity of a hip failure occurs (#181)
[ROCm/rocdecode commit: 1a77f3d1b0]
2024-01-17 10:52:48 -05:00
Aryan Salmanpour 5cd81b0a5b Remove unnecessary device id check (#180)
[ROCm/rocdecode commit: b188989f3f]
2024-01-17 10:27:06 -05:00
jeffqjiangNew 40408ce2b3 Added initial AVC parser. (#176)
* * rocDecode/AVC: Added initial AVC parser.
 - Added AVC SPS, PPS and slice header parsing functions.
 - Merged common parsing code from AVC and HEVC parsers to their super class.

* * rocDecode/AVC: Formating changes. No functional changes.

[ROCm/rocdecode commit: 395a1249c1]
2024-01-16 20:57:40 -05:00
Lakshmi Kumar e9ae320fc3 WIP: Docs - User Guide (#177)
* user guide intial

* clean up

* review comments

* clean up

* clean up

* review comments + new smaples section

[ROCm/rocdecode commit: 2e2f1e3f21]
2024-01-16 13:28:55 -08:00
Aryan Salmanpour 4c0c0a518f Add support to correctly detect the gfx name for gfx940/gfx941/gfx942 (#178)
[ROCm/rocdecode commit: fb953b4366]
2024-01-16 14:49:54 -05:00
Aryan Salmanpour a28ebcb3f2 Remove unsupported GPUs (#175)
[ROCm/rocdecode commit: 3d28911453]
2024-01-15 10:50:34 -08:00
Kiriti Gowda 66b9fe33c1 Readme - Fix (#173)
* Readme - Fix

* Fix - aligments

[ROCm/rocdecode commit: 301efb2d1b]
2024-01-12 16:18:28 -05:00
Kiriti Gowda 5125b2add5 Readme - Updates
Fix Image

[ROCm/rocdecode commit: 07dd095a6a]
2024-01-12 12:48:43 -08:00
Kiriti Gowda f1677e09b3 Readme - updates & Fixes (#172)
* Readme - updates & fixes

* Readme - Logo

* Readme - prereqs updates

[ROCm/rocdecode commit: 83b076fa1d]
2024-01-12 15:35:53 -05:00
Lakshmi Kumar c7b2172448 fixes bug with device id provided by user (#171)
* fixes bug when setting env variable

* fix for device id

[ROCm/rocdecode commit: e7be5f2bbf]
2024-01-12 14:54:44 -05:00
Lakshmi Kumar d8c4040967 fixes bug when setting env variable (#170)
[ROCm/rocdecode commit: 2a1f1d7dff]
2024-01-12 14:04:47 -05:00
Kiriti Gowda 9670ca5423 CI - Fix test (#169)
Test updates

[ROCm/rocdecode commit: 2d0a3d35f7]
2024-01-11 20:18:37 -08:00
Kiriti Gowda 35c2aff207 Jenkins - Sample (#168)
Test - Add sample to test

[ROCm/rocdecode commit: b7ad5d91d7]
2024-01-10 19:09:53 -08:00
Kiriti Gowda eeffcd41c4 Header fix (#167)
[ROCm/rocdecode commit: 69fb224027]
2024-01-10 13:46:39 -08:00
kiritigowda afaa319959 Doxy - Updates
[ROCm/rocdecode commit: 78b095af56]
2024-01-10 12:14:41 -08:00
kiritigowda 496740fd34 Documentation - Updates
[ROCm/rocdecode commit: cce46982a5]
2024-01-10 12:14:41 -08:00
Aryan Salmanpour 8512426f1b Add support for gfx1101 and gfx1102 (#165)
[ROCm/rocdecode commit: 28c00cb354]
2024-01-10 14:17:04 -05:00
Aryan Salmanpour d426118dd4 Update the dockers for ROCm 6.1.0+ (#164)
[ROCm/rocdecode commit: 28b4b90a3a]
2024-01-10 13:30:55 -05:00
jeffqjiangNew f90684cc40 * rocDecode/HEVC: Code clean up. (#163)
- Moved HEVC standard specific defines out of HevcVideoParser class to a new file.
 - Changed some namings to be more specification compliant.
 - No functional changes.

[ROCm/rocdecode commit: 2a4026470f]
2024-01-10 11:44:07 -05:00
Kiriti Gowda 347c25c6cc CI - Update common.groovy (#162)
[ROCm/rocdecode commit: 62d9052023]
2024-01-09 21:09:40 -08:00
Aryan Salmanpour 67c4d74160 videodecode sample - install the common.h in the destination (#161)
[ROCm/rocdecode commit: 64fab08b3a]
2024-01-09 20:35:19 -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 539074fe04 Jenkins - Fix install (#158)
[ROCm/rocdecode commit: 18a4cd0fc1]
2024-01-09 12:28:09 -08:00
Kiriti Gowda ad72a6132a Readme - Cleanup (#159)
[ROCm/rocdecode commit: 9c067ea979]
2024-01-09 14:11:42 -05:00
Kiriti Gowda 4fdbe3a007 ROCm 6.1.0+ - updates (#153)
* Package updates

* RHEL Updates

* Find LibDRM - Fix for rocm failure to install

* Fix dependencies

* Deps Updates

* Jenkins - Add make test to test phase

* Jenkins - Install amdgpu-dkms on CI

* Jenkins - Fix test

* Test - Release build

* Readme - Updates

[ROCm/rocdecode commit: fd27e268f0]
2024-01-09 13:43:34 -05:00