rocDecode samples#
rocDecode samples are available in the rocDecode GitHub repository.
You can find a walkthrough of the videodecode.cpp sample at Understanding the videodecode.cpp sample.
rocDecode is delivered as part of TheRock. It can also be built and installed from source.
FFmpeg development libraries must be installed to build and run samples. To run the installed CTest-based verification:
mkdir rocdecode-test && cd rocdecode-test
cmake /opt/rocm/share/rocdecode/test/
ctest -VV