forked from Xilinx/vcu-ctrl-sw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
55 lines (37 loc) · 1.52 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
============================
VCU Control Software Source Code
============================
Overview
========
The control-software can be used as:
- a standalone command-line executable (see below).
- a library, whose entry point can be found in lib_encode and lib_decode
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.
lib_common_* 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