mirror of
https://github.com/mpv-player/mpv
synced 2025-04-07 19:06:39 +02:00
Add proper copyright/license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25511 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
36928c82e1
commit
ff08ff09ac
@ -1,3 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* resample.c
|
||||||
|
* Copyright (C) 2001 Árpád Gereöffy
|
||||||
|
*
|
||||||
|
* This file is part of a52dec, a free ATSC A-52 stream decoder.
|
||||||
|
* See http://liba52.sourceforge.net/ for updates.
|
||||||
|
*
|
||||||
|
* File added for use with MPlayer and not part of original a52dec.
|
||||||
|
*
|
||||||
|
* a52dec 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.
|
||||||
|
*
|
||||||
|
* a52dec 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 this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
// a52_resample_init should find the requested converter (from type flags ->
|
// a52_resample_init should find the requested converter (from type flags ->
|
||||||
// given number of channels) and set up some function pointers...
|
// given number of channels) and set up some function pointers...
|
||||||
|
@ -1,4 +1,26 @@
|
|||||||
// AltiVec support Copyright (c) 2004 Romain Dolbeau <romain@dolbeau.org>
|
/*
|
||||||
|
* resample.c
|
||||||
|
* Copyright (C) 2004 Romain Dolbeau <romain@dolbeau.org>
|
||||||
|
*
|
||||||
|
* This file is part of a52dec, a free ATSC A-52 stream decoder.
|
||||||
|
* See http://liba52.sourceforge.net/ for updates.
|
||||||
|
*
|
||||||
|
* File added for use with MPlayer and not part of original a52dec.
|
||||||
|
*
|
||||||
|
* a52dec 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.
|
||||||
|
*
|
||||||
|
* a52dec 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 this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_ALTIVEC_H
|
#ifdef HAVE_ALTIVEC_H
|
||||||
#include <altivec.h>
|
#include <altivec.h>
|
||||||
|
@ -1,3 +1,27 @@
|
|||||||
|
/*
|
||||||
|
* resample_c.c
|
||||||
|
* Copyright (C) 2001 Árpád Gereöffy
|
||||||
|
*
|
||||||
|
* This file is part of a52dec, a free ATSC A-52 stream decoder.
|
||||||
|
* See http://liba52.sourceforge.net/ for updates.
|
||||||
|
*
|
||||||
|
* File added for use with MPlayer and not part of original a52dec.
|
||||||
|
*
|
||||||
|
* a52dec 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.
|
||||||
|
*
|
||||||
|
* a52dec 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 this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
static inline int16_t convert (int32_t i)
|
static inline int16_t convert (int32_t i)
|
||||||
{
|
{
|
||||||
if (i > 0x43c07fff)
|
if (i > 0x43c07fff)
|
||||||
|
@ -1,5 +1,26 @@
|
|||||||
|
/*
|
||||||
// MMX optimizations from Michael Niedermayer (michaelni@gmx.at) (under GPL)
|
* resample_mmx.c
|
||||||
|
* Copyright (C) 2001 Michael Niedermayer (michaelni@gmx.at)
|
||||||
|
*
|
||||||
|
* This file is part of a52dec, a free ATSC A-52 stream decoder.
|
||||||
|
* See http://liba52.sourceforge.net/ for updates.
|
||||||
|
*
|
||||||
|
* File added for use with MPlayer and not part of original a52dec.
|
||||||
|
*
|
||||||
|
* a52dec 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.
|
||||||
|
*
|
||||||
|
* a52dec 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 this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
/* optimization TODO / NOTES
|
/* optimization TODO / NOTES
|
||||||
movntq is slightly faster (0.5% with the current test.c benchmark)
|
movntq is slightly faster (0.5% with the current test.c benchmark)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user