Skip to content

Commit

Permalink
VVAS Rel 1.1 Sources
Browse files Browse the repository at this point in the history
Signed-off-by: Bharat Soni <bharats@xilinx.com>
  • Loading branch information
Bharat Soni committed Feb 18, 2022
1 parent aab2a8f commit 16c3ee5
Show file tree
Hide file tree
Showing 393 changed files with 19,814 additions and 12,374 deletions.
598 changes: 8 additions & 590 deletions LICENSE
100644 → 100755

Large diffs are not rendered by default.

64 changes: 59 additions & 5 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
===========================
OPEN SOURCE SOFTWARE NOTICE
VVAS SOURCE SOFTWARE NOTICE
===========================

VVAS cmake files include software developed by
* Copyright (C) 2012 Raphael Kubo da Costa <rakuco@webkit.org>

VVAS xm2m GStreamer plugins include software from (Library GPL 2.0)
vvas_xmultisrc GStreamer plugins include software from (Library GPL 2.0)
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
* Copyright (C) 2005-2012 David Schleef <ds@schleef.org>

Expand Down Expand Up @@ -39,3 +36,60 @@ loss of use, data, or profits; or business interruption) however caused
and on any theory of liability, whether in contract, strict liability,
or tort (including negligence or otherwise) arising in any way out of
the use of this software, even if advised of the possibility of such damage.

===================================
PETALINUX SOURCES SOFTWARE NOTICE
===================================

BY USING THIS PRODUCT, YOU AGREE ON BEHALF OF YOURSELF AND YOUR
EMPLOYER (IF APPLICABLE) TO BE BOUND TO THE LICENSE AGREEMENTS APPLICABLE
TO THE SOFTWARE THAT YOU INSTALL AT RUN TIME.

YOU AGREE THAT THIS PRODUCT AUTOMATICALLY INSTALL A VARIETY
OF SOFTWARE COPYRIGHTED BY XILINX AND THIRD PARTIES THAT IS SUBJECT TO VARIOUS
LICENSE AGREEMENTS THAT APPEAR UPON INSTALLATION, ACCEPTANCE AND/OR ACTIVATION
OF THE SOFTWARE AND/OR ARE CONTAINED OR DESCRIBED IN THE CORRESPONDING RELEASE
NOTES OR OTHER DOCUMENTATION OR HEADER OR SOURCE FILES. XILINX DOES NOT
GRANT TO LICENSEE ANY RIGHTS OR LICENSES TO SUCH THIRD-PARTY SOFTWARE.
LICENSEE AGREES TO CAREFULLY REVIEW AND ABIDE BY THE TERMS AND CONDITIONS
OF SUCH LICENSE AGREEMENTS TO THE EXTENT THAT THEY GOVERN SUCH SOFTWARE.

BY EXECUTING THE PETALINUX BUILD SCRIPT, YOU AGREE THE FOLLOWING SOFTWARE WILL
BE DOWNLOADED AND INSTALLED ON YOUR SYSTEM. YOU UNDERSTAND THAT THE
INSTALLATION OF THE SOFTWARE LISTED BELOW MAY ALSO RESULT IN THE INSTALLATION
ON YOUR SYSTEM OF ADDITIONAL SOFTWARE NOT LISTED BELOW IN ORDER TO OPERATE
(SUCH SOFTWARE IS HEREAFTER REFERRED TO AS ‘DEPENDENCIES’)
XILINX DOES NOT GRANT TO LICENSEE ANY RIGHTS OR LICENSES TO THE SOFTWARE BELOW
OR THEIR DEPENDENCIES LICENSEE AGREES TO CAREFULLY REVIEW AND ABIDE BY THE TERMS
AND CONDITIONS OF ANY LICENSE AGREEMENTS TO THE EXTENT THAT THEY GOVERN SUCH
DEPENDENCIES


glib-2.0
[url] https://github.com/staceyson/glib-2.0

libcap
[url] https://github.com/Distrotech/libcap

libxml2
[url] https://github.com/GNOME/libxml2

bison-native
[url] https://github.com/thiagoh/bison

flex-native
[url] https://github.com/robertpanvip/flex-native

jansson
[url] https://github.com/akheron/jansson

opencv
[url] https://github.com/opencv/opencv


BY EXECUTING THE PETALINUX BUILD SCRIPT, YOU ACKNOWLEDGE AND AGREE, FOR YOURSELF AND ON BEHALF
OF YOUR EMPLOYER (IF APPLICABLE), THAT XILINX IS NOT DISTRIBUTING TO YOU IN
THIS FILE ANY OF THE AFORMENTIONED SOFTWARE OR DEPENDENCIES, AND THAT YOU ARE
SOLELY RESPONSIBLE FOR THE INSTALLATION OF SUCH SOFTWARE AND DEPENDENCIES ON
YOUR SYSTEM AND FOR CAREFULLY REVIEWING AND ABIDING BY THE TERMS AND CONDITIONS
OF ANY LICENSE AGREEMENTS TO THE EXTENT THAT THEY GOVERN SUCH SOFTWARE AND DEPENDENCIES.
60 changes: 21 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,46 @@
# Vitis™ Video Analytics SDK

## Copyright and license statement
Copyright 2022 Xilinx Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

### To clone this repo:

```
git clone https://github.com/Xilinx/VVAS.git
```

## View the [Documentation](https://xilinx.github.io/VVAS/)

## Folder Structure

- **ivas-utis** core contains infrastructure libraries for VVAS gstreamer plugins and kernel libraries
- **ivas-gst-plugins** contains VVAS specific gstreamer plugins
- **ivas-accel-sw-libs** contains VVAS specific kernel libs which are supported by VVAS gstreamer infrastructure plugins
- **ivas-accel-hw** contains VVAS HW kernels which can be build with vitis
- **ivas-examples** contains examples for using VVAS stack
- **ivas-platform** contains sample VVAS platforms
- **vvas-utils** core contains infrastructure libraries for VVAS gstreamer plugins and kernel libraries
- **vvas-gst-plugins** contains VVAS specific gstreamer plugins
- **vvas-accel-sw-libs** contains VVAS specific kernel libs which are supported by VVAS gstreamer infrastructure plugins
- **vvas-accel-hw** contains VVAS HW kernels which can be build with vitis
- **vvas-examples** contains examples for using VVAS stack
- **vvas-platform** contains sample VVAS platforms

***Note:*** Compile and installation of VVAS software libraries need to follow below sequence:
```
First : ivas-utils
Second : ivas-gst-plugins
Third : ivas-accel-sw-libs
```
## Build and install VVAS essentials for embedded solutions:

## Build and install VVAS essentials for embedded:
Following are the three VVAS folders which are essential to build the VVAS software stack for any platform:
```
ivas-utils, ivas-gst-plugins and ivas-accel-sw-libs
```
A helper script is provided in root of this repo to build and install VVAS essentials for embedded devices.
A helper script, **./build_install_vvas.sh**, is provided in root of this repo to build and install VVAS components.

Step 1 : Source sysroot
Step 1 : Source sysroot path if not done already
```
source <sysroot path>/environment-setup-aarch64-xilinx-linux
source <sysroot path>/environment-setup-cortexa72-cortexa53-xilinx-linux
```
Step 2 : Build
```
./build-ivas-essential.sh Edge
./build_install_vvas.sh Edge
```
Step 3 : copy VVAS installer to embedded board
```
scp install/ivas_installer.tar.gz <board ip>:/
scp install/vvas_installer.tar.gz <board ip>:/
```
Step 4 : Install VVAS on embedded board
```
cd /
tar -xvf ivas_installer.tar.gz
```
## Steps to install meson:
VVAS build system uses meson to build, following are the steps to install meson locally:

```
sudo apt-get install python3 python3-pip python3-setuptools python3-wheel ninja-build
pip3 install meson
pip3 install ninja
Above steps installs meson in /home/<username>/.local/bin/meson, so change PATH env to point using
export PATH= /home/<username>/.local/bin/meson:$PATH
```
***Note:*** In case pip3 is not installed in system run the following command
```
python3 -m pip install --user --upgrade pip==20.2.2
tar -xvf vvas_installer.tar.gz
```
92 changes: 0 additions & 92 deletions build-ivas-essential.sh

This file was deleted.

Loading

0 comments on commit 16c3ee5

Please sign in to comment.