Files
rocm-systems/docs/what-is-rocDecode.rst
T
spolifroni-amd 6cc30f12a4 made changes to installation and landing pages (#445)
* initial commit of changes to the installation and landing pages

* deleted original install; fixed the toc; fixed typos

* fixed some wording issues; fixed some formatting issues

* adding back install.rst to try to fix the conflict

---------

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
2024-11-12 10:40:37 -05:00

27 baris
1.5 KiB
ReStructuredText

.. meta::
:description: What is rocDecode?
:keywords: video decoding, rocDecode, AMD, ROCm
********************************************************************
What is rocDecode?
********************************************************************
AMD GPUs contain one or more media engines (VCNs) that provide fully accelerated, hardware-based
video decoding. Hardware decoders consume lower power than CPU-based decoders. Dedicated
hardware decoders offload decoding tasks from the CPU, boosting overall decoding throughput. With
proper power management, decoding on hardware decoders can lower the overall system power
consumption and improve decoding performance.
Using the rocDecode API, you can decode compressed video streams while keeping the resulting YUV
frames in video memory. With decoded frames in video memory, you can run video post-processing
using ROCm HIP, thereby avoiding unnecessary data copies via the PCIe bus. You can post-process video
frames using scaling or color conversion and augmentation kernels (on a GPU or host) in a format for
GPU/CPU-accelerated inferencing and training.
In addition, you can use the rocDecode API to create multiple instances of video decoder based on the
number of available VCNs in a GPU device. By configuring the decoder for a device, all available
VCNs can be used seamlessly for decoding a batch of video streams in parallel.
For more information, refer to the
:doc:`Video decoding pipeline <./conceptual/video-decoding-pipeline>`.