From 8198c5f15e379b5a0c1b2a805d7b4b9035e4c605 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 5 Jan 2009 12:41:40 +0000 Subject: Replace informal license notices by standard license header and add standard license header where missing. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28264 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libaf/af.c | 18 ++++++++++++++++++ libaf/af.h | 18 ++++++++++++++++++ libaf/af_center.c | 35 +++++++++++++++++++++++++---------- libaf/af_channels.c | 26 ++++++++++++++++++++++---- libaf/af_comp.c | 28 +++++++++++++++++++--------- libaf/af_delay.c | 26 ++++++++++++++++++++++---- libaf/af_dummy.c | 23 +++++++++++++++++++++-- libaf/af_equalizer.c | 39 ++++++++++++++++++++++++--------------- libaf/af_export.c | 33 +++++++++++++++++++++++++-------- libaf/af_extrastereo.c | 28 +++++++++++++++++++--------- libaf/af_format.c | 25 +++++++++++++++++++++---- libaf/af_format.h | 24 +++++++++++++++++++++--- libaf/af_format_alaw.c | 34 ++++++++++++++++++++++------------ libaf/af_format_ulaw.c | 34 ++++++++++++++++++++++------------ libaf/af_gate.c | 28 +++++++++++++++++++--------- libaf/af_hrtf.c | 26 ++++++++++++++++++++++---- libaf/af_hrtf.h | 18 ++++++++++++++++++ libaf/af_karaoke.c | 28 +++++++++++++++++++++------- libaf/af_mp.h | 18 ++++++++++++++++++ libaf/af_pan.c | 30 +++++++++++++++++++----------- libaf/af_resample.c | 31 +++++++++++++++++++++---------- libaf/af_resample_template.c | 28 +++++++++++++++++++--------- libaf/af_sinesuppress.c | 31 +++++++++++++++++++++---------- libaf/af_sub.c | 28 +++++++++++++++++++--------- libaf/af_tools.c | 18 ++++++++++++++++++ libaf/af_volnorm.c | 28 +++++++++++++++++++--------- libaf/af_volume.c | 28 +++++++++++++++++++--------- libaf/control.h | 18 ++++++++++++++++++ libaf/dsp.h | 28 +++++++++++++++++++--------- libaf/equalizer.h | 28 +++++++++++++++++++--------- libaf/filter.c | 33 +++++++++++++++++++++------------ libaf/filter.h | 28 +++++++++++++++++++--------- libaf/format.c | 28 +++++++++++++++++++--------- libaf/window.c | 28 +++++++++++++++++++--------- libaf/window.h | 28 +++++++++++++++++++--------- 35 files changed, 705 insertions(+), 245 deletions(-) diff --git a/libaf/af.c b/libaf/af.c index 06e2a065d2..77fda8e320 100644 --- a/libaf/af.c +++ b/libaf/af.c @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include #include #include diff --git a/libaf/af.h b/libaf/af.h index dfa9cfdea5..4696e51472 100644 --- a/libaf/af.h +++ b/libaf/af.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_AF_H #define MPLAYER_AF_H diff --git a/libaf/af_center.c b/libaf/af_center.c index dd9f624ebe..c24554436f 100644 --- a/libaf/af_center.c +++ b/libaf/af_center.c @@ -1,14 +1,29 @@ /* - (C) Alex Beregszaszi - License: GPL - - This filter adds a center channel to the audio stream by - averaging the left and right channel. - There are two runtime controls one for setting which channel to - insert the center-audio into called AF_CONTROL_SUB_CH. - - FIXME: implement a high-pass filter for better results. -*/ + * This filter adds a center channel to the audio stream by + * averaging the left and right channel. + * There are two runtime controls one for setting which channel + * to insert the center-audio into called AF_CONTROL_SUB_CH. + * + * FIXME: implement a high-pass filter for better results. + * + * copyright (c) 2005 Alex Beregszaszi + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/af_channels.c b/libaf/af_channels.c index 772242038e..bc329c9b31 100644 --- a/libaf/af_channels.c +++ b/libaf/af_channels.c @@ -1,7 +1,25 @@ -/* Audio filter that adds and removes channels, according to the - command line parameter channels. It is stupid and can only add - silence or copy channels not mix or filter. -*/ +/* + * Audio filter that adds and removes channels, according to the + * command line parameter channels. It is stupid and can only add + * silence or copy channels, not mix or filter. + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include #include #include diff --git a/libaf/af_comp.c b/libaf/af_comp.c index 0b77c7a025..0eef76c2f4 100644 --- a/libaf/af_comp.c +++ b/libaf/af_comp.c @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ +/* + * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/af_delay.c b/libaf/af_delay.c index 61bd77c24d..f754e736cd 100644 --- a/libaf/af_delay.c +++ b/libaf/af_delay.c @@ -1,7 +1,25 @@ -/* This audio filter delays the output signal for the different - channels and can be used for simple position panning. Extension for - this filter would be a reverb. -*/ +/* + * This audio filter delays the output signal for the different + * channels and can be used for simple position panning. + * An extension for this filter would be a reverb. + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include #include #include diff --git a/libaf/af_dummy.c b/libaf/af_dummy.c index 3136dbb00f..19a765c66d 100644 --- a/libaf/af_dummy.c +++ b/libaf/af_dummy.c @@ -1,5 +1,24 @@ -/* The name speaks for itself this filter is a dummy and will not blow - up regardless of what you do with it. */ +/* + * The name speaks for itself. This filter is a dummy and will + * not blow up regardless of what you do with it. + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include #include #include diff --git a/libaf/af_equalizer.c b/libaf/af_equalizer.c index 5a92090d32..e9c95d98b9 100644 --- a/libaf/af_equalizer.c +++ b/libaf/af_equalizer.c @@ -1,18 +1,27 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2001 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ - -/* Equalizer filter, implementation of a 10 band time domain graphic - equalizer using IIR filters. The IIR filters are implemented using a - Direct Form II approach, but has been modified (b1 == 0 always) to - save computation. -*/ +/* + * Equalizer filter, implementation of a 10 band time domain graphic + * equalizer using IIR filters. The IIR filters are implemented using a + * Direct Form II approach, but has been modified (b1 == 0 always) to + * save computation. + * + * Copyright (C) 2001 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/af_export.c b/libaf/af_export.c index 571507019d..cc32fac42d 100644 --- a/libaf/af_export.c +++ b/libaf/af_export.c @@ -1,11 +1,28 @@ -/* This audio filter exports the incomming signal to other processes - using memory mapping. Memory mapped area contains a header: - int nch, - int size, - unsigned long long counter (updated every time the contents of - the area changes), - the rest is payload (non-interleaved). -*/ +/* + * This audio filter exports the incoming signal to other processes + * using memory mapping. The memory mapped area contains a header: + * int nch, + * int size, + * unsigned long long counter (updated every time the contents of + * the area changes), + * the rest is payload (non-interleaved). + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/af_extrastereo.c b/libaf/af_extrastereo.c index 7159221d54..88d2557fd2 100644 --- a/libaf/af_extrastereo.c +++ b/libaf/af_extrastereo.c @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2004 Alex Beregszaszi & Pierre Lombard -// -//============================================================================= -*/ +/* + * Copyright (C) 2004 Alex Beregszaszi & Pierre Lombard + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/af_format.c b/libaf/af_format.c index bc6830ab58..c53a6b0635 100644 --- a/libaf/af_format.c +++ b/libaf/af_format.c @@ -1,7 +1,24 @@ -/* This audio output filter changes the format of a data block. Valid - formats are: AFMT_U8, AFMT_S8, AFMT_S16_LE, AFMT_S16_BE - AFMT_U16_LE, AFMT_U16_BE, AFMT_S32_LE and AFMT_S32_BE. -*/ +/* + * This audio filter changes the format of a data block. Valid + * formats are: AFMT_U8, AFMT_S8, AFMT_S16_LE, AFMT_S16_BE + * AFMT_U16_LE, AFMT_U16_BE, AFMT_S32_LE and AFMT_S32_BE. + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ // Must be defined before any libc headers are included! #define _ISOC9X_SOURCE diff --git a/libaf/af_format.h b/libaf/af_format.h index dee7503dc2..49a25374ae 100644 --- a/libaf/af_format.h +++ b/libaf/af_format.h @@ -1,6 +1,24 @@ -/* The sample format system used lin libaf is based on bitmasks. The - format definition only refers to the storage format not the - resolution. */ +/* + * The sample format system used lin libaf is based on bitmasks. + * The format definition only refers to the storage format, + * not the resolution. + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #ifndef MPLAYER_AF_FORMAT_H #define MPLAYER_AF_FORMAT_H diff --git a/libaf/af_format_alaw.c b/libaf/af_format_alaw.c index 2283a3f14b..f35ee16d66 100644 --- a/libaf/af_format_alaw.c +++ b/libaf/af_format_alaw.c @@ -1,15 +1,25 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@watri.uwa.edu.au -// -// This file is based on a part of libsndfile, the work of -// Erik de Castro Lopo -// -//============================================================================= -*/ +/* + * Copyright (C) 2002 Anders Johansson ajh@watri.uwa.edu.au + * + * This file is based on a part of libsndfile, the work of + * Erik de Castro Lopo . + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #ifndef AF_FORMAT_ALAW_C #define AF_FORMAT_ALAW_C diff --git a/libaf/af_format_ulaw.c b/libaf/af_format_ulaw.c index e6e62f1f55..bdee6a1f6a 100644 --- a/libaf/af_format_ulaw.c +++ b/libaf/af_format_ulaw.c @@ -1,15 +1,25 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@watri.uwa.edu.au -// -// This file is based on a part of libsndfile, the work of -// Erik de Castro Lopo -// -//============================================================================= -*/ +/* + * Copyright (C) 2002 Anders Johansson ajh@watri.uwa.edu.au + * + * This file is based on a part of libsndfile, the work of + * Erik de Castro Lopo . + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #ifndef AF_FORMAT_ULAW_C #define AF_FORMAT_ULAW_C diff --git a/libaf/af_gate.c b/libaf/af_gate.c index f4d574a64e..26c7e8ad03 100644 --- a/libaf/af_gate.c +++ b/libaf/af_gate.c @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ +/* + * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/af_hrtf.c b/libaf/af_hrtf.c index fe16823b9f..6fc6035c08 100644 --- a/libaf/af_hrtf.c +++ b/libaf/af_hrtf.c @@ -1,7 +1,25 @@ -/* Experimental audio filter that mixes 5.1 and 5.1 with matrix - encoded rear channels into headphone signal using FIR filtering - with HRTF. -*/ +/* + * Experimental audio filter that mixes 5.1 and 5.1 with matrix + * encoded rear channels into headphone signal using FIR filtering + * with HRTF. + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + //#include #include #include diff --git a/libaf/af_hrtf.h b/libaf/af_hrtf.h index 0ddc5b343e..887310b57d 100644 --- a/libaf/af_hrtf.h +++ b/libaf/af_hrtf.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_AF_HRTF_H #define MPLAYER_AF_HRTF_H diff --git a/libaf/af_karaoke.c b/libaf/af_karaoke.c index 6524f0edd0..5239c74721 100644 --- a/libaf/af_karaoke.c +++ b/libaf/af_karaoke.c @@ -1,11 +1,25 @@ /* - (c)2006 MPlayer / Reynaldo H. Verdejo Pinochet - Based on code by Alex Beregszaszi for his 'center' filter - - License: GPL - - Simple voice removal filter -*/ + * simple voice removal filter + * + * copyright (c) 2006 Reynaldo H. Verdejo Pinochet + * Based on code by Alex Beregszaszi for his 'center' filter. + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/af_mp.h b/libaf/af_mp.h index 3c10c9466d..29aca538e7 100644 --- a/libaf/af_mp.h +++ b/libaf/af_mp.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + /* Include file for mplayer specific defines and includes */ #ifndef MPLAYER_AF_MP_H #define MPLAYER_AF_MP_H diff --git a/libaf/af_pan.c b/libaf/af_pan.c index 67c58a22a2..ae2f81c50a 100644 --- a/libaf/af_pan.c +++ b/libaf/af_pan.c @@ -1,14 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ - -/* */ +/* + * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/af_resample.c b/libaf/af_resample.c index fa2588976b..c2cfb4b74f 100644 --- a/libaf/af_resample.c +++ b/libaf/af_resample.c @@ -1,14 +1,25 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ +/* + * This audio filter changes the sample rate. + * + * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ -/* This audio filter changes the sample rate. */ #include #include #include diff --git a/libaf/af_resample_template.c b/libaf/af_resample_template.c index d0aae0bceb..be9a761acc 100644 --- a/libaf/af_resample_template.c +++ b/libaf/af_resample_template.c @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ +/* + * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ /* This file contains the resampling engine, the sample format is controlled by the FORMAT parameter, the filter length by the L diff --git a/libaf/af_sinesuppress.c b/libaf/af_sinesuppress.c index 9928ebc17c..e15a740c84 100644 --- a/libaf/af_sinesuppress.c +++ b/libaf/af_sinesuppress.c @@ -1,13 +1,24 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2006 Michael Niedermayer -// Copyright 2004 Alex Beregszaszi & Pierre Lombard (original af_extrastereo.c upon which this is based) -// -//============================================================================= -*/ +/* + * Copyright (C) 2006 Michael Niedermayer + * Copyright (C) 2004 Alex Beregszaszi + * based upon af_extrastereo.c by Pierre Lombard + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/af_sub.c b/libaf/af_sub.c index 3a48363e8e..f7034da61d 100644 --- a/libaf/af_sub.c +++ b/libaf/af_sub.c @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@watri.uwa.edu.au -// -//============================================================================= -*/ +/* + * Copyright (C) 2002 Anders Johansson ajh@watri.uwa.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ /* This filter adds a sub-woofer channels to the audio stream by averaging the left and right channel and low-pass filter them. The diff --git a/libaf/af_tools.c b/libaf/af_tools.c index 784be31336..556429f4d9 100644 --- a/libaf/af_tools.c +++ b/libaf/af_tools.c @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include #include #include "af.h" diff --git a/libaf/af_volnorm.c b/libaf/af_volnorm.c index d067e78db7..76cf9b1dd1 100644 --- a/libaf/af_volnorm.c +++ b/libaf/af_volnorm.c @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2004 Alex Beregszaszi & Pierre Lombard -// -//============================================================================= -*/ +/* + * Copyright (C) 2004 Alex Beregszaszi & Pierre Lombard + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/af_volume.c b/libaf/af_volume.c index c06b6710a6..045b4c2618 100644 --- a/libaf/af_volume.c +++ b/libaf/af_volume.c @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ +/* + * Copyright (C)2002 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ /* This audio filter changes the volume of the sound, and can be used when the mixer doesn't support the PCM channel. It can handle diff --git a/libaf/control.h b/libaf/control.h index c5bde6d005..1d657b4a21 100644 --- a/libaf/control.h +++ b/libaf/control.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_CONTROL_H #define MPLAYER_CONTROL_H diff --git a/libaf/dsp.h b/libaf/dsp.h index dd788d5a49..561b86cfe0 100644 --- a/libaf/dsp.h +++ b/libaf/dsp.h @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ +/* + * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #ifndef MPLAYER_DSP_H #define MPLAYER_DSP_H diff --git a/libaf/equalizer.h b/libaf/equalizer.h index 8accd97804..8700ad2585 100644 --- a/libaf/equalizer.h +++ b/libaf/equalizer.h @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ +/* + * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #ifndef MPLAYER_EQUALIZER_H #define MPLAYER_EQUALIZER_H diff --git a/libaf/filter.c b/libaf/filter.c index fb5d93b7d5..78d5e86e2d 100644 --- a/libaf/filter.c +++ b/libaf/filter.c @@ -1,16 +1,25 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2001 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ - -/* Design and implementation of different types of digital filters +/* + * design and implementation of different types of digital filters + * + * Copyright (C) 2001 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ -*/ #include #include #include "dsp.h" diff --git a/libaf/filter.h b/libaf/filter.h index fe92be8e9c..8b9c7e8822 100644 --- a/libaf/filter.h +++ b/libaf/filter.h @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2001 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ +/* + * Copyright (C) 2001 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #if !defined MPLAYER_DSP_H # error Never use filter.h directly; include dsp.h instead. diff --git a/libaf/format.c b/libaf/format.c index 675c593224..e681cc2050 100644 --- a/libaf/format.c +++ b/libaf/format.c @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2005 Alex Beregszaszi -// -//============================================================================= -*/ +/* + * Copyright (C) 2005 Alex Beregszaszi + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libaf/window.c b/libaf/window.c index d54a3cb493..0230c33673 100644 --- a/libaf/window.c +++ b/libaf/window.c @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2001 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ +/* + * Copyright (C) 2001 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ /* Calculates a number of window functions. The following window functions are currently implemented: Boxcar, Triang, Hanning, diff --git a/libaf/window.h b/libaf/window.h index fb4b1cefae..1c179b7902 100644 --- a/libaf/window.h +++ b/libaf/window.h @@ -1,12 +1,22 @@ -/*============================================================================= -// -// This software has been released under the terms of the GNU General Public -// license. See http://www.gnu.org/copyleft/gpl.html for details. -// -// Copyright 2001 Anders Johansson ajh@atri.curtin.edu.au -// -//============================================================================= -*/ +/* + * Copyright (C) 2001 Anders Johansson ajh@atri.curtin.edu.au + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ /* Calculates a number of window functions. The following window functions are currently implemented: Boxcar, Triang, Hanning, -- cgit v1.2.3