Xilinx / vcu-ctrl-sw

Other
38 stars 30 forks source link

============================ VCU Control Software Source Code

Overview

The control-software can be used as:

How to build the encoder and the decoder

GCC:

You need a working gcc/g++ toolchain installed. Just run:

$ make

The resulting binaries will be available in the bin/ directory

You can test it on a very simple configuration with the following command: $ ./bin/ctrlsw_encoder -cfg test/config/encode.simple.cfg

Libraries

customers Allows to change build options like traces enabling (config.h)

lib_app misc C++ utilities. lib_cfg C++ configuration file parsing. lib_conv_yuv C++ yuvs conversion helpers for the encoder (use lib_app) lib_preprocess QP table management

lib_rtos wrapper around OS synchronization primitives. lib_common misc C utilities. libcommon* structures used to communicate with the firmware lib_bitstream high-level syntax bitstream generation (e.g headers).

lib_encode encode library entry point. lib_decode decode library entry point

lib_parsing codec specifications specifics for the decoder (HLS, DPB, etc.)

lib_fpga communication with the hardware (read/write register, irq). lib_ip_ctrl interface to the codec.

User Manual

Refer to Xilinx product guide document: PG252 H.264/H.265 Video Codec Unit Product Guide