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

237 Коммитов

Автор SHA1 Сообщение Дата
Kiriti Gowda e95129ece2 VideoDecodeRGB - Failure Fix (#248)
* Sample - ROCM PATH Fix

* Sample - Add missing lib
2024-02-14 13:03:34 -05:00
Aryan Salmanpour f57594565c minor update for VideoDecodePipelin.png image (#246) 2024-02-14 13:00:23 -05:00
Aryan Salmanpour ee3829388d Fix a bug in VideoDecodeRGB for syncing between main and worker threads (#245) 2024-02-14 12:30:03 -05:00
Aryan Salmanpour d96afc62e8 Update the VideoDEcodePipeline image (#242)
* Update the VideoDEcodePipeline image

* update the file extension

* update the image to add connection between parser and decoder
2024-02-13 15:51:45 -05:00
Aryan Salmanpour c082303b2d update the README for tested rocm-core/amdgpu-core configuration (#241) 2024-02-13 15:40:31 -05:00
Aryan Salmanpour 31c7c7c104 Fix a segmentation fault on some samples when the memory type is 3 (OUT_SURFACE_MEM_NOT_MAPPED) and attempting to save the output (which is not supported) (#239)
* Fix a segmentation fault on some samples when the memory type is 3 (OUT_SURFACE_MEM_NOT_MAPPED) and attempting to save the output (which is not supported)

* update the videoDecodeMultiFiles sample

* update the readme for videoDecodeMultiFiles

* add comments

* use OUT_SURFACE_MEM_NOT_MAPPED instead of integer number 3
2024-02-12 16:50:17 -05:00
Kiriti Gowda f9ebe34662 OS - Support updates (#240) 2024-02-12 11:51:55 -08:00
Rajy Rawther 79184aeacc fix copy buffer for memory modes 1 and 2 (#238) 2024-02-12 14:32:50 -05:00
Kiriti Gowda 1881a5a61e Sample - fix path & build types (#237) 2024-02-12 12:13:37 -05:00
jeffqjiangNew c496dfd3f2 * rocDecode/AVC: Added support for multiple slice parameter buffer submission for AVC multi-slice streams. (#234) 2024-02-12 10:22:42 -05:00
Aryan Salmanpour de5841d249 Enable gfx941/gfx942 by default for videoDecodeRGB sample (#236) 2024-02-12 08:35:23 -05:00
Kiriti Gowda 15e34577a2 Jenkins - Add Perf Tests (#235) 2024-02-09 19:17:57 -05:00
Lakshmi Kumar 072d6fe0e2 remove fork example (#232) 2024-02-09 15:46:48 -05:00
jeffqjiangNew 00127f16f1 Implemented proper slice parameter buffer submission for multiple slice streams. (#226)
* * rocDecode: Implemented proper slice parameter buffer submission for multiple slice streams.
 - We were submitting single slice parameter buffer for multiple slice streams. This works for other APIs but not for VAAPI, which requires to send slice parameter buffer once per slice.
 - At step 1, all the multi-slice structures are fixed sized (256). Will make them dynamic in the next step.
 - With this change, all 135 HEVC conformance streams now pass.

* * rocDecode: Multiple slice change step 2: make the fixed size slice info structure lists dynamic.

* * rocDecode: Minor changes in comments. No functional changes.

* *rocDecode: Changed INIT_SLICE_PARAM_LIST_NUM from 256 back to 16. 256 was set during debug process.

* * rocDecode: Add suggest changes from code review.

* * rocDecode: Moved slice_params_buf_id_ initialization to class VaapiVideoDecoder declaration, as suggested by code review.
2024-02-09 15:09:49 -05:00
Kiriti Gowda 3211b77aff decodingPipeline.md
Remove token
2024-02-09 10:41:03 -08:00
Kiriti Gowda 1fd1223807 decodingPipeline.md - update
Fix Image
2024-02-09 10:38:31 -08:00
Kiriti Gowda 5e5c92abb5 Doc - Updates (#231) 2024-02-09 13:31:44 -05:00
Kiriti Gowda 9e6f2111c4 Jenkins - Run Additional Tests (#230) 2024-02-08 14:38:42 -05:00
jeffqjiangNew 2576eb4390 * rocDecode: Set MI2xx(VCN2.6) HEVC max decode resolution to 7680x4320. (#228) 2024-02-08 10:54:07 -05:00
Kiriti Gowda adaa5f76a4 rocDecode Docs - Updates (#225)
* rocDecode Docs - Updates

* Copy Fix

* Fix create dir

* Online - docs Updates

* Fix indents

* Fix indent

* Create symlink to overview

* Docs - Cleanup

---------

Co-authored-by: Sam Wu <sam.wu2@amd.com>
2024-02-07 18:37:58 -08:00
Kiriti Gowda 89001ce6f8 Conformance - CI Run Added (#227)
* Conformance - CI Run Added

* Jenkins - Fix typo

* Conformance - Fix help
2024-02-07 15:06:11 -05:00
Aryan Salmanpour 730f3b76d4 Return ROCDEC_NOT_IMPLEMENTED for GetDecoderCaps API for future GPU (#224) 2024-02-06 16:18:02 -05:00
Kiriti Gowda aa3615c32b Tests - Updated (#219)
* Tests - Updated

* Tests - CMakeList fix

* CMakeLists - Install Updates

* CMakeList - Sample fix

* Tests - Updates

* Ctest - Updates

* Ctest - compiler

* Ctest - Updates

* Ctest - fix

* Sample - Fork Removed

* Jenkins - Add Test Package Verification
2024-02-06 14:45:55 -05:00
Aryan Salmanpour 15526253c7 Enhance logging error in rocDecode library - let the upper level class prints the correct error code string instead of integer code from lower levels (#223) 2024-02-06 13:35:41 -05:00
Aryan Salmanpour 38f50a1a10 rename roDecMapVideoFrame to rocDecoGetVideoFrame and some other minor code cleanups (#222) 2024-02-06 11:38:54 -05:00
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
Eiden Yoshida d4e3dac5e6 CI: Remove setup steps (#218) 2024-02-05 11:34:06 -08:00
Pavel Tcherniaev fa3f21a7df fixed syntax error in videodecodefork.cpp, was missing a semicolon at the end of a line (#217)
Co-authored-by: kjayapra-amd <karthik.jayaprakash@amd.com>
2024-02-02 16:46:07 -05:00
jeffqjiangNew 300be009de * rocDecode/AVC: Added initial B frame support. (#214)
- Basic B frames are decoded clean now.
2024-02-01 09:58:00 -05:00
Kiriti Gowda 203bd98ccd README - Update
Image address updates
2024-01-31 17:51:10 -08:00
Kiriti Gowda 53f3d68c6f Docs - Updates (#213)
* Docs - Updates

* Quick-start - Readme

* Docs - updates

* Docs - Change root

* Docs - Fix root

* cleanup
2024-01-31 13:56:17 -08:00
jeffqjiangNew 90cddfe655 * 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.
2024-01-31 09:10:41 -05:00
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