Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 41d94ed

Browse files
committed
Bug 790381 - Update libopus to 1.0.0 release. r=derf
Update files to match the opus-1.0.0 source release. This corresponds to the spec implementation included in RFC 6716. Changes from the previous in-tree version (draft-12): - Add extern "C" protection on opus_multistream.h. - Align to sizeof(void*) instead of 4 bytes. - Copyright header updates for IETF publication. - Minor documentation and whitespace fixes.
1 parent 9e1fc83 commit 41d94ed

216 files changed

Lines changed: 1446 additions & 463 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

media/libopus/COPYING

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic,
1+
Copyright 1994-2011 IETF Trust, Xiph.Org, Skype Limited, Octasic,
22
Jean-Marc Valin, Timothy B. Terriberry,
3-
CSIRO, Gregory Maxwell, Mark Borgerding,
4-
Erik de Castro Lopo
3+
CSIRO, Gregory Maxwell, Mark Borgerding,
4+
Erik de Castro Lopo. All rights reserved.
5+
6+
This file is extracted from RFC6716. Please see that RFC for additional
7+
information.
58

69
Redistribution and use in source and binary forms, with or without
710
modification, are permitted provided that the following conditions
@@ -14,7 +17,7 @@ notice, this list of conditions and the following disclaimer.
1417
notice, this list of conditions and the following disclaimer in the
1518
documentation and/or other materials provided with the distribution.
1619

17-
- Neither the name of Internet Society, IETF or IETF Trust, nor the
20+
- Neither the name of Internet Society, IETF or IETF Trust, nor the
1821
names of specific contributors, may be used to endorse or promote
1922
products derived from this software without specific prior written
2023
permission.

media/libopus/README_MOZILLA

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ files after the copy step.
88

99
The upstream repository is https://git.xiph.org/opus.git
1010

11-
The git tag/revision used was draft-12.
11+
The git tag/revision used was 1.0.0.

media/libopus/celt/_kiss_fft_guts.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
/*Copyright (c) 2003-2004, Mark Borgerding
1+
/*Copyright (c) 2003-2012 IETF Trust, Mark Borgerding. All rights reserved.
22
3-
All rights reserved.
3+
4+
This file is extracted from RFC6716. Please see that RFC for additional
5+
information.
46
57
Redistribution and use in source and binary forms, with or without
68
modification, are permitted provided that the following conditions are met:

media/libopus/celt/arch.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
/* Copyright (c) 2003-2008 Jean-Marc Valin
2-
Copyright (c) 2007-2008 CSIRO
3-
Copyright (c) 2007-2009 Xiph.Org Foundation
1+
/* Copyright (c) 2003-2012 IETF Trust, Jean-Marc Valin, CSIRO,
2+
Xiph.Org Foundation. All rights reserved.
43
Written by Jean-Marc Valin */
54
/**
65
@file arch.h
76
@brief Various architecture definitions for CELT
87
*/
98
/*
9+
10+
This file is extracted from RFC6716. Please see that RFC for additional
11+
information.
12+
1013
Redistribution and use in source and binary forms, with or without
1114
modification, are permitted provided that the following conditions
1215
are met:

media/libopus/celt/bands.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
/* Copyright (c) 2007-2008 CSIRO
2-
Copyright (c) 2007-2009 Xiph.Org Foundation
3-
Copyright (c) 2008-2009 Gregory Maxwell
1+
/* Copyright (c) 2007-2012 IETF Trust, CSIRO, Xiph.Org Foundation,
2+
Gregory Maxwell. All rights reserved.
43
Written by Jean-Marc Valin and Gregory Maxwell */
54
/*
5+
6+
This file is extracted from RFC6716. Please see that RFC for additional
7+
information.
8+
69
Redistribution and use in source and binary forms, with or without
710
modification, are permitted provided that the following conditions
811
are met:

media/libopus/celt/bands.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
/* Copyright (c) 2007-2008 CSIRO
2-
Copyright (c) 2007-2009 Xiph.Org Foundation
3-
Copyright (c) 2008-2009 Gregory Maxwell
1+
/* Copyright (c) 2007-2012 IETF Trust, CSIRO, Xiph.Org Foundation,
2+
Gregory Maxwell. All rights reserved.
43
Written by Jean-Marc Valin and Gregory Maxwell */
54
/*
5+
6+
This file is extracted from RFC6716. Please see that RFC for additional
7+
information.
8+
69
Redistribution and use in source and binary forms, with or without
710
modification, are permitted provided that the following conditions
811
are met:

media/libopus/celt/celt.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
/* Copyright (c) 2007-2008 CSIRO
2-
Copyright (c) 2007-2010 Xiph.Org Foundation
3-
Copyright (c) 2008 Gregory Maxwell
1+
/* Copyright (c) 2007-2012 IETF Trust, CSIRO, Xiph.Org Foundation,
2+
Gregory Maxwell. All rights reserved.
43
Written by Jean-Marc Valin and Gregory Maxwell */
54
/*
5+
6+
This file is extracted from RFC6716. Please see that RFC for additional
7+
information.
8+
69
Redistribution and use in source and binary forms, with or without
710
modification, are permitted provided that the following conditions
811
are met:

media/libopus/celt/celt.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
/* Copyright (c) 2007-2008 CSIRO
2-
Copyright (c) 2007-2009 Xiph.Org Foundation
3-
Copyright (c) 2008 Gregory Maxwell
1+
/* Copyright (c) 2007-2012 IETF Trust, CSIRO, Xiph.Org Foundation,
2+
Gregory Maxwell. All rights reserved.
43
Written by Jean-Marc Valin and Gregory Maxwell */
54
/**
65
@file celt.h
76
@brief Contains all the functions for encoding and decoding audio
87
*/
98

109
/*
10+
11+
This file is extracted from RFC6716. Please see that RFC for additional
12+
information.
13+
1114
Redistribution and use in source and binary forms, with or without
1215
modification, are permitted provided that the following conditions
1316
are met:

media/libopus/celt/celt_lpc.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
/* Copyright (c) 2009-2010 Xiph.Org Foundation
1+
/* Copyright (c) 2009-2012 IETF Trust, Xiph.Org Foundation. All rights reserved.
22
Written by Jean-Marc Valin */
33
/*
4+
5+
This file is extracted from RFC6716. Please see that RFC for additional
6+
information.
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:

media/libopus/celt/celt_lpc.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
/* Copyright (c) 2009-2010 Xiph.Org Foundation
1+
/* Copyright (c) 2009-2012 IETF Trust, Xiph.Org Foundation. All rights reserved.
22
Written by Jean-Marc Valin */
33
/*
4+
5+
This file is extracted from RFC6716. Please see that RFC for additional
6+
information.
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:

0 commit comments

Comments
 (0)