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

216 Коммитов

Автор SHA1 Сообщение Дата
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
jeffqjiangNew 40408ce2b3 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.

[ROCm/rocdecode commit: 395a1249c1]
2024-01-16 20:57:40 -05:00
Lakshmi Kumar e9ae320fc3 WIP: Docs - User Guide (#177)
* user guide intial

* clean up

* review comments

* clean up

* clean up

* review comments + new smaples section

[ROCm/rocdecode commit: 2e2f1e3f21]
2024-01-16 13:28:55 -08:00
Aryan Salmanpour 4c0c0a518f Add support to correctly detect the gfx name for gfx940/gfx941/gfx942 (#178)
[ROCm/rocdecode commit: fb953b4366]
2024-01-16 14:49:54 -05:00
Aryan Salmanpour a28ebcb3f2 Remove unsupported GPUs (#175)
[ROCm/rocdecode commit: 3d28911453]
2024-01-15 10:50:34 -08:00
Kiriti Gowda 66b9fe33c1 Readme - Fix (#173)
* Readme - Fix

* Fix - aligments

[ROCm/rocdecode commit: 301efb2d1b]
2024-01-12 16:18:28 -05:00
Kiriti Gowda 5125b2add5 Readme - Updates
Fix Image

[ROCm/rocdecode commit: 07dd095a6a]
2024-01-12 12:48:43 -08:00
Kiriti Gowda f1677e09b3 Readme - updates & Fixes (#172)
* Readme - updates & fixes

* Readme - Logo

* Readme - prereqs updates

[ROCm/rocdecode commit: 83b076fa1d]
2024-01-12 15:35:53 -05:00
Lakshmi Kumar c7b2172448 fixes bug with device id provided by user (#171)
* fixes bug when setting env variable

* fix for device id

[ROCm/rocdecode commit: e7be5f2bbf]
2024-01-12 14:54:44 -05:00
Lakshmi Kumar d8c4040967 fixes bug when setting env variable (#170)
[ROCm/rocdecode commit: 2a1f1d7dff]
2024-01-12 14:04:47 -05:00