Mercurial > mplayer.hg
changeset 28229:72d0b1444141
Replace informal license notices by standard license header
and add standard license header where missing.
author | diego |
---|---|
date | Mon, 05 Jan 2009 12:41:40 +0000 |
parents | 96ba36bd6123 |
children | 1e8262fa78c3 |
files | libaf/af.c libaf/af.h libaf/af_center.c libaf/af_channels.c libaf/af_comp.c libaf/af_delay.c libaf/af_dummy.c libaf/af_equalizer.c libaf/af_export.c libaf/af_extrastereo.c libaf/af_format.c libaf/af_format.h libaf/af_format_alaw.c libaf/af_format_ulaw.c libaf/af_gate.c libaf/af_hrtf.c libaf/af_hrtf.h libaf/af_karaoke.c libaf/af_mp.h libaf/af_pan.c libaf/af_resample.c libaf/af_resample_template.c libaf/af_sinesuppress.c libaf/af_sub.c libaf/af_tools.c libaf/af_volnorm.c libaf/af_volume.c libaf/control.h libaf/dsp.h libaf/equalizer.h libaf/filter.c libaf/filter.h libaf/format.c libaf/window.c libaf/window.h |
diffstat | 35 files changed, 705 insertions(+), 245 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h> #include <string.h>
--- a/libaf/af.h Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af.h Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/af_center.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_center.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/af_channels.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_channels.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h> #include <string.h>
--- a/libaf/af_comp.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_comp.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/af_delay.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_delay.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h> #include <string.h>
--- a/libaf/af_dummy.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_dummy.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h> #include <string.h>
--- a/libaf/af_equalizer.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_equalizer.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/af_export.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_export.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/af_extrastereo.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_extrastereo.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/af_format.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_format.c Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/af_format.h Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_format.h Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/af_format_alaw.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_format_alaw.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <erikd@zip.com.au> -// -//============================================================================= -*/ +/* + * 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 <erikd@zip.com.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 AF_FORMAT_ALAW_C #define AF_FORMAT_ALAW_C
--- a/libaf/af_format_ulaw.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_format_ulaw.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <erikd@zip.com.au> -// -//============================================================================= -*/ +/* + * 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 <erikd@zip.com.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 AF_FORMAT_ULAW_C #define AF_FORMAT_ULAW_C
--- a/libaf/af_gate.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_gate.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/af_hrtf.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_hrtf.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h> #include <string.h>
--- a/libaf/af_hrtf.h Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_hrtf.h Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/af_karaoke.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_karaoke.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/af_mp.h Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_mp.h Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/af_pan.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_pan.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/af_resample.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_resample.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h> #include <inttypes.h>
--- a/libaf/af_resample_template.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_resample_template.c Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/af_sinesuppress.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_sinesuppress.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/af_sub.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_sub.c Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/af_tools.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_tools.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <math.h> #include <string.h> #include "af.h"
--- a/libaf/af_volnorm.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_volnorm.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/af_volume.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/af_volume.c Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/control.h Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/control.h Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/dsp.h Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/dsp.h Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/equalizer.h Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/equalizer.h Mon Jan 05 12:41:40 2009 +0000 @@ -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
--- a/libaf/filter.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/filter.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 + * + * 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. + */ -/* Design and implementation of different types of digital filters - -*/ #include <string.h> #include <math.h> #include "dsp.h"
--- a/libaf/filter.h Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/filter.h Mon Jan 05 12:41:40 2009 +0000 @@ -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.
--- a/libaf/format.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/format.c Mon Jan 05 12:41:40 2009 +0000 @@ -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 <stdio.h> #include <stdlib.h>
--- a/libaf/window.c Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/window.c Mon Jan 05 12:41:40 2009 +0000 @@ -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,
--- a/libaf/window.h Mon Jan 05 11:44:13 2009 +0000 +++ b/libaf/window.h Mon Jan 05 12:41:40 2009 +0000 @@ -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,