diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-01-15 22:18:47 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-01-15 22:18:47 +0300 |
commit | 51f8e963d6124f268e8a42e5079df38a4efe0d54 (patch) | |
tree | 63993a5483c02f6eefea7a7274ff5190669128a5 /video | |
parent | 326449b3e6b38b0c9861f3a67e0a92629500336f (diff) |
Add SPDX-License-Identifier to all file headers
Diffstat (limited to 'video')
39 files changed, 78 insertions, 0 deletions
diff --git a/video/cdg/src/cdgdec/imp.rs b/video/cdg/src/cdgdec/imp.rs index 06d59687..7b4c8510 100644 --- a/video/cdg/src/cdgdec/imp.rs +++ b/video/cdg/src/cdgdec/imp.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::gst_debug; diff --git a/video/cdg/src/cdgdec/mod.rs b/video/cdg/src/cdgdec/mod.rs index a942b8d9..71d51993 100644 --- a/video/cdg/src/cdgdec/mod.rs +++ b/video/cdg/src/cdgdec/mod.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/cdg/src/cdgparse/imp.rs b/video/cdg/src/cdgparse/imp.rs index 8dac5353..da1fbd2b 100644 --- a/video/cdg/src/cdgparse/imp.rs +++ b/video/cdg/src/cdgparse/imp.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::format::Bytes; use gst::glib; diff --git a/video/cdg/src/cdgparse/mod.rs b/video/cdg/src/cdgparse/mod.rs index 605f90f2..b5cb2618 100644 --- a/video/cdg/src/cdgparse/mod.rs +++ b/video/cdg/src/cdgparse/mod.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/cdg/src/constants.rs b/video/cdg/src/constants.rs index 5f8d8000..69b8cf13 100644 --- a/video/cdg/src/constants.rs +++ b/video/cdg/src/constants.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 pub(crate) const CDG_PACKET_SIZE: i32 = 24; diff --git a/video/cdg/src/lib.rs b/video/cdg/src/lib.rs index 8a780fda..78a70753 100644 --- a/video/cdg/src/lib.rs +++ b/video/cdg/src/lib.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 #![allow(clippy::non_send_fields_in_send_ty)] use gst::glib; diff --git a/video/cdg/src/typefind.rs b/video/cdg/src/typefind.rs index 0b40a517..2802c970 100644 --- a/video/cdg/src/typefind.rs +++ b/video/cdg/src/typefind.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; diff --git a/video/cdg/tests/cdgdec.rs b/video/cdg/tests/cdgdec.rs index 7ee83a1a..d5a9ca66 100644 --- a/video/cdg/tests/cdgdec.rs +++ b/video/cdg/tests/cdgdec.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::prelude::*; use std::path::PathBuf; diff --git a/video/dav1d/src/dav1ddec/imp.rs b/video/dav1d/src/dav1ddec/imp.rs index 38443757..de06b9bd 100644 --- a/video/dav1d/src/dav1ddec/imp.rs +++ b/video/dav1d/src/dav1ddec/imp.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/dav1d/src/dav1ddec/mod.rs b/video/dav1d/src/dav1ddec/mod.rs index dc13b249..83e11587 100644 --- a/video/dav1d/src/dav1ddec/mod.rs +++ b/video/dav1d/src/dav1ddec/mod.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/dav1d/src/lib.rs b/video/dav1d/src/lib.rs index 12e628a8..ae63f523 100644 --- a/video/dav1d/src/lib.rs +++ b/video/dav1d/src/lib.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 #![allow(clippy::non_send_fields_in_send_ty)] use gst::glib; diff --git a/video/ffv1/src/ffv1dec/imp.rs b/video/ffv1/src/ffv1dec/imp.rs index fd532162..81a31e24 100644 --- a/video/ffv1/src/ffv1dec/imp.rs +++ b/video/ffv1/src/ffv1dec/imp.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use ffv1::constants::{RGB, YCBCR}; use ffv1::decoder::{Decoder, Frame}; diff --git a/video/ffv1/src/ffv1dec/mod.rs b/video/ffv1/src/ffv1dec/mod.rs index 71fa34c3..dfbc2dd8 100644 --- a/video/ffv1/src/ffv1dec/mod.rs +++ b/video/ffv1/src/ffv1dec/mod.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/ffv1/src/lib.rs b/video/ffv1/src/lib.rs index ca52eb17..03572c2d 100644 --- a/video/ffv1/src/lib.rs +++ b/video/ffv1/src/lib.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 #![allow(clippy::non_send_fields_in_send_ty)] mod ffv1dec; diff --git a/video/ffv1/tests/ffv1dec.rs b/video/ffv1/tests/ffv1dec.rs index 894af6bc..a431ff4c 100644 --- a/video/ffv1/tests/ffv1dec.rs +++ b/video/ffv1/tests/ffv1dec.rs @@ -6,6 +6,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/flavors/src/bytes.rs b/video/flavors/src/bytes.rs index d16be1d1..f02b8166 100644 --- a/video/flavors/src/bytes.rs +++ b/video/flavors/src/bytes.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 pub use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt}; use std::io; diff --git a/video/flavors/src/flvdemux/imp.rs b/video/flavors/src/flvdemux/imp.rs index ffe3a81b..b210ed1e 100644 --- a/video/flavors/src/flvdemux/imp.rs +++ b/video/flavors/src/flvdemux/imp.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use std::cmp; use std::sync::Mutex; diff --git a/video/flavors/src/flvdemux/mod.rs b/video/flavors/src/flvdemux/mod.rs index 86f9cc4c..f0415bcc 100644 --- a/video/flavors/src/flvdemux/mod.rs +++ b/video/flavors/src/flvdemux/mod.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/flavors/src/lib.rs b/video/flavors/src/lib.rs index 1ef57303..70d0a498 100644 --- a/video/flavors/src/lib.rs +++ b/video/flavors/src/lib.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 #![allow(clippy::non_send_fields_in_send_ty)] use gst::glib; diff --git a/video/gif/examples/testvideosrc2gif.rs b/video/gif/examples/testvideosrc2gif.rs index 056e0dee..106f4ffa 100644 --- a/video/gif/examples/testvideosrc2gif.rs +++ b/video/gif/examples/testvideosrc2gif.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::prelude::*; diff --git a/video/gif/src/gifenc/imp.rs b/video/gif/src/gifenc/imp.rs index 64027cd1..39b64cfe 100644 --- a/video/gif/src/gifenc/imp.rs +++ b/video/gif/src/gifenc/imp.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use atomic_refcell::AtomicRefCell; use gst::glib; diff --git a/video/gif/src/gifenc/mod.rs b/video/gif/src/gifenc/mod.rs index 6ebf0c2c..87ebc62c 100644 --- a/video/gif/src/gifenc/mod.rs +++ b/video/gif/src/gifenc/mod.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/gif/src/lib.rs b/video/gif/src/lib.rs index 7caa3ee5..25cf64df 100644 --- a/video/gif/src/lib.rs +++ b/video/gif/src/lib.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 #![allow(clippy::non_send_fields_in_send_ty)] use gst::glib; diff --git a/video/gif/tests/gifenc.rs b/video/gif/tests/gifenc.rs index 54d96a06..525b3e46 100644 --- a/video/gif/tests/gifenc.rs +++ b/video/gif/tests/gifenc.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 fn init() { use std::sync::Once; diff --git a/video/hsv/src/hsvdetector/imp.rs b/video/hsv/src/hsvdetector/imp.rs index bd758dcd..36e3891c 100644 --- a/video/hsv/src/hsvdetector/imp.rs +++ b/video/hsv/src/hsvdetector/imp.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/hsv/src/hsvdetector/mod.rs b/video/hsv/src/hsvdetector/mod.rs index c4c7b97b..66140707 100644 --- a/video/hsv/src/hsvdetector/mod.rs +++ b/video/hsv/src/hsvdetector/mod.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/hsv/src/hsvfilter/imp.rs b/video/hsv/src/hsvfilter/imp.rs index 444fdbd2..391de8a9 100644 --- a/video/hsv/src/hsvfilter/imp.rs +++ b/video/hsv/src/hsvfilter/imp.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::gst_info; diff --git a/video/hsv/src/hsvfilter/mod.rs b/video/hsv/src/hsvfilter/mod.rs index 37cd6b63..95f83202 100644 --- a/video/hsv/src/hsvfilter/mod.rs +++ b/video/hsv/src/hsvfilter/mod.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/hsv/src/hsvutils.rs b/video/hsv/src/hsvutils.rs index 18a23aae..5577e591 100644 --- a/video/hsv/src/hsvutils.rs +++ b/video/hsv/src/hsvutils.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 // Reference used for implementation: https://en.wikipedia.org/wiki/HSL_and_HSV diff --git a/video/hsv/src/lib.rs b/video/hsv/src/lib.rs index 33053223..7b56aefc 100644 --- a/video/hsv/src/lib.rs +++ b/video/hsv/src/lib.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 #![allow(clippy::non_send_fields_in_send_ty)] use gst::glib; diff --git a/video/rav1e/src/lib.rs b/video/rav1e/src/lib.rs index 90f18971..6e5b42c8 100644 --- a/video/rav1e/src/lib.rs +++ b/video/rav1e/src/lib.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 #![allow(clippy::non_send_fields_in_send_ty)] use gst::glib; diff --git a/video/rav1e/src/rav1enc/imp.rs b/video/rav1e/src/rav1enc/imp.rs index 3a57b49e..80f15bf0 100644 --- a/video/rav1e/src/rav1enc/imp.rs +++ b/video/rav1e/src/rav1enc/imp.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::gst_debug; diff --git a/video/rav1e/src/rav1enc/mod.rs b/video/rav1e/src/rav1enc/mod.rs index 7020ff6d..09269cf7 100644 --- a/video/rav1e/src/rav1enc/mod.rs +++ b/video/rav1e/src/rav1enc/mod.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/rav1e/tests/rav1enc.rs b/video/rav1e/tests/rav1enc.rs index 04dec7d9..85619a05 100644 --- a/video/rav1e/tests/rav1enc.rs +++ b/video/rav1e/tests/rav1enc.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::prelude::*; diff --git a/video/rspng/examples/pngenc.rs b/video/rspng/examples/pngenc.rs index 210e3b6c..d543b912 100644 --- a/video/rspng/examples/pngenc.rs +++ b/video/rspng/examples/pngenc.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::prelude::*; diff --git a/video/rspng/src/lib.rs b/video/rspng/src/lib.rs index abd644a3..38040e41 100644 --- a/video/rspng/src/lib.rs +++ b/video/rspng/src/lib.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 #![allow(clippy::non_send_fields_in_send_ty)] use gst::glib; diff --git a/video/rspng/src/pngenc/imp.rs b/video/rspng/src/pngenc/imp.rs index 15c18b6d..704c767e 100644 --- a/video/rspng/src/pngenc/imp.rs +++ b/video/rspng/src/pngenc/imp.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use std::{io, io::Write, sync::Arc}; diff --git a/video/rspng/src/pngenc/mod.rs b/video/rspng/src/pngenc/mod.rs index c1649743..ca7c62a3 100644 --- a/video/rspng/src/pngenc/mod.rs +++ b/video/rspng/src/pngenc/mod.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 use gst::glib; use gst::prelude::*; diff --git a/video/rspng/tests/pngenc.rs b/video/rspng/tests/pngenc.rs index 35a0d6a8..ace393d2 100644 --- a/video/rspng/tests/pngenc.rs +++ b/video/rspng/tests/pngenc.rs @@ -5,6 +5,8 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// SPDX-License-Identifier: MIT/Apache-2.0 fn init() { use std::sync::Once; |