2024-11-12 10:40:37 -05:00
.. meta ::
:description: rocDecode Sample Prerequisites
:keywords: install, rocDecode, AMD, ROCm, samples, prerequisites, dependencies, requirements
********************************************************************
rocDecode samples
********************************************************************
rocDecode samples are available in the `rocDecode GitHub repository <https://github.com/ROCm/rocDecode/tree/develop/samples> `_ .
2025-03-11 11:16:45 -04:00
You can find a walkthrough of the `` videodecode.cpp `` sample at :doc: `Understanding the videodecode.cpp sample <../how-to/using-rocDecode-videodecode-sample>` .
2024-11-12 10:40:37 -05:00
All three rocDecode packages, `` rocDecode `` , `` rocdecode-dev `` , and `` rocdecode-test `` , must be installed to use the rocDecode samples.
2025-08-13 14:32:35 -04:00
If you're using a :doc: `package installer <../install/rocDecode-package-install>` , install `` rocdecode `` , `` rocdecode-dev `` , and `` rocdecode-test `` .
2024-11-12 10:40:37 -05:00
If you're building and installing rocDecode from its :doc: `source code <../install/rocDecode-build-and-install>` , `` rocDecode-setup.py `` needs to be run with `` --developer `` set to `` ON `` :
.. code :: cpp
python3 rocDecode - setup . py - - developer ON
2025-03-11 11:16:45 -04:00
The `` rocDecode-test `` package needs to be built and installed as well:
2024-11-12 10:40:37 -05:00
.. code :: shell
mkdir rocdecode-test && cd rocdecode-test
cmake /opt/rocm/share/rocdecode/test/
ctest -VV
2025-03-11 11:16:45 -04:00