575 Commity

Autor SHA1 Zpráva Datum
Kiriti Gowda 34f1cc3b8f Dynamic Link Libraries - updates (#23)
* DRM - deps updates

* Link Libraries - Updates & cleanup

* LibDRM - Find in SLES fix

* Make Test - Fix Failures

[ROCm/rocdecode commit: 2af10a5d80]
2023-10-25 18:56:36 -04:00
jeffqjiangNew ea743aa3af Merge a few fixes and updates of HEVC parsing into main. (#24)
* rocDecode/HEVC parsing: Implemented correct logic to set active VPS, SPS and PPS: start from slice header and up. Added video image size change detection. Fixed slice_segment_address bits calculation in slice segment header parsing.

* rocDecode/HEVC: Changed variable naming to Google style.

* rocDecode/HEVC: Added VPS, SPS, PPS, and slice segment header content logging functions for debug purposes.

* rocDecode/HEVC: Compacted opening bracket lines to keep coding style consistency.

* * rocDecode/HEVC: Fixed an issue in profile-tier-level parsing where 44 bits are skipped in an incorrect way using ReadBits() which can only consume 32 bits max. Also formated SPS parsing code by using pointer instead of array element.

* * rocDecode/HEVC: Fixed the incorrect array size for sps_max_dec_pic_buffering_minus1, sps_max_num_reorder_pics and sps_max_num_reorder_pics in SPS structure define.

* * rocDecode/HEVC: Modified scaling list parsing to make sure we explicitly follow the spec.

* * rocDecode/HEVC: Added a few syntax elements to short team RPS structure, updated RPS parsing function and logging function.

* * rocDecode/HEVC: In PPS parsing function, use structure pointer instead of structure array element to improve coding clarity.

* * rocDecode/HEVC: Compacted the opening bracket lines. No functional changes.

[ROCm/rocdecode commit: 8347fc7b0c]
2023-10-24 16:20:56 -04:00
Aryan Salmanpour 956857c0ae Add support for the rocDecGetDecoderCaps API (#21)
* Add support for the rocDecGetDecoderCaps API

* move the RocDecVcnCodecSpec class to a new header file

[ROCm/rocdecode commit: bf830a2678]
2023-10-24 08:40:58 -04:00
Kiriti Gowda ad26872bd5 ROCm Path - Options (#22)
[ROCm/rocdecode commit: 1a06c45b7d]
2023-10-23 16:16:53 -04:00
Rajy Rawther db6dbf7076 Rr/roc video decode class (#20)
* WIP: class implementation

* add more definitions

* rocvideodecode implementation

* formatting fixes

* address review comments

[ROCm/rocdecode commit: d0e6743872]
2023-10-23 12:16:45 -04:00
jeffqjiangNew 9b158f2b07 Add debug functions to log parsed parameter set and header content. (#19)
* rocDecode/HEVC parsing: Implemented correct logic to set active VPS, SPS and PPS: start from slice header and up. Added video image size change detection. Fixed slice_segment_address bits calculation in slice segment header parsing.

* rocDecode/HEVC: Changed variable naming to Google style.

* rocDecode/HEVC: Added VPS, SPS, PPS, and slice segment header content logging functions for debug purposes.

* rocDecode/HEVC: Compacted opening bracket lines to keep coding style consistency.

[ROCm/rocdecode commit: ebe1748888]
2023-10-20 10:39:21 -04:00
jeffqjiangNew b51ce09f9b Jj/hevc decode wip (#18)
* rocDecode/HEVC parsing: Implemented correct logic to set active VPS, SPS and PPS: start from slice header and up. Added video image size change detection. Fixed slice_segment_address bits calculation in slice segment header parsing.

* rocDecode/HEVC: Changed variable naming to Google style.

[ROCm/rocdecode commit: 94ff35e03c]
2023-10-19 14:07:36 -04:00
Lakshmi Kumar 97c97bcf39 bug fixes from merging (#17)
[ROCm/rocdecode commit: 856611768f]
2023-10-18 18:36:19 -04:00
Lakshmi Kumar 2fb59a95af Hevc parser (#15)
* basic parser create

* adding data_stream

* buildable parser

* query output and required fucntions

* latest changes

* alloc buffer and other functions

* parses first frame

* parser finds all frames

* parser dump size correct - dump file included

* clean up

* merge conflicts and file restructure

* uses updated video demuxer

* undoing changes to sample app

* cleaning code

* cleaning code

* removing dwarf flag from compile

* formatting changes

* change variable names as per google standard

* struct naming convention

* struct name

* remove parser data class and combine into parser buffer

* remove context class and clean up

* remove log file and use commons

* move class to .h file

* removing unused functions

* removes platform.h

* removing datastream class

* formatting

* remove byte_array, rename enums

* clean up

* spacing

* rearrange to fit master

* removes bit_strea_parser class, combines common stuff to roc_video_parser file

* new commit for hevc parser

* taking changes from AVC parser

* rocDecode/HEVC parser: Added frame data parsing support.

* rocDeocde/HEVC parser: Fixed bit offset settings in SPS/PPS/Slice header parsing.

* clean code

* bug fix, comments fo doxygen, clean up

* remove unnecessary files

* reverting to original sample

* resolve merge conflicts

* fix missing code

* bug fixes from merge conflicts

* remove unnecessary files

* clean up

---------

Co-authored-by: Jeff JIang <jeffq.jiang@amd.com>

[ROCm/rocdecode commit: a1506f7ddb]
2023-10-18 09:01:44 -04:00
Aryan Salmanpour 805fca702b Add initialization of the roc_decoder member variable in the DecHandle class constructor. (#13)
[ROCm/rocdecode commit: e5dec6dff4]
2023-10-13 15:53:35 -04:00
Kiriti Gowda d94dd49f67 CI - run setup.py (#14)
Fix typo

[ROCm/rocdecode commit: 8bab60ee0f]
2023-10-12 19:12:01 -04:00
Kiriti Gowda d999d85964 Package & Tests - ROCm Release Updates (#11)
* rocDecode Updates

* Doxygen - Fix

* CMakeLists - Fix

* Jenkins - Files

* Samples - Fix

* CTest - Fix

* Changelog - Added

* Fix - Review comments

[ROCm/rocdecode commit: aa72eb1996]
2023-10-12 17:08:12 -04:00
Lakshmi Kumar 04f3ecc0e9 HEVC Parser (#9)
* basic parser create

* adding data_stream

* buildable parser

* query output and required fucntions

* latest changes

* alloc buffer and other functions

* parses first frame

* parser finds all frames

* parser dump size correct - dump file included

* clean up

* merge conflicts and file restructure

* uses updated video demuxer

* undoing changes to sample app

* cleaning code

* cleaning code

* removing dwarf flag from compile

* formatting changes

* change variable names as per google standard

* struct naming convention

* struct name

* remove parser data class and combine into parser buffer

* remove context class and clean up

* remove log file and use commons

* move class to .h file

* removing unused functions

* removes platform.h

* removing datastream class

* formatting

* remove byte_array, rename enums

* clean up

* spacing

* rearrange to fit master

* removes bit_strea_parser class, combines common stuff to roc_video_parser file

[ROCm/rocdecode commit: 4ca0d02bb0]
2023-10-05 11:20:07 -04:00
Rajy Rawther dcc6ee9f2a parser high level class implementation (#10)
* rocDecode api defintions added for decoder and parser

* addressed review comments and changed struct names to CamelCase

* minot reformatting

* parser high level class implementation

[ROCm/rocdecode commit: 0a991c1776]
2023-09-27 15:14:28 -04:00
Aryan 392298f111 update readme fand dockers fr adding oinstallation ption to exclude 32 bit pgraphics pckage, add update dockers to 5.7
[ROCm/rocdecode commit: 0d64288559]
2023-09-19 10:33:24 -04:00
Aryan Salmanpour 6f06137ef6 clean up the VideoDemuxer class to make it follow the Google c++ style (#7)
[ROCm/rocdecode commit: b05e69b953]
2023-09-15 14:19:14 -04:00
Rajy Rawther 4e71d63a50 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

[ROCm/rocdecode commit: 4ea67e279d]
2023-09-14 10:33:28 -04:00
jeffqjiangNew d7cc20e42f Fix a link error when building the sample apps. (#5)
[ROCm/rocdecode commit: 3767aae7a1]
2023-09-13 11:16:28 -04:00
rrawther 3166c5a793 fix for formatting
[ROCm/rocdecode commit: 79c338fc72]
2023-08-21 14:32:36 -07:00
rrawther 203a84ced0 address review comments and some other code formatting
[ROCm/rocdecode commit: 8f692d8118]
2023-08-21 11:38:17 -07:00
rrawther c522837dcc added api initial implementation
[ROCm/rocdecode commit: 35f7154e0c]
2023-08-14 14:14:09 -07:00
Aryan dce0c0ab0f update ReadME
[ROCm/rocdecode commit: ac3bd4fe2a]
2023-07-26 18:09:01 -04:00
Aryan 5b112f2c5c Add initial cmake support for building the rocdecode library
[ROCm/rocdecode commit: 1ba367988d]
2023-07-26 17:47:47 -04:00
Rajy Rawther 912031c592 rocDecode repo initial commit (#1)
* rocDecode repo initial commit

* resolve review comments

[ROCm/rocdecode commit: 5b305a56ae]
2023-06-22 12:39:54 -04:00
Kiriti Gowda 5ce57d3395 Initial commit
[ROCm/rocdecode commit: 9a5e97c783]
2023-06-12 14:45:01 -07:00