Aryan Salmanpour
e90a93eb4a
use the error code of VA_STATUS_ERROR_TIMEDOUT to avoid build failure with older va headers ( #211 )
2024-01-30 13:33:53 -05:00
jeffqjiangNew
a55b967f86
* rocDecode: Removed warning message about vaSyncSurface() time out error. ( #209 )
2024-01-29 14:21:21 -05:00
Lakshmi Kumar
43481ce36b
Samples - Clean up and bug fixes ( #203 )
...
* clean up samples
* fixes error seen in videoDecodeMem app with big files
2024-01-29 12:58:00 -05:00
jeffqjiangNew
6bd8509bec
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.
2024-01-29 12:09:36 -05:00
Kiriti Gowda
6658070d1c
Samples - Updates ( #206 )
...
* Samples - Updates
* Readme - samples
2024-01-26 10:38:20 -08:00
jeffqjiangNew
10e3f0aeec
* 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.
2024-01-26 11:48:30 -05:00
Kiriti Gowda
2298d93990
Samples - Docs Updated ( #204 )
2024-01-26 05:19:24 -08:00
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