Axi Performance Monitor (Apm) Library (Vcu_Apm_Lib); Axi Performance Monitor (Apm) Library (Vcu_Apm_Lib); Video Library (Vcu_Video_Lib); Video Library (Vcu_Video_Lib) - Xilinx Zynq UltraScale+ User Manual

Mpsoc video codec unit
Table of Contents

Advertisement

AXI Performance Monitor (APM) Library

(vcu_apm_lib)

This library provides an interface to the vcu_qt application for reading VCU
encoder/decoder memory throughput performance numbers.
The programming model:
1. Calls perf_monitor_init() on startup.
2. Periodically calls perf_monitor_get_rd_wr_cnt() for each VCU APM. This API returns the
number of read+write transactions happening on the AXI Performance Monitor port in
bytes.
3. Calls perf_monitor_deinit() on exit.

Video Library (vcu_video_lib)

The vcu_video_lib library configures various video pipelines in the design and implements:
query display configurations
media pipeline configuration for video capture
The vcu_video_lib library exports and imports the following interfaces:
TPG video source controls (to vcu_gst_lib library)
CSI video source controls (to vcu_gst_lib library)
interfaces from various middleware layers (V4L2, Media Controller, DRM)
Query Display Configurations
The libdrm library is used to validate if the resolution if supported by the monitor and to
query the native resolution of the monitor. The graphics plane is configured by the Qt
EGLFS backend outside of this library. The pixel format for each of the two planes is
configured statically in the device tree.
Media Pipeline Configuration
The video capture pipeline present in this design is a TPG/HDMI/MIPI/SDI/SCD Input. It
implements a media controller interface that allows you to configure the media pipeline
and its sub-devices. The libmediactl and libv4l2subdev libraries provide the following
functionality:
Zynq UltraScale+ VCU TRD User Guide
UG1250 (v2019.1) May 29, 2019
www.xilinx.com
Chapter 3: APU Software Platform
Send Feedback
48

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zcu106

Table of Contents