The rocDecode utility classes

The rocDecode utility classes#

The rocDecode utility classes provide high-level calls to the rocDecode core APIs.

The rocDecode utility classes are exposed in header files in the utils folder folder of the rocDecode project.

The rocDecode decoder utility class is exposed in utils/rocvideodecode/roc_video_dec.h. It contains functions that create, control, and destroy the decoder, as well as functions that decode the parsed frames on the GPU.

The FFMpeg decoder utility class is exposed in utils/ffmpegvideodecode/ffmpeg_video_dec.h. It contains the same functionality as rocdecode.h, but all the operations are run on the CPU rather than the GPU.

The video demultiplexer utility class is exposed in utils/video_demuxer.h. It contains functions for demultiplexing a video stream.