Skip to content

Commit a030f2b

Browse files
committed
REFAC: Unify license headers
1 parent 7c0b9cd commit a030f2b

24 files changed

+431
-136
lines changed

COPYING

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Copyright (c) 2017, Mozilla
1+
Copyright (c) 2024, The Mumble Developers
2+
Copyright (c) 2017, Mozilla
23
Copyright (c) 2007-2017, Jean-Marc Valin
34
Copyright (c) 2005-2017, Xiph.Org Foundation
45
Copyright (c) 2003-2004, Mark Borgerding

examples/renamenoise_demo.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
/* Copyright (c) 2018 Gregor Richards
2-
* Copyright (c) 2017 Mozilla */
31
/*
2+
Copyright (c) 2024, The Mumble Developers
3+
Copyright (c) 2018, Gregor Richards
4+
Copyright (c) 2017, Mozilla
5+
6+
All rights reserved.
7+
48
Redistribution and use in source and binary forms, with or without
59
modification, are permitted provided that the following conditions
610
are met:

include/renamenoise.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
/* Copyright (c) 2018 Gregor Richards
2-
* Copyright (c) 2017 Mozilla */
31
/*
2+
Copyright (c) 2024, The Mumble Developers
3+
Copyright (c) 2018, Gregor Richards
4+
Copyright (c) 2017, Mozilla
5+
6+
All rights reserved.
7+
48
Redistribution and use in source and binary forms, with or without
59
modification, are permitted provided that the following conditions
610
are met:

src/_renamenoise_fft_guts.h

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
1-
/*Copyright (c) 2003-2004, Mark Borgerding
2-
3-
All rights reserved.
4-
5-
Redistribution and use in source and binary forms, with or without
6-
modification, are permitted provided that the following conditions are met:
7-
8-
* Redistributions of source code must retain the above copyright notice,
9-
this list of conditions and the following disclaimer.
10-
* Redistributions in binary form must reproduce the above copyright notice,
11-
this list of conditions and the following disclaimer in the
12-
documentation and/or other materials provided with the distribution.
13-
14-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17-
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
18-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20-
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21-
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22-
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23-
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24-
POSSIBILITY OF SUCH DAMAGE.*/
1+
/*
2+
Copyright (c) 2024, The Mumble Developers
3+
Copyright (c) 2003-2004, Mark Borgerding
4+
5+
All rights reserved.
6+
7+
Redistribution and use in source and binary forms, with or without
8+
modification, are permitted provided that the following conditions
9+
are met:
10+
11+
- Redistributions of source code must retain the above copyright
12+
notice, this list of conditions and the following disclaimer.
13+
14+
- Redistributions in binary form must reproduce the above copyright
15+
notice, this list of conditions and the following disclaimer in the
16+
documentation and/or other materials provided with the distribution.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
22+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*/
2530

2631
#ifndef RENAMENOISE_FFT_GUTS_H
2732
#define RENAMENOISE_FFT_GUTS_H

src/arch.h

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
/* Copyright (c) 2003-2008 Jean-Marc Valin
2-
Copyright (c) 2007-2008 CSIRO
3-
Copyright (c) 2007-2009 Xiph.Org Foundation
4-
Written by Jean-Marc Valin */
5-
/**
6-
@file arch.h
7-
@brief Various architecture definitions for ReNameNoise
8-
*/
91
/*
2+
Copyright (c) 2024, The Mumble Developers
3+
Copyright (c) 2007-2009, Xiph.Org Foundation
4+
Copyright (c) 2007-2008, CSIRO
5+
Copyright (c) 2003-2008, Jean-Marc Valin
6+
7+
All rights reserved.
8+
109
Redistribution and use in source and binary forms, with or without
1110
modification, are permitted provided that the following conditions
1211
are met:
@@ -21,8 +20,8 @@
2120
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2221
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2322
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
25-
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
24+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
2625
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2726
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
2827
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
@@ -31,6 +30,11 @@
3130
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3231
*/
3332

33+
/**
34+
@file arch.h
35+
@brief Various architecture definitions for ReNameNoise
36+
*/
37+
3438
#ifndef ARCH_H
3539
#define ARCH_H
3640

src/common.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
/*
2+
Copyright (c) 2024, The Mumble Developers
3+
Copyright (c) 2017, Jean-Marc Valin
4+
5+
All rights reserved.
6+
7+
Redistribution and use in source and binary forms, with or without
8+
modification, are permitted provided that the following conditions
9+
are met:
10+
11+
- Redistributions of source code must retain the above copyright
12+
notice, this list of conditions and the following disclaimer.
13+
14+
- Redistributions in binary form must reproduce the above copyright
15+
notice, this list of conditions and the following disclaimer in the
16+
documentation and/or other materials provided with the distribution.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
22+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*/
30+
131
#ifndef COMMON_H
232
#define COMMON_H
333

