Mercurial > libavcodec.hg
comparison i386/mpegvideo_mmx_template.c @ 429:718a22dc121f libavcodec
license/copyright change
author | glantau |
---|---|
date | Sat, 25 May 2002 22:45:33 +0000 |
parents | 6ebbecc10063 |
children | b1a191202f96 |
comparison
equal
deleted
inserted
replaced
428:dd4f4c3d7171 | 429:718a22dc121f |
---|---|
1 /* | 1 /* |
2 Copyright (C) 2002 Michael Niedermayer <michaelni@gmx.at> | 2 * MPEG video MMX templates |
3 | 3 * |
4 This program is free software; you can redistribute it and/or modify | 4 * Copyright (c) 2002 Michael Niedermayer <michaelni@gmx.at> |
5 it under the terms of the GNU General Public License as published by | 5 * |
6 the Free Software Foundation; either version 2 of the License, or | 6 * This library is free software; you can redistribute it and/or |
7 (at your option) any later version. | 7 * modify it under the terms of the GNU Lesser General Public |
8 | 8 * License as published by the Free Software Foundation; either |
9 This program is distributed in the hope that it will be useful, | 9 * version 2 of the License, or (at your option) any later version. |
10 but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * |
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * This library is distributed in the hope that it will be useful, |
12 GNU General Public License for more details. | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 You should have received a copy of the GNU General Public License | 14 * Lesser General Public License for more details. |
15 along with this program; if not, write to the Free Software | 15 * |
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 * You should have received a copy of the GNU Lesser General Public |
17 */ | 17 * License along with this library; if not, write to the Free Software |
18 | 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 */ | |
19 #undef SPREADW | 20 #undef SPREADW |
20 #undef PMAXW | 21 #undef PMAXW |
21 #ifdef HAVE_MMX2 | 22 #ifdef HAVE_MMX2 |
22 #define SPREADW(a) "pshufw $0, " #a ", " #a " \n\t" | 23 #define SPREADW(a) "pshufw $0, " #a ", " #a " \n\t" |
23 #define PMAXW(a,b) "pmaxsw " #a ", " #b " \n\t" | 24 #define PMAXW(a,b) "pmaxsw " #a ", " #b " \n\t" |