Gráfico de Commits

86 Commits

Autor SHA1 Mensagem Data
dependabot[bot] 68e604ecfa Bump rocm-docs-core[api_reference] from 0.28.0 to 0.29.0 in /docs/sphinx (#84)
Bumps [rocm-docs-core[api_reference]](https://github.com/RadeonOpenCompute/rocm-docs-core) from 0.28.0 to 0.29.0.
- [Release notes](https://github.com/RadeonOpenCompute/rocm-docs-core/releases)
- [Changelog](https://github.com/RadeonOpenCompute/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/RadeonOpenCompute/rocm-docs-core/compare/v0.28.0...v0.29.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[ROCm/rocdecode commit: 4bbd0a68e7]
2023-11-27 13:09:00 -05:00
Aryan Salmanpour 729a6db0cb Return an error if the ExportSurface function fails. Add extra error logging in the destructor of the VaapiVideoDecoder class (#87)
[ROCm/rocdecode commit: e5d5bd4abb]
2023-11-27 13:08:34 -05:00
jeffqjiangNew 7035965722 End of stream flush (#86)
* * rocDecode/HEVC: Added picture output operation in DPB and display callback function.
  - To avoid serialization of decode submissions and/or display callback in certain cases, increased DPB buffer size by 1 and tweaked picture bumping procedure.

* * rocDecode/HEVC: Added flushing of the remaining pictures from DPB at the end of decode session.

* * rocDecode/HEVC: Changed output_pic_num to num_output_pics to void some confusion. Set top_field_first to 1.

* * rocDecode/HEVC: Added a few return error checks.

[ROCm/rocdecode commit: 624c3c0f09]
2023-11-27 13:03:26 -05:00
Aryan Salmanpour 049100d761 D not fuse - zwhen runnnin gthesmake test. Don't force b_force_latency ofr Perf/Fork sample (#85)
[ROCm/rocdecode commit: 8898af78a6]
2023-11-27 12:33:28 -05:00
jeffqjiangNew 8b432bce65 Added picture output operation in DPB and display callback function. (#83)
* * rocDecode/HEVC: Added picture output operation in DPB and display callback function.
  - To avoid serialization of decode submissions and/or display callback in certain cases, increased DPB buffer size by 1 and tweaked picture bumping procedure.

* * rocDecode/HEVC: Added a few error checks and minor format changes.

[ROCm/rocdecode commit: 57c040eff8]
2023-11-27 11:04:01 -05:00
Kiriti Gowda 7f11bd390e Package - updates (#81)
* Package - updates

* Package - Info

[ROCm/rocdecode commit: 90e6d30383]
2023-11-23 08:57:45 -05:00
Aryan Salmanpour 57adcafc94 Fix a bug in VideoDecodePerf app to cepturn he number of decoded frames (#82)
[ROCm/rocdecode commit: a8e39c95c9]
2023-11-22 17:35:52 -05:00
Kiriti Gowda 8ca939cee5 Documentation - ReadtheDocs
Add configuration for ReadtheDocs

[ROCm/rocdecode commit: e2f7e47bb3]
2023-11-21 14:46:20 -08:00
Sam Wu eb47107727 Add configuration for ReadtheDocs
[ROCm/rocdecode commit: 3f7e3fe7d8]
2023-11-21 13:25:56 -07:00
jeffqjiangNew 67c9ea1983 Re-enabled SEI message processing. (#79)
* * rocDecode/HEVC: Re-enabled SEI message processing.
  - Added "-sei" command option to extract SEI messages from stream.
  - Added support for SEI info parsing for multiple SEI NAL units with multiple payloads.
  - Fixed a SEI syntax parsing issue and several procssing issues.
  - Fixed a double free memory issue in SEI data buffer handling in HandlePictureDisplay().

* * rocDecode/HEVC: Coding format changes.

* * rocDecode/HEVC: Minor format changes.

[ROCm/rocdecode commit: ad186a90da]
2023-11-21 14:33:15 -05:00
Rajy Rawther 6918fb07c4 Rr/check sei function pointer (#78)
* commending out ParseSeiMessage because it is causing segfault

* CMake changes for valgrind

* added function pointer validity for sei callback

* fix review comments

[ROCm/rocdecode commit: 012f96c8c5]
2023-11-21 11:23:47 -05:00
Rajy Rawther 2639f74e4a rr: Add debug flags for valgrind (#77)
* commending out ParseSeiMessage because it is causing segfault

* CMake changes for valgrind

[ROCm/rocdecode commit: 628e1d2610]
2023-11-20 12:07:13 -05:00
Rajy Rawther e925faf9fe commending out ParseSeiMessage because it is causing segfault (#76)
[ROCm/rocdecode commit: 210976616f]
2023-11-17 20:56:05 -05:00
Rajy Rawther 13654ccef6 Rr/parser clean up (#75)
* minor clean_up on parser struct allocation

* minor clean_up

* address review comments

[ROCm/rocdecode commit: cbf6857f74]
2023-11-17 20:55:53 -05:00
Rajy Rawther d77c19c254 Rr/vaapi decoder mem check (#74)
* add some checks for buffer requirements

* address review comments

[ROCm/rocdecode commit: 81abe58fb4]
2023-11-17 17:33:12 -05:00
jeffqjiangNew 43a70df640 * rocDecode/HEVC: Removed parsing of entry_point_offset_minus1[] and beyond in slice header since these syntax elements are not used by HW decode. (#73)
[ROCm/rocdecode commit: c528f46843]
2023-11-17 15:59:29 -05:00
jeffqjiangNew 6ec565f17b * rocDecode/HEVC: Fixed the segmentation fault at the end of decode session on stream chimei_demo_1080p_h265_60fps.mp4 or similar streams. (#72)
Root cause: num_entry_point_offsets in the slice header of frame #2164 is 674, exceeding the entry_point_offset_minus1[440] array size. Parser writes beyond the array boundary, corrupting memory. Frame #2164 is not in conformance of the HEVC spec.

We need to put the constraint from the spec on the num_entry_point_offsets parsed from the stream. Also need to change the array size to the max possible for 8K.

[ROCm/rocdecode commit: b6d0c41a59]
2023-11-17 12:57:19 -05:00
Aryan Salmanpour 4bfd23aa13 Code clean up - remove unused headers from demuxer, unused ffmpeg dependencies, and redundent info from videodecode sample (#71)
[ROCm/rocdecode commit: 071b37b3bd]
2023-11-17 12:46:27 -05:00
Kiriti Gowda 9b062a4f57 Dev Package - Add FFMPEG Deps (#70)
* Dev Package - Add FFMPEG Deps

* Print Deps

* Deps Fix

* CI - Package Details

[ROCm/rocdecode commit: b94b4f7947]
2023-11-16 16:34:47 -05:00
Aryan Salmanpour f62b0fa617 Add additional debug info if we couldn't find the matching pic in reference list and return error (#69)
* Add additional debug info if we couldn't find the matching pic in refrence list and return error

* Correct the debug info message

[ROCm/rocdecode commit: 5d5db9a017]
2023-11-16 12:39:23 -05:00
Aryan Salmanpour efc870b974 update the videodecode sample to call GetFrame/ReleaseFrame regradless of dumping frames (#68)
[ROCm/rocdecode commit: 28c86ba813]
2023-11-16 12:08:15 -05:00
Kiriti Gowda 606189387d rocDecode - runtime, dev, ASAN package (#52)
* rocDecode - runtime, dev, ASAN

* Package - Updates & cleanup

* Package - Fix

* Package - Deps Info

* rocDecode - Package Depends Cleanup

* CI - Verify Runtime & Dev Packages

* Jenkins - Save all built packages

* Jenkins - Groovy Updates

* Package - Cleanup

* CMakeList - updates

* CI - save all packages

* CI - Save Test Logs

[ROCm/rocdecode commit: f67f9033c8]
2023-11-15 21:32:10 -05:00
jeffqjiangNew b961ebfe19 IRAP POC calculation fix. (#66)
* * rocDecode/HEVC: Fixed a bug in IRAP picture order count calculation. Added a few picture type check utilities.

* * rocDecode/HEVC: Minor coding style changes. No functional changes.

[ROCm/rocdecode commit: 69c2243c9c]
2023-11-15 16:07:18 -05:00
Aryan Salmanpour 0a166ff271 code cleanup - use google style for videodecode sample and RocVideoDecoder class - no functional change (#65)
* code cleanup - use google style for videodecode sample and RocVideoDecoder class - no functional change

* rename SaveSurfToFile to SaveFrameToFile

[ROCm/rocdecode commit: 851c537904]
2023-11-15 15:49:16 -05:00
Rajy Rawther c15be83df5 Rr/fix output surface dims (#64)
* fix output surface dimensions

* fix bug

[ROCm/rocdecode commit: a4652d6a53]
2023-11-15 13:46:37 -05:00
Aryan Salmanpour 817b9f44af Update the make test and Readme by removing the H.264 (#63)
[ROCm/rocdecode commit: c44a000c73]
2023-11-15 10:57:55 -05:00
jeffqjiangNew 463ed05a63 Do not set up slice ref list for intra frames for VAAPI calls. (#62)
* * rocDecode/HEVC: Do not set up slice ref list for intra frames.

* *rocDecode/HEVC: Condensed slice type check code. No functionaly changes.

[ROCm/rocdecode commit: 1d4f038695]
2023-11-14 15:44:35 -05:00
jeffqjiangNew 9d9ac34a91 * rocDecode/HEVC: Fixed a few issues in reference list setup. Also looks like we need to use VA surface IDs on all buffers including the reference (need to confirm with VA driver team). (#61)
[ROCm/rocdecode commit: 3357aba104]
2023-11-14 11:42:13 -05:00
Aryan Salmanpour 64441167c4 Fix a seg fault when saving a frame in SaveSurfToFile (#60)
[ROCm/rocdecode commit: 592426595e]
2023-11-13 14:38:29 -05:00
Rajy Rawther 4c7210745f Rr/add low latency (#59)
* added picture_index associated with frame and fixed bug

* added option to force low_latency display

* add force_zero_latency option for videodecode sample

[ROCm/rocdecode commit: d163eb1764]
2023-11-13 13:53:19 -05:00
Aryan Salmanpour e86c9487b5 Add support for the rocDecUnMapVideoFrame API (#58)
[ROCm/rocdecode commit: eb5614d250]
2023-11-13 12:54:32 -05:00
Rajy Rawther 97c86ddac2 added picture_index associated with frame and fixed bug (#56)
[ROCm/rocdecode commit: ddded3a6d2]
2023-11-13 12:22:22 -05:00
Aryan Salmanpour 77481cf7e0 Close fds after importing the surVAAPI face to HIP memory (#55)
[ROCm/rocdecode commit: 730b80b600]
2023-11-10 18:24:21 -05:00
jeffqjiangNew 30c4df3af1 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.

[ROCm/rocdecode commit: 3c7f29dab4]
2023-11-10 17:15:47 -05:00
Aryan Salmanpour 9ac1a081de Add support for rocDecMapVideoFrame API (#53)
[ROCm/rocdecode commit: 7a90c0c054]
2023-11-10 17:02:57 -05:00
Rajy Rawther 59c03a8df3 fix exception handling to gracefully exit (#49)
* fix exception handling to gracefully exit

* addressed review comments

[ROCm/rocdecode commit: 55ebf353cc]
2023-11-10 15:44:40 -05:00
Lakshmi Kumar def60bd433 Add a sample for measuring the video decoding performance using multi-forks (#51)
* fork example

* review comments

* change logic to find vcn

[ROCm/rocdecode commit: 146d243f69]
2023-11-10 11:28:24 -05:00
Lakshmi Kumar a1d39cf9f9 Add a sample for measuring the video decoding performance using multi-threads (#50)
* introducing perf example

* chnages for google standards

* adding exception handling

* review comments

* change logic to find vcn devices

* adding comments

[ROCm/rocdecode commit: 5bac02fab3]
2023-11-10 11:23:44 -05:00
jeffqjiangNew 0b39cc1c2c * rocDecode/HEVC: Fixed a regression introduced by PR#30. We should not abort parsing when we see NAL unit types that we are not interested in. Instead, we should just ignore and continue. (#48)
[ROCm/rocdecode commit: 80845837af]
2023-11-09 14:57:22 -05:00
jeffqjiangNew 7db33e7837 Decode callback implementation step 3: completion. (#47)
* * rocDecode/HEVC: Filled HEVC picture parameter structures for decode callback. Added some missing inferences in tile size and weighted prediction table parsing.

* * rocDecode/HEVC: Changed CurrPicIdx assignment from POC to pic_idx.

* * rocDecode/HEVC: Rmoved one TODO comment, which has been done.

* * rocDecode/HEVC: Corrected two typos in comment.

* * rocDecode/HEVC: No need to set up scaling lists in decode callback when scaling list is not enabled.

[ROCm/rocdecode commit: 8ed03b5ad0]
2023-11-09 13:52:02 -05:00
Aryan Salmanpour d44d320717 Add support for rocDecGetDecodeStatus API (#46)
[ROCm/rocdecode commit: 6ab31ce40e]
2023-11-09 08:47:58 -05:00
Aryan Salmanpour b27fe23cd1 Return an error if the video parser creation fails (#45)
[ROCm/rocdecode commit: 9afec26af0]
2023-11-08 11:54:35 -05:00
Aryan Salmanpour d72a1ca3c5 Add support to GetDecoderCaps to correctly return decoder caps for gfx arch names with a suffix (#43)
[ROCm/rocdecode commit: 3a5fc3608b]
2023-11-08 10:25:45 -05:00
Aryan Salmanpour d9c139d2ab Add nullptr check for parser APIs before dereferencing the parser's handle (#44)
[ROCm/rocdecode commit: ecbd787e4a]
2023-11-08 10:18:17 -05:00
Aryan Salmanpour b459dc6f33 Add support for creating a vaapi context and surfaces for decoding (#41)
[ROCm/rocdecode commit: 2c940dd9d0]
2023-11-07 13:47:53 -05:00
Aryan Salmanpour e25ad867c0 Create the correct render node names on MI300A/MI300X (#38)
[ROCm/rocdecode commit: ba484a91a9]
2023-11-07 11:08:20 -05:00
jeffqjiangNew 39f7496dd3 * rocDecode/HEVC: Updated RocdecPicParams structure to align with VA-API. (#40)
[ROCm/rocdecode commit: 2f64a10c5a]
2023-11-06 22:06:03 -05:00
jeffqjiangNew 6a37f8bbb2 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.

[ROCm/rocdecode commit: f56a64d832]
2023-11-06 22:04:25 -05:00
Aryan 043eb5e602 Update README
[ROCm/rocdecode commit: cefdfb7405]
2023-11-06 12:10:12 -05:00
Kiriti Gowda 7f64bb0b61 FFMPEG - Updates (#33)
* FFMPEG - Updates

* Readme - Updates

* Sample - Install

* Install Sample Deps

* Samples - Updates

* Sample - Added missing header

[ROCm/rocdecode commit: d34d85027c]
2023-11-06 11:51:47 -05:00