Zynq Ult VCU TRD User Guide
31
UG1250 (v2019.1) May 29, 2019
Chapter 3:
APU Software Platform
A user application based on GStreamer demonstrates the features of the TRD.
shows the software stack present in the TRD.
describes the software components.
X-Ref Target - Figure 3-7
Figure 3-7:
TRD Software Stack
Decoder
Kernel
Driver
Decoder low
level control
SW library
Mali Kernel
Space
Driver
Mali
User Space
lib
OMX
Decoder
DMA_BUF
VCU QT Application/VCU GST Application
GStreamer Interface Library/Video Library
GPU Plugin
DRM/
KMS
DRM
Plugin
Encoder
Kernel
Driver
Encoder low
level control
SW library
OMX
Encoder
V4L2
Pipeline
Driver
libv4l
V4L2
Plugin
DMA_BUF_FD
DMA_BUF_FD
DMA_BUF
DMA_BUF
Kernel
User
space
gst-omx plugin
libdrm
Developed
Open Source
Internal
ALSA
Sound
Card
libalsa
ALSA
Plugin
pcie_transcode
pcie_lib
Xilinx PCIe
X19305-042619
DMA_BUF_FD
Table 3-1:
Software Stack Components
Component
Description
Kernel drivers
This layer contains the kernel drivers for HDMI, Test Pattern Generator (TPG),
IMX274 sensor driver, MIPI CSI-2 RX Subsystem, Xilinx Video Demosaic, Xilinx
Video Gamma LUT, VPSS Color Space Converter (CSC), Xilinx Video Processing
Subsystem (VPSS Only configuration, 2X configuration), HDMI TX Subsystem,
HDMI RX Subsystem, Xilinx Video Pipeline (XVIPP), Mixer, VCU, Xilinx PL sound
card, Xilinx Audio Formatter, DisplayPort controller, and the Mali GPU.
User space libraries
User space libraries include the media and v4l2 lib for the video pipeline,
GStreamer libraries, lib_decode libraries for VCU, libdrm for the DRM device,
libalsa, and Mali user-space libraries for the GPU.
OpenMAX v1.1.2
The OpenMAX integration layer (IL) components for encoder and decoder
provides an abstraction for VCU to a user space media framework like GStreamer
(a complete, cross-platform solution to play, record, convert, and stream audio
and video)
. It implements a standard application programming interface
(API) for the user space media framework.