Aryan Salmanpour
929123abff
Fix the performance issue introduced after PR#192 ( #220 )
...
* Fix the performance issue introduced after PR#192
* Destroy the current interop memories before reconfiguration
* initialize the interop to 0 after unmapping a surface
* code clean up
* check the mapped device mem/ext mem to be valid before destrying them
* code cleanup - add some comments
* make changes based on the reviewer comments
2024-02-05 17:12:39 -05: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
jeffqjiangNew
04fe74f390
* rocDecode: Updated Copyright message for 2024. ( #160 )
2024-01-09 20:47:16 -05:00
Aryan Salmanpour
b77d00e38e
Fix perf drop on some MI250 nodes - create VABuffers for every submission, and don't use vaMapBuffer/vaUnmapBuffer ( #129 )
...
* create VABuffers for every submission, and don't use vaMapBuffer/vaUnmapBuffer
* code clean up
* address review comments
2023-12-11 15:40:50 -05:00
Aryan Salmanpour
875994bb4f
Add support for rocDecReconfigureDecoder API ( #116 )
...
* Add support for rocDecReconfigureDecoder API
* adrress reviewer's comemnts
* Add doxygen comment for ReconfigureDecoder function
2023-12-05 11:16:32 -05:00
Aryan Salmanpour
3625829546
Improve logging errors for VAAPI and HIP by including the API names and the status in the logs ( #95 )
...
* Improve logging errors for VAAPI and HIP by including the API names and the status in the logs
* clean up
2023-11-28 16:52:27 -05:00
jeffqjiangNew
3c7f29dab4
Added picture decode submission to VA-API driver. ( #54 )
...
* * rocDeocde/HEVC: Added several "reserved" fields to structs to match the corresponding VA-API structs.
* * rocDecode/HEVC: Added decode submission to VA-API driver.
* * rocDecode/HEVC: Corrected data buffer id type.
2023-11-10 17:15:47 -05:00
Aryan Salmanpour
7a90c0c054
Add support for rocDecMapVideoFrame API ( #53 )
2023-11-10 17:02:57 -05:00
Aryan Salmanpour
6ab31ce40e
Add support for rocDecGetDecodeStatus API ( #46 )
2023-11-09 08:47:58 -05:00
Aryan Salmanpour
2c940dd9d0
Add support for creating a vaapi context and surfaces for decoding ( #41 )
2023-11-07 13:47:53 -05:00
Aryan Salmanpour
ba484a91a9
Create the correct render node names on MI300A/MI300X ( #38 )
2023-11-07 11:08:20 -05:00
jeffqjiangNew
f56a64d832
Decode callback step 1: Added skeleton decode callback to get the flow going. ( #39 )
...
* * rocDecode/HEVC: Added skeleton decode callback to get the flow going.
* *rocDecode/HEVC: Added error handling for decode call.
2023-11-06 22:04:25 -05:00
Aryan Salmanpour
32f854c159
Add support for rocDecCreateDecoder API ( #28 )
...
* Add support for rocDecCreateDecoder API
* check the decoder config support before initializing the vaapi
* rename RocdecDecoderCreateInfo to RocDecoderCreateInfo
* fix a typo
2023-11-01 09:22:46 -04:00
Rajy Rawther
4ea67e279d
rocDecode api defintions added for decoder and parser ( #6 )
...
* rocDecode api defintions added for decoder and parser
* addressed review comments and changed struct names to CamelCase
* minot reformatting
2023-09-14 10:33:28 -04:00