src/denoise.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
/* Copyright (c) 2018 Gregor Richards
2-
* Copyright (c) 2017 Mozilla */
31
/*
2+
Copyright (c) 2024, The Mumble Developers
3+
Copyright (c) 2018, Gregor Richards
4+
Copyright (c) 2017, Mozilla
5+
6+
All rights reserved.
7+
48
Redistribution and use in source and binary forms, with or without
59
modification, are permitted provided that the following conditions
610
are met:

src/pitch.c

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
/* Copyright (c) 2007-2008 CSIRO
2-
Copyright (c) 2007-2009 Xiph.Org Foundation
3-
Written by Jean-Marc Valin */
4-
/**
5-
@file pitch.c
6-
@brief Pitch analysis
7-
*/
8-
91
/*
2+
Copyright (c) 2024, The Mumble Developers
3+
Copyright (c) 2007-2009, Xiph.Org Foundation
4+
Copyright (c) 2007-2008, CSIRO
5+
Copyright (c) 2003-2008, Jean-Marc Valin
6+
7+
All rights reserved.
8+
109
Redistribution and use in source and binary forms, with or without
1110
modification, are permitted provided that the following conditions
1211
are met:
@@ -21,8 +20,8 @@
2120
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2221
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2322
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
25-
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
24+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
2625
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2726
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
2827
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
@@ -31,6 +30,11 @@
3130
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3231
*/
3332

33+
/**
34+
@file pitch.c
35+
@brief Pitch analysis
36+
*/
37+
3438
#ifdef HAVE_CONFIG_H
3539
#include "config.h"
3640
#endif

src/pitch.h

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
/* Copyright (c) 2007-2008 CSIRO
2-
Copyright (c) 2007-2009 Xiph.Org Foundation
3-
Written by Jean-Marc Valin */
4-
/**
5-
@file pitch.h
6-
@brief Pitch analysis
7-
*/
8-
91
/*
2+
Copyright (c) 2024, The Mumble Developers
3+
Copyright (c) 2007-2009, Xiph.Org Foundation
4+
Copyright (c) 2007-2008, CSIRO
5+
Copyright (c) 2003-2008, Jean-Marc Valin
6+
7+
All rights reserved.
8+
109
Redistribution and use in source and binary forms, with or without
1110
modification, are permitted provided that the following conditions
1211
are met:
@@ -21,8 +20,8 @@
2120
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2221
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2322
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
25-
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
24+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
2625
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2726
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
2827
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
@@ -31,6 +30,11 @@
3130
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3231
*/
3332

33+
/**
34+
@file pitch.h
35+
@brief Pitch analysis
36+
*/
37+
3438
#ifndef PITCH_H
3539
#define PITCH_H
3640

src/renamenoise_fft.c

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,39 @@
1-
/*Copyright (c) 2003-2004, Mark Borgerding
2-
Lots of modifications by Jean-Marc Valin
3-
Copyright (c) 2005-2007, Xiph.Org Foundation
4-
Copyright (c) 2008, Xiph.Org Foundation, CSIRO
5-
6-
All rights reserved.
7-
8-
Redistribution and use in source and binary forms, with or without
9-
modification, are permitted provided that the following conditions are met:
10-
11-
* Redistributions of source code must retain the above copyright notice,
12-
this list of conditions and the following disclaimer.
13-
* Redistributions in binary form must reproduce the above copyright notice,
14-
this list of conditions and the following disclaimer in the
15-
documentation and/or other materials provided with the distribution.
16-
17-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20-
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23-
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24-
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25-
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26-
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27-
POSSIBILITY OF SUCH DAMAGE.*/
28-
29-
/* This code is originally from Mark Borgerding's KISS-FFT but has been
30-
heavily modified to better suit Opus and was subsequently refactored
31-
for ReNameNoise */
1+
/*
2+
Copyright (c) 2024, The Mumble Developers
3+
Copyright (c) 2008, Xiph.Org Foundation, CSIRO
4+
Copyright (c) 2005-2007, Xiph.Org Foundation
5+
Lots of modifications by Jean-Marc Valin
6+
Copyright (c) 2003-2004, Mark Borgerding
7+
8+
All rights reserved.
9+
10+
Redistribution and use in source and binary forms, with or without
11+
modification, are permitted provided that the following conditions
12+
are met:
13+
14+
- Redistributions of source code must retain the above copyright
15+
notice, this list of conditions and the following disclaimer.
16+
17+
- Redistributions in binary form must reproduce the above copyright
18+
notice, this list of conditions and the following disclaimer in the
19+
documentation and/or other materials provided with the distribution.
20+
21+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
25+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
26+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32+
*/
33+
34+
/* Lots of modifications by Jean-Marc Valin. This code is originally from Mark
35+
Borgerding's KISS-FFT but has been heavily modified to better suit Opus and
36+
was subsequently refactored for ReNameNoise */
3237

3338
#ifndef SKIP_CONFIG_H
3439
# ifdef HAVE_CONFIG_H

0 commit comments

Comments
 (0)