Skip to content

Conversation

@kiritigowda
Copy link
Collaborator

Important

RM approval required for merge

Motivation

Required changes to fix version mismatch in FFmpeg between build and target systems

Technical Details

Building rocdecode package on AlmaLinux/ManyLinux to launch packages on target devices with other flavor of linux will create issues with version of FFmpeg

Fix is separate the host and device packages, with samples to support tests for target without FFmpeg

Test Plan

CTest

Test Result

All tests should pass

Submission Checklist

jeffqjiangNew and others added 15 commits October 31, 2025 20:50
* * rocDecode: Added logging control
 - Message output from the core components is now controlled by the logging level, which can be set by an environment variable or other methods.

* * rocDecode/Logging control: Fixed a typo.

* * rocDecode/Logging control: Removed reference to the logger class from RocVideoDecoder utility, which results in build error on non-source install environment.

* * rocDecode/Logging control: Improved some wording in the docs.
- Fixed the build error with videodecodepicfiles sample.
 - Added error handling of sample app command option combination of memory type OUT_SURFACE_MEM_NOT_MAPPED and MD5 generation.
* rocDecode host - Package

* Host Package - Added

* Readme - Host updates

* Changelog - Updates
* Updated core docs + Doxyfile

* fixed issues, renamed a file, deleted unused files

* added hip-dev as a requirement for 7.2

* updated with Jeff's review

* updated getvideoframe description

* Update docs/reference/rocDecode-parser.rst

Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>

* Update docs/how-to/using-rocDecode-video-decoder.rst

Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>

* updated with Leo's feedback

* fixed a wrong link in toc

---------

Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>
* Tests and samples - bugfixes

* CMakeLists - add CMAKE_MODULE_PATH

* Fix header - Host

* Host - decouple

* Host Utils - Reset

* Test - enable advanced test with host lib
* Host decouple - samples and test

* Host - install utils with dev

* Host - Install host files in core temp
* Add support for TheRock compatibility

* Update the version

* code clean up

* clean up
* Add ${CMAKE_CURRENT_SOURCE_DIR} over ${CMAKE_SOURCE_DIR} where required

* Address review comments
* TheRock compatibility - Devicelib Support

* clean up
…ode-host from it (#685)

* Add rocdecDecode to the ctest and decouple the rocdecode-host from it

* clean up
…687)

* * rocDecode: Fixed the incorrect MD5 results when user crop is enabled.
 - When the user cropping is enabled, the cropping rect needs to be sent to the output surface info struct, which is used by the MD5 calculation.

* * rocDecode: Minor change based on review comment.
* * rocDecode/rocdecdecode sample: Fixed the crash issue on AVC streams.
 - We need to set bit depth to 8 when creating the initial decoder. This allows all codec types to be accommodated. Other bit depths can be supported in decoder reconfig later.

* * rocDecode/rocdecdecode sample: Changed program stop from harsh abort to graceful exit, when critial error occurs.

* * rocDecode/rocdecdecode sample: Minor change based on review comment.
@kiritigowda kiritigowda self-assigned this Jan 12, 2026
@kiritigowda kiritigowda requested a review from a team as a code owner January 12, 2026 18:59
@kiritigowda kiritigowda added the enhancement New feature or request label Jan 12, 2026
@kiritigowda kiritigowda added bugfix ci:precheckin run mainline precheckin CI job labels Jan 12, 2026
@codecov
Copy link

codecov bot commented Jan 16, 2026

Codecov Report

❌ Patch coverage is 38.69565% with 141 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/rocdecode/vaapi/vaapi_videodecoder.cpp 18.18% 36 Missing ⚠️
src/commons.h 46.34% 22 Missing ⚠️
src/parser/av1_parser.cpp 57.14% 18 Missing ⚠️
src/parser/avc_parser.cpp 42.31% 15 Missing ⚠️
src/parser/vp9_parser.cpp 37.50% 15 Missing ⚠️
src/parser/hevc_parser.cpp 31.58% 13 Missing ⚠️
src/rocdecode/roc_decoder.cpp 50.00% 5 Missing ⚠️
src/rocdecode/rocdecode_api.cpp 16.67% 5 Missing ⚠️
src/bit_stream_reader/roc_bs_reader_api.cpp 0.00% 4 Missing ⚠️
src/bit_stream_reader/es_reader.cpp 25.00% 3 Missing ⚠️
... and 4 more
Additional details and impacted files
@@                   Coverage Diff                    @@
##           release/rocm-rel-7.2     #689      +/-   ##
========================================================
- Coverage                 88.08%   87.92%   -0.16%     
========================================================
  Files                        28       28              
  Lines                     10614    10656      +42     
========================================================
+ Hits                       9349     9369      +20     
- Misses                     1265     1287      +22     
Files with missing lines Coverage Δ
src/bit_stream_reader/es_reader.h 100.00% <ø> (ø)
src/parser/roc_video_parser.cpp 70.97% <0.00%> (ø)
src/parser/roc_video_parser.h 83.56% <66.67%> (ø)
src/rocdecode/vaapi/vaapi_videodecoder.h 83.33% <50.00%> (ø)
src/parser/rocparser_api.cpp 85.71% <50.00%> (ø)
src/bit_stream_reader/es_reader.cpp 84.64% <25.00%> (-0.45%) ⬇️
src/bit_stream_reader/roc_bs_reader_api.cpp 78.87% <0.00%> (ø)
src/rocdecode/roc_decoder.cpp 86.47% <50.00%> (ø)
src/rocdecode/rocdecode_api.cpp 84.43% <16.67%> (ø)
src/parser/hevc_parser.cpp 93.16% <31.58%> (-0.19%) ⬇️
... and 5 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix ci:precheckin run mainline precheckin CI job enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants