summaryrefslogtreecommitdiff
path: root/src/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'src/codecs')
-rw-r--r--src/codecs/CMakeLists.txt4
-rw-r--r--src/codecs/README.md6
-rw-r--r--src/codecs/codec.cpp6
-rw-r--r--src/codecs/include/codec.hpp6
-rw-r--r--src/codecs/include/mad.hpp6
-rw-r--r--src/codecs/include/types.hpp6
-rw-r--r--src/codecs/mad.cpp6
-rw-r--r--src/codecs/test/CMakeLists.txt4
-rw-r--r--src/codecs/test/test.mp3.hpp6
-rw-r--r--src/codecs/test/test_mad.cpp6
10 files changed, 56 insertions, 0 deletions
diff --git a/src/codecs/CMakeLists.txt b/src/codecs/CMakeLists.txt
index 7807dc3e..0bf79c78 100644
--- a/src/codecs/CMakeLists.txt
+++ b/src/codecs/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "codec.cpp" "mad.cpp"
INCLUDE_DIRS "include"
diff --git a/src/codecs/README.md b/src/codecs/README.md
index 06e0bfde..d8eaf405 100644
--- a/src/codecs/README.md
+++ b/src/codecs/README.md
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
# Software Codecs
This component contains a collection of software decoders for various
diff --git a/src/codecs/codec.cpp b/src/codecs/codec.cpp
index bdc8f51e..4f9e8892 100644
--- a/src/codecs/codec.cpp
+++ b/src/codecs/codec.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "codec.hpp"
#include <memory>
diff --git a/src/codecs/include/codec.hpp b/src/codecs/include/codec.hpp
index 4595f877..9dd717c9 100644
--- a/src/codecs/include/codec.hpp
+++ b/src/codecs/include/codec.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <stdint.h>
diff --git a/src/codecs/include/mad.hpp b/src/codecs/include/mad.hpp
index 074784fb..3b1f5757 100644
--- a/src/codecs/include/mad.hpp
+++ b/src/codecs/include/mad.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <cstddef>
diff --git a/src/codecs/include/types.hpp b/src/codecs/include/types.hpp
index a962cf68..66f0c840 100644
--- a/src/codecs/include/types.hpp
+++ b/src/codecs/include/types.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#pragma once
#include <string>
diff --git a/src/codecs/mad.cpp b/src/codecs/mad.cpp
index dd839537..2e55d4c6 100644
--- a/src/codecs/mad.cpp
+++ b/src/codecs/mad.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "mad.hpp"
#include <stdint.h>
diff --git a/src/codecs/test/CMakeLists.txt b/src/codecs/test/CMakeLists.txt
index c058fc22..bd208ae3 100644
--- a/src/codecs/test/CMakeLists.txt
+++ b/src/codecs/test/CMakeLists.txt
@@ -1,3 +1,7 @@
+# Copyright 2023 jacqueline <me@jacqueline.id.au>
+#
+# SPDX-License-Identifier: GPL-3.0-only
+
idf_component_register(
SRCS "test_mad.cpp"
INCLUDE_DIRS "."
diff --git a/src/codecs/test/test.mp3.hpp b/src/codecs/test/test.mp3.hpp
index f6699b85..759ff9ca 100644
--- a/src/codecs/test/test.mp3.hpp
+++ b/src/codecs/test/test.mp3.hpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include <cstdint>
std::uint8_t test_mp3[] = {
diff --git a/src/codecs/test/test_mad.cpp b/src/codecs/test/test_mad.cpp
index 64c3ece0..e8c714e7 100644
--- a/src/codecs/test/test_mad.cpp
+++ b/src/codecs/test/test_mad.cpp
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "mad.hpp"
#include <algorithm>