summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-11 17:35:23 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-14 12:12:02 +0300
commit46018778d2494189cb8d9f49966ca64cf82e70bc (patch)
tree61be6d39da26e7064426f7acd1b364d12fb7f19f
parent6d0da32ad190069976c1744b5fa189730e216941 (diff)
Add license and copyright information
Add SPDX tags to describe license and copyright information to all files in the repository. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
-rw-r--r--Makefile2
-rw-r--r--README3
-rw-r--r--data/Makefile2
-rw-r--r--data/frames/.gitignore2
-rw-r--r--data/frames/Makefile2
-rwxr-xr-xdata/frames/gen-lut.py2
-rw-r--r--scripts/Makefile2
-rwxr-xr-xscripts/bin2png.sh2
-rwxr-xr-xscripts/histo2png.py2
-rwxr-xr-xscripts/logger.sh2
-rwxr-xr-xscripts/vsp-lib.sh2
-rwxr-xr-xscripts/vsp-tests.sh2
-rw-r--r--src/.gitignore2
-rw-r--r--src/Makefile2
-rw-r--r--tests/Makefile2
-rwxr-xr-xtests/vsp-unit-test-0000.sh2
-rwxr-xr-xtests/vsp-unit-test-0001.sh2
-rwxr-xr-xtests/vsp-unit-test-0002.sh2
-rwxr-xr-xtests/vsp-unit-test-0003.sh2
-rwxr-xr-xtests/vsp-unit-test-0004.sh2
-rwxr-xr-xtests/vsp-unit-test-0005.sh2
-rwxr-xr-xtests/vsp-unit-test-0006.sh2
-rwxr-xr-xtests/vsp-unit-test-0007.sh2
-rwxr-xr-xtests/vsp-unit-test-0008.sh2
-rwxr-xr-xtests/vsp-unit-test-0009.sh2
-rwxr-xr-xtests/vsp-unit-test-0010.sh2
-rwxr-xr-xtests/vsp-unit-test-0011.sh2
-rwxr-xr-xtests/vsp-unit-test-0012.sh2
-rwxr-xr-xtests/vsp-unit-test-0013.sh2
-rwxr-xr-xtests/vsp-unit-test-0014.sh2
-rwxr-xr-xtests/vsp-unit-test-0015.sh2
-rwxr-xr-xtests/vsp-unit-test-0016.sh2
-rwxr-xr-xtests/vsp-unit-test-0017.sh2
-rwxr-xr-xtests/vsp-unit-test-0018.sh2
-rwxr-xr-xtests/vsp-unit-test-0019.sh2
-rwxr-xr-xtests/vsp-unit-test-0020.sh2
-rwxr-xr-xtests/vsp-unit-test-0021.sh2
-rwxr-xr-xtests/vsp-unit-test-0022.sh2
-rwxr-xr-xtests/vsp-unit-test-0023.sh2
-rwxr-xr-xtests/vsp-unit-test-0024.sh2
-rwxr-xr-xtests/vsp-unit-test-0025.sh2
41 files changed, 83 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a104078..4d311e1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
SUBDIRS=data scripts src tests
recursive=all clean install
diff --git a/README b/README
index 0d5a696..e45d03a 100644
--- a/README
+++ b/README
@@ -1,3 +1,6 @@
+.. SPDX-License-Identifier: CC-BY-SA-4.0
+.. SPDX-FileCopyrightText: 2016-2019 Renesas Electronics Corporation
+
vsp-tests
---------
diff --git a/data/Makefile b/data/Makefile
index 768a346..a65b5bc 100644
--- a/data/Makefile
+++ b/data/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
SUBDIRS=frames
recursive=all clean install
diff --git a/data/frames/.gitignore b/data/frames/.gitignore
index a8a0dce..2c0a1ff 100644
--- a/data/frames/.gitignore
+++ b/data/frames/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: CC0-1.0
+
*.bin
diff --git a/data/frames/Makefile b/data/frames/Makefile
index 37c284f..026cbdd 100644
--- a/data/frames/Makefile
+++ b/data/frames/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
frames=$(patsubst %.pnm.gz,%.pnm,$(wildcard *.pnm.gz))
all:
diff --git a/data/frames/gen-lut.py b/data/frames/gen-lut.py
index f180ad6..07889b1 100755
--- a/data/frames/gen-lut.py
+++ b/data/frames/gen-lut.py
@@ -1,4 +1,6 @@
#!/usr/bin/python
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
import math
import sys
diff --git a/scripts/Makefile b/scripts/Makefile
index 6586b29..6511c3c 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
SCRIPTS=$(wildcard *.sh)
all:
diff --git a/scripts/bin2png.sh b/scripts/bin2png.sh
index 6422ee5..d231d19 100755
--- a/scripts/bin2png.sh
+++ b/scripts/bin2png.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
FILE=${1:-.}
diff --git a/scripts/histo2png.py b/scripts/histo2png.py
index ff1da21..aef2363 100755
--- a/scripts/histo2png.py
+++ b/scripts/histo2png.py
@@ -1,4 +1,6 @@
#!/usr/bin/python
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
import matplotlib.pyplot as plt
import struct
diff --git a/scripts/logger.sh b/scripts/logger.sh
index 8412b0b..97e1f58 100755
--- a/scripts/logger.sh
+++ b/scripts/logger.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
now() {
awk '/^now/ {time=$3; printf("[%u.%06u]", time / 1000000000, (time % 1000000000) / 1000) ; exit}' /proc/timer_list
diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh
index c0eb1ca..a8898e8 100755
--- a/scripts/vsp-lib.sh
+++ b/scripts/vsp-lib.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
genimage='./gen-image'
mediactl='media-ctl'
diff --git a/scripts/vsp-tests.sh b/scripts/vsp-tests.sh
index 1ed8171..e6cae04 100755
--- a/scripts/vsp-tests.sh
+++ b/scripts/vsp-tests.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
##
## VSP Tests runner
diff --git a/src/.gitignore b/src/.gitignore
index 0c9be86..d42c924 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: CC0-1.0
+
*.o
gen-image
diff --git a/src/Makefile b/src/Makefile
index 564ee24..d7f901f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
diff --git a/tests/Makefile b/tests/Makefile
index 6586b29..6511c3c 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
SCRIPTS=$(wildcard *.sh)
all:
diff --git a/tests/vsp-unit-test-0000.sh b/tests/vsp-unit-test-0000.sh
index 5f40af7..0815037 100755
--- a/tests/vsp-unit-test-0000.sh
+++ b/tests/vsp-unit-test-0000.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Renesas Electronics Corporation
# Report testing conditions
diff --git a/tests/vsp-unit-test-0001.sh b/tests/vsp-unit-test-0001.sh
index 746e652..6e91ca6 100755
--- a/tests/vsp-unit-test-0001.sh
+++ b/tests/vsp-unit-test-0001.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test WPF packing in RGB mode. Use a RPF -> WPF pipeline with a fixed ARGB32
diff --git a/tests/vsp-unit-test-0002.sh b/tests/vsp-unit-test-0002.sh
index 1a617a8..65af446 100755
--- a/tests/vsp-unit-test-0002.sh
+++ b/tests/vsp-unit-test-0002.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test WPF packing in YUV mode. Use a RPF -> WPF pipeline with a fixed YUYV
diff --git a/tests/vsp-unit-test-0003.sh b/tests/vsp-unit-test-0003.sh
index 41c40b9..0c83bdc 100755
--- a/tests/vsp-unit-test-0003.sh
+++ b/tests/vsp-unit-test-0003.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test downscaling and upscaling in RGB and YUV modes. Use a RPF -> UDS -> WPF
diff --git a/tests/vsp-unit-test-0004.sh b/tests/vsp-unit-test-0004.sh
index 69b875b..1f064de 100755
--- a/tests/vsp-unit-test-0004.sh
+++ b/tests/vsp-unit-test-0004.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test 1D histogram generation. Use a RPF -> WPF pipeline with the HGO hooked
diff --git a/tests/vsp-unit-test-0005.sh b/tests/vsp-unit-test-0005.sh
index 04c79c4..a132cbf 100755
--- a/tests/vsp-unit-test-0005.sh
+++ b/tests/vsp-unit-test-0005.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test RPF -> WPF with all RPF instances in sequence. The format doesn't matter
diff --git a/tests/vsp-unit-test-0006.sh b/tests/vsp-unit-test-0006.sh
index 8781498..1191e26 100755
--- a/tests/vsp-unit-test-0006.sh
+++ b/tests/vsp-unit-test-0006.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test invalid pipelines, without an RPF or without a WPF.
diff --git a/tests/vsp-unit-test-0007.sh b/tests/vsp-unit-test-0007.sh
index d5ba44c..2d96e3b 100755
--- a/tests/vsp-unit-test-0007.sh
+++ b/tests/vsp-unit-test-0007.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test composition through the BRU in RGB and YUV formats.
diff --git a/tests/vsp-unit-test-0008.sh b/tests/vsp-unit-test-0008.sh
index 717560f..7532d11 100755
--- a/tests/vsp-unit-test-0008.sh
+++ b/tests/vsp-unit-test-0008.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test downscaling and upscaling in RGB and YUV modes with a BRU inserted in
diff --git a/tests/vsp-unit-test-0009.sh b/tests/vsp-unit-test-0009.sh
index 8814665..8fa2014 100755
--- a/tests/vsp-unit-test-0009.sh
+++ b/tests/vsp-unit-test-0009.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test RPF -> WPF with all WPF instances in sequence. The format doesn't matter
diff --git a/tests/vsp-unit-test-0010.sh b/tests/vsp-unit-test-0010.sh
index 268b1c4..1486fb8 100755
--- a/tests/vsp-unit-test-0010.sh
+++ b/tests/vsp-unit-test-0010.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test CLU and LUT in RGB and YUV modes. Use a RPF -> CLU -> WPF and
diff --git a/tests/vsp-unit-test-0011.sh b/tests/vsp-unit-test-0011.sh
index 6d24477..ada878c 100755
--- a/tests/vsp-unit-test-0011.sh
+++ b/tests/vsp-unit-test-0011.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test all combinations of horizontal flip, vertical flip and rotation on WPF.0.
diff --git a/tests/vsp-unit-test-0012.sh b/tests/vsp-unit-test-0012.sh
index 4c843cd..ac9a38e 100755
--- a/tests/vsp-unit-test-0012.sh
+++ b/tests/vsp-unit-test-0012.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test runtime modification of horizontal and vertical flipping on WPF.0.
diff --git a/tests/vsp-unit-test-0013.sh b/tests/vsp-unit-test-0013.sh
index ac05d90..9faf581 100755
--- a/tests/vsp-unit-test-0013.sh
+++ b/tests/vsp-unit-test-0013.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test RPF unpacking in RGB mode. Use a RPF -> WPF pipeline with a fixed ARGB32
diff --git a/tests/vsp-unit-test-0014.sh b/tests/vsp-unit-test-0014.sh
index 6d07bb2..4d749d7 100755
--- a/tests/vsp-unit-test-0014.sh
+++ b/tests/vsp-unit-test-0014.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test RPF unpacking in RGB mode. Use a RPF -> WPF pipeline with a fixed YUV444M
diff --git a/tests/vsp-unit-test-0015.sh b/tests/vsp-unit-test-0015.sh
index 8318178..7278742 100755
--- a/tests/vsp-unit-test-0015.sh
+++ b/tests/vsp-unit-test-0015.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test SRU upscaling in RGB and YUV modes.
diff --git a/tests/vsp-unit-test-0016.sh b/tests/vsp-unit-test-0016.sh
index 69a1099..8937963 100755
--- a/tests/vsp-unit-test-0016.sh
+++ b/tests/vsp-unit-test-0016.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test all combinations of horizontal flip, vertical flip and rotation on WPF.0
diff --git a/tests/vsp-unit-test-0017.sh b/tests/vsp-unit-test-0017.sh
index 26cf4af..037e2ba 100755
--- a/tests/vsp-unit-test-0017.sh
+++ b/tests/vsp-unit-test-0017.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test RGB to HSV conversion: Use a RPF -> HST -> WPF pipeline with a fixed
diff --git a/tests/vsp-unit-test-0018.sh b/tests/vsp-unit-test-0018.sh
index 015555c..77cf936 100755
--- a/tests/vsp-unit-test-0018.sh
+++ b/tests/vsp-unit-test-0018.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
#
# Test RPF crop using RGB. Use a RPF -> WPF pipeline, passing a selection of
diff --git a/tests/vsp-unit-test-0019.sh b/tests/vsp-unit-test-0019.sh
index ab20733..06d2339 100755
--- a/tests/vsp-unit-test-0019.sh
+++ b/tests/vsp-unit-test-0019.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test power-management suspend/resume whilst pipelines are idle
diff --git a/tests/vsp-unit-test-0020.sh b/tests/vsp-unit-test-0020.sh
index c662466..c322da5 100755
--- a/tests/vsp-unit-test-0020.sh
+++ b/tests/vsp-unit-test-0020.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2018 Renesas Electronics Corporation
#
# Test power-management suspend/resume whilst pipelines are active
diff --git a/tests/vsp-unit-test-0021.sh b/tests/vsp-unit-test-0021.sh
index 5e05faa..df4a4a4 100755
--- a/tests/vsp-unit-test-0021.sh
+++ b/tests/vsp-unit-test-0021.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
#
# Test active pipeline, with high load on CPU/Memory/IO using 'stress'
diff --git a/tests/vsp-unit-test-0022.sh b/tests/vsp-unit-test-0022.sh
index fd9ea32..dc1e698 100755
--- a/tests/vsp-unit-test-0022.sh
+++ b/tests/vsp-unit-test-0022.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
#
# Test active pipeline, with high load on CPU/Memory/IO using 'stress'
diff --git a/tests/vsp-unit-test-0023.sh b/tests/vsp-unit-test-0023.sh
index 371fbea..1eff34e 100755
--- a/tests/vsp-unit-test-0023.sh
+++ b/tests/vsp-unit-test-0023.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
#
# Test 2D histogram generation. Use a RPF -> HST -> HSI -> WPF pipeline
diff --git a/tests/vsp-unit-test-0024.sh b/tests/vsp-unit-test-0024.sh
index a8f4144..d9b70b1 100755
--- a/tests/vsp-unit-test-0024.sh
+++ b/tests/vsp-unit-test-0024.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
#
# Test composition through the BRS in RGB and YUV formats.
diff --git a/tests/vsp-unit-test-0025.sh b/tests/vsp-unit-test-0025.sh
index b0216df..db10ebe 100755
--- a/tests/vsp-unit-test-0025.sh
+++ b/tests/vsp-unit-test-0025.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Renesas Electronics Corporation
#
# Test pipelines which have a single pixel dimension. Use a RPF -> WPF