annotate liba52/mm_accel.h @ 13484:344ac36c7342

Sync with 1.748: better descriptions for remaining, poorly documented masking options (many thanks to Loren Merritt) vi_qfactor description HUGE amount of spelling/wording/etc... corrections. These at least amount to 1 million l. No kidding
author gpoirier
date Sun, 26 Sep 2004 21:41:54 +0000
parents 01a9cf43074c
children 07f1e7669772
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3394
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
1 /*
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
2 * mm_accel.h
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
3 * Copyright (C) 2000-2001 Michel Lespinasse <walken@zoy.org>
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
4 * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
5 *
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
6 * This file is part of a52dec, a free ATSC A-52 stream decoder.
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
7 * See http://liba52.sourceforge.net/ for updates.
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
8 *
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
9 * a52dec is free software; you can redistribute it and/or modify
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
10 * it under the terms of the GNU General Public License as published by
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
11 * the Free Software Foundation; either version 2 of the License, or
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
12 * (at your option) any later version.
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
13 *
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
14 * a52dec is distributed in the hope that it will be useful,
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
17 * GNU General Public License for more details.
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
18 *
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
20 * along with this program; if not, write to the Free Software
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
22 */
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
23
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
24 #ifndef MM_ACCEL_H
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
25 #define MM_ACCEL_H
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
26
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
27 /* generic accelerations */
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
28 #define MM_ACCEL_MLIB 0x00000001
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
29
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
30 /* x86 accelerations */
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
31 #define MM_ACCEL_X86_MMX 0x80000000
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
32 #define MM_ACCEL_X86_3DNOW 0x40000000
4261
nick
parents: 3905
diff changeset
33 #define MM_ACCEL_X86_3DNOWEXT 0x08000000
3394
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
34 #define MM_ACCEL_X86_MMXEXT 0x20000000
3905
91e5c563fce5 SSE added
arpi
parents: 3394
diff changeset
35 #define MM_ACCEL_X86_SSE 0x10000000
3394
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
36
9001
01a9cf43074c An AltiVec-enhanced IMDCT for liba52 (liba52/imdct.c)
arpi
parents: 4261
diff changeset
37 /* PPC accelerations */
01a9cf43074c An AltiVec-enhanced IMDCT for liba52 (liba52/imdct.c)
arpi
parents: 4261
diff changeset
38 #define MM_ACCEL_PPC_ALTIVEC 0x00010000
01a9cf43074c An AltiVec-enhanced IMDCT for liba52 (liba52/imdct.c)
arpi
parents: 4261
diff changeset
39
3394
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
40 uint32_t mm_accel (void);
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
41
35b18ed357c2 imported from liba52 CVS
arpi
parents:
diff changeset
42 #endif /* MM_ACCEL_H */