Video Code Engine is AMD'svideo encodingASIC implementing the video codec H.264/MPEG-4 AVC. Since 2012 it is integrated into all of their GPUs and APUs except Oland. Video Coding Engine was introduced with the Radeon HD 7900 on. VCE occupies a considerable amount of the die surface and is not to be confused with AMD's Unified Video Decoder. As of , VCE has been succeeded by VCN.
Overview
The handling of video data involves computation of data compression algorithms and possibly of video processing algorithms. As the template shows, lossy video compression algorithms involve the steps: Motion estimation, Discrete cosine transform, and entropy encoding. AMD Video Code Engine is a full hardware implementation of the video codec H.264/MPEG-4 AVC. The ASIC is capable of delivering 1080p at 60 frames/sec. Because its entropy encoding block is also a separately accessible Video Codec Engine, it can be operated in two modes: full-fixed mode and hybrid mode. By employing AMD APP SDK, available for Linux and Microsoft Windows, developers can create hybrid encoders that pair custom motion estimation, inverse discrete cosine transform and motion compensation with the hardware entropy encoding to achieve faster than real-time encoding. In hybrid mode, only the entropy encoding block of the VCE unit is used, while the remaining computation is offloaded to the 3D engine of the GPU, so the computing scales with the number of available compute units.
VCE 1.0
As of April 2014, there are two versions of VCE. Version 1.0 supports H.264 YUV420, H.264 SVC Temporal Encode VCE, and Display Encode Mode. It can be found on:
Piledriver-based
* Trinity APUs
* Richland APUs
GPUs of the Southern Islands generation. These are
Compared to the first version, VCE 2.0 adds H.264 YUV444, B-frames for H.264 YUV420, and improvements to the DEM, which results in a better encoding quality. It can be found on:
Steamroller-based
* Kaveri APUs
* Godavari APUs
Jaguar-based
* Kabini APUs
* Temash APUs
Puma-based
* Beema and Mullins
GPUs of the Sea Islands generation as well Bonaire or Hawaii GPUs, such as
Polaris: RX 460, 470, 480; RX 550, 560, 570, 580; Radeon Pro Duo
VCE 4.0
The Video Code Engine 4.0 encoder and UVD 7.0 decoder are included in the Vega-based GPUs.
VCE 4.1
AMD's Vega20 GPU, present in the Instinct Mi50, Instinct Mi60 and Radeon VII cards, include VCE 4.1 and two UVD 7.2 instances.
Feature overview
APUs
GPUs
Operating system support
The VCE SIP core needs to be supported by the device driver. The device driver provides one or multiple interfaces, e. g. OpenMAX IL. One of these interfaces is then used by end-user software, like GStreamer or HandBrake, to access the VCE hardware and make use of it. AMD's proprietary device driverAMD Catalyst is available for multiple operating systems and support for VCE has been added to it. Additionally, a free device driver is available. This driver also supports the VCE hardware.
Linux
Initial VCE support has been added on by Christian König of AMD to the free radeon driver.
The free and open-source Radeon driver has been adapted to using OpenMAX with the GStreamer OpenMAX support for exposing the VCE video encode engine.
AMD employee Leo Liu implemented h264 level support into the Mesa 3D state tracker.
Windows
The software "MediaShow Espresso Video Transcoding" seems to utilize VCE and UVD to the fullest extent possible. XSplit Broadcaster supports VCE from version 1.3. Open Broadcaster Software supports VCE for recording and streaming. The original Open Broadcaster Software requires a fork build in order to enable VCE. AMD Radeon Software supports VCE with built in game capture and use AMD AMF/VCE on APU or Radeon Graphics card to reduce FPS drop when capturing game or video content. HandBrake added Video Coding Engine support in version 1.2.0 in December 2018.
Successor
The VCE was succeeded by AMD Video Core Next in the Raven Ridge series of APUs released in October 2017. The VCN combines both encode and decode.