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

198 Коммитов

Автор SHA1 Сообщение Дата
Kiriti Gowda 5d77fbf40a Docs - Cleanup User Guide (#198)
* Docs - Cleanup User Guide

* Update rocDecodeUserGuide.md
2024-01-24 16:45:03 -08:00
jeffqjiangNew cd6401750e 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.
2024-01-24 18:03:46 -05:00
Kiriti Gowda f352cb7548 Update CMakeLists.txt (#197) 2024-01-24 11:57:29 -08:00
Sam Wu 3c5cf5ecba Documentation - Use custom rocm-docs-core footer, header, and stylesheets for doxysphinx (#191) 2024-01-24 10:11:14 -08:00
jeffqjiangNew 426067898c 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.
2024-01-23 17:30:29 -08:00
Hui Liu e7dbd65315 fix mem leak (#194) 2024-01-23 11:23:30 -08:00
Lakshmi Kumar a65c52bc71 fixes crashes from vaSyncSurface call (#195) 2024-01-22 15:43:11 -08:00
Lakshmi Kumar 6ae9ba8be2 fixes missing variable (#193) 2024-01-22 15:18:02 -05:00
Lakshmi Kumar 1393311656 fixes mesa warning/error (#192)
* fixes mesa warning/error

* merge conflicts
2024-01-22 12:00:06 -08:00
Rajy Rawther 51ecd8fccf fix for hipOutOfMem bug when decoding large videos (#189)
* fix for issue 441908
2024-01-19 09:46:02 -08:00
jeffqjiangNew cf82317396 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.
2024-01-18 11:31:54 -08:00
Rajy Rawther 37e2725fec Rr/rocdec doc update (#188)
* update rocdec user guide

* minor change

* addressed review comment
2024-01-18 09:00:33 -08:00
Lakshmi Kumar 8ec38d2d24 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
2024-01-17 22:57:31 -05:00
jeffqjiangNew a7bb9953c6 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.
2024-01-17 14:24:58 -05:00
Aryan Salmanpour f7997b716d 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
2024-01-17 14:00:54 -05:00
Lakshmi Kumar d42e19cbfd 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
2024-01-17 10:38:42 -08:00
Aryan Salmanpour f7fce4d9b4 Print the vaapi error name string instead of the vaapi status integer for better clarity if a vaapi failure occurs (#182) 2024-01-17 11:06:34 -05:00
Aryan Salmanpour 1a77f3d1b0 Print the hip error name string instead of the hip status integer for better clarity of a hip failure occurs (#181) 2024-01-17 10:52:48 -05:00
Aryan Salmanpour b188989f3f Remove unnecessary device id check (#180) 2024-01-17 10:27:06 -05:00
jeffqjiangNew 395a1249c1 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.
2024-01-16 20:57:40 -05:00
Lakshmi Kumar 2e2f1e3f21 WIP: Docs - User Guide (#177)
* user guide intial

* clean up

* review comments

* clean up

* clean up

* review comments + new smaples section
2024-01-16 13:28:55 -08:00
Aryan Salmanpour fb953b4366 Add support to correctly detect the gfx name for gfx940/gfx941/gfx942 (#178) 2024-01-16 14:49:54 -05:00
Aryan Salmanpour 3d28911453 Remove unsupported GPUs (#175) 2024-01-15 10:50:34 -08:00
Kiriti Gowda 301efb2d1b Readme - Fix (#173)
* Readme - Fix

* Fix - aligments
2024-01-12 16:18:28 -05:00
Kiriti Gowda 07dd095a6a Readme - Updates
Fix Image
2024-01-12 12:48:43 -08:00
Kiriti Gowda 83b076fa1d Readme - updates & Fixes (#172)
* Readme - updates & fixes

* Readme - Logo

* Readme - prereqs updates
2024-01-12 15:35:53 -05:00
Lakshmi Kumar e7be5f2bbf fixes bug with device id provided by user (#171)
* fixes bug when setting env variable

* fix for device id
2024-01-12 14:54:44 -05:00
Lakshmi Kumar 2a1f1d7dff fixes bug when setting env variable (#170) 2024-01-12 14:04:47 -05:00
Kiriti Gowda 2d0a3d35f7 CI - Fix test (#169)
Test updates
2024-01-11 20:18:37 -08:00
Kiriti Gowda b7ad5d91d7 Jenkins - Sample (#168)
Test - Add sample to test
2024-01-10 19:09:53 -08:00
Kiriti Gowda 69fb224027 Header fix (#167) 2024-01-10 13:46:39 -08:00
kiritigowda 78b095af56 Doxy - Updates 2024-01-10 12:14:41 -08:00
kiritigowda cce46982a5 Documentation - Updates 2024-01-10 12:14:41 -08:00
Aryan Salmanpour 28c00cb354 Add support for gfx1101 and gfx1102 (#165) 2024-01-10 14:17:04 -05:00
Aryan Salmanpour 28b4b90a3a Update the dockers for ROCm 6.1.0+ (#164) 2024-01-10 13:30:55 -05:00
jeffqjiangNew 2a4026470f * 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.
2024-01-10 11:44:07 -05:00
Kiriti Gowda 62d9052023 CI - Update common.groovy (#162) 2024-01-09 21:09:40 -08:00
Aryan Salmanpour 64fab08b3a videodecode sample - install the common.h in the destination (#161) 2024-01-09 20:35:19 -08:00
jeffqjiangNew 04fe74f390 * rocDecode: Updated Copyright message for 2024. (#160) 2024-01-09 20:47:16 -05:00
Kiriti Gowda 18a4cd0fc1 Jenkins - Fix install (#158) 2024-01-09 12:28:09 -08:00
Kiriti Gowda 9c067ea979 Readme - Cleanup (#159) 2024-01-09 14:11:42 -05:00
Kiriti Gowda fd27e268f0 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
2024-01-09 13:43:34 -05:00
Aryan Salmanpour 2f2e66679b CMakeLists code cleanup - dont link to hip::device if there is nt any hip kernles for compilation (#156) 2024-01-09 11:51:52 -05:00
jeffqjiangNew ccd813a2da Decoder reconfigure fixes. (#157)
* * rocDecode/HEVC: Fixed a couple of issues with reconfiguration of decoder when video size is changed.
  - Picture width and height variables were interchangeably used to represent coded picture size and display size, resulting reconfiguration errors. Now we use different variables to represent coded and display sizes.
  - Fixed a file overwriting issue in video size change case, where the display size can remain the same when coded size changes with specific cropping offsets.

* * rocDecode/HEVC: Added some fixes to decoder reconfiguration.
  - Added support for MD5 calculation in reconfigure flush callback. This fixed MD5 check failure on conformance streams with size changes.
  - Fixed total decoded frame number report with reconfigure when file dump or MD5 is not enabled. We need to call flush with reconfigure unconditionally (but with different actions).
  - Added the missing reconfigure flush when coded size is not changed but display size is changed.

* * rocDecode/HEVC: Corrected an error in GetDecodedWidth() method. Should use coded_width_, instead of disp_width_.
2024-01-09 10:51:30 -05:00
Aryan Salmanpour c464236bdc Add multi-threaingd support for videodecodergb sample (#154) 2024-01-08 15:02:43 -05:00
Aryan Salmanpour 224e98ab2d code cleanup - remove unused hipstream from the RocDecoder class (#155) 2024-01-08 14:54:28 -05:00
Aryan Salmanpour dd738aef48 Use a dedicated hip stream for launching hip kernels for color space conversion (#152) 2024-01-05 12:55:46 -05:00
jeffqjiangNew c5483c751e Fixed a couple of errors in long term reference picture set parsing and long term reference picture list construction. (#151)
* * rocDecode/HEVC: Fixed a couple of errors in long term reference picture set parsing and long term reference picture list construction.

* * rocDecode/HEVC: Coding format change: removed newline in front of else statements. No functional changes.
2024-01-05 09:15:33 -05:00
jeffqjiangNew 33d6b37ddb * rocDecode/HEVC: Fixed a bug in destroy data buffer function in VAAPI layer. (#150)
- We have to clear the buffer id after destroying it. Without this clearing, we will encounter VAAPI buffer destroy failure on certain conformance streams where scaling list is signaled dynamically. In this case, we create different number of data buffers on different frames. If we do not clear the buffer id when destroying it, a dummy scaling list buffer id will have the same value as another buffer, resulting double destroy.
2024-01-02 15:56:18 -05:00
jeffqjiangNew 6db0b79144 * rocDecode/HEVC: Fixed an issue in reference list reconstruction. (#149)
- Removed a size check which was put in in early bring up stage and causes some conformance stream failures.
  - Also capped the DPB buffer size to 16 when we increase it from the spec value.
2024-01-02 15:55:52 -05:00