575 コミット

作成者 SHA1 メッセージ 日付
Kiriti Gowda 9b14aee579 Sample - fix path & build types (#237)
[ROCm/rocdecode commit: 1881a5a61e]
2024-02-12 12:13:37 -05:00
jeffqjiangNew c919735380 * rocDecode/AVC: Added support for multiple slice parameter buffer submission for AVC multi-slice streams. (#234)
[ROCm/rocdecode commit: c496dfd3f2]
2024-02-12 10:22:42 -05:00
Aryan Salmanpour cb9f6a48ae Enable gfx941/gfx942 by default for videoDecodeRGB sample (#236)
[ROCm/rocdecode commit: de5841d249]
2024-02-12 08:35:23 -05:00
Kiriti Gowda 2b53a49b49 Jenkins - Add Perf Tests (#235)
[ROCm/rocdecode commit: 15e34577a2]
2024-02-09 19:17:57 -05:00
Lakshmi Kumar 6443588c8d remove fork example (#232)
[ROCm/rocdecode commit: 072d6fe0e2]
2024-02-09 15:46:48 -05:00
jeffqjiangNew cd37b816b6 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.

[ROCm/rocdecode commit: 00127f16f1]
2024-02-09 15:09:49 -05:00
Kiriti Gowda a726931e65 decodingPipeline.md
Remove token

[ROCm/rocdecode commit: 3211b77aff]
2024-02-09 10:41:03 -08:00
Kiriti Gowda baf62cb5e0 decodingPipeline.md - update
Fix Image

[ROCm/rocdecode commit: 1fd1223807]
2024-02-09 10:38:31 -08:00
Kiriti Gowda 1b4792c45c Doc - Updates (#231)
[ROCm/rocdecode commit: 5e5c92abb5]
2024-02-09 13:31:44 -05:00
Kiriti Gowda 7fc7a3effc Jenkins - Run Additional Tests (#230)
[ROCm/rocdecode commit: 9e6f2111c4]
2024-02-08 14:38:42 -05:00
jeffqjiangNew 4c9d73f6af * rocDecode: Set MI2xx(VCN2.6) HEVC max decode resolution to 7680x4320. (#228)
[ROCm/rocdecode commit: 2576eb4390]
2024-02-08 10:54:07 -05:00
Kiriti Gowda a7e06826ed 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>

[ROCm/rocdecode commit: adaa5f76a4]
2024-02-07 18:37:58 -08:00
Kiriti Gowda 86d067680a Conformance - CI Run Added (#227)
* Conformance - CI Run Added

* Jenkins - Fix typo

* Conformance - Fix help

[ROCm/rocdecode commit: 89001ce6f8]
2024-02-07 15:06:11 -05:00
Aryan Salmanpour d7785b3d5e Return ROCDEC_NOT_IMPLEMENTED for GetDecoderCaps API for future GPU (#224)
[ROCm/rocdecode commit: 730f3b76d4]
2024-02-06 16:18:02 -05:00
Kiriti Gowda f41f161ee1 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

[ROCm/rocdecode commit: aa3615c32b]
2024-02-06 14:45:55 -05:00
Aryan Salmanpour 881d06a244 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)
[ROCm/rocdecode commit: 15526253c7]
2024-02-06 13:35:41 -05:00
Aryan Salmanpour c7f7a7c0e8 rename roDecMapVideoFrame to rocDecoGetVideoFrame and some other minor code cleanups (#222)
[ROCm/rocdecode commit: 38f50a1a10]
2024-02-06 11:38:54 -05:00
Aryan Salmanpour 18f165e424 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

[ROCm/rocdecode commit: 929123abff]
2024-02-05 17:12:39 -05:00
Eiden Yoshida 0a15e4637a CI: Remove setup steps (#218)
[ROCm/rocdecode commit: d4e3dac5e6]
2024-02-05 11:34:06 -08:00
Pavel Tcherniaev 0ecf54230a 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>

[ROCm/rocdecode commit: fa3f21a7df]
2024-02-02 16:46:07 -05:00
jeffqjiangNew 39cc3e2a44 * rocDecode/AVC: Added initial B frame support. (#214)
- Basic B frames are decoded clean now.

[ROCm/rocdecode commit: 300be009de]
2024-02-01 09:58:00 -05:00
Kiriti Gowda f7f67bf9e2 README - Update
Image address updates

[ROCm/rocdecode commit: 203bd98ccd]
2024-01-31 17:51:10 -08:00
Kiriti Gowda f2095a35b7 Docs - Updates (#213)
* Docs - Updates

* Quick-start - Readme

* Docs - updates

* Docs - Change root

* Docs - Fix root

* cleanup

[ROCm/rocdecode commit: 53f3d68c6f]
2024-01-31 13:56:17 -08:00
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