diff options
Diffstat (limited to 'ac3dec/mm_accel.h')
-rw-r--r-- | ac3dec/mm_accel.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ac3dec/mm_accel.h b/ac3dec/mm_accel.h new file mode 100644 index 0000000..82dc583 --- /dev/null +++ b/ac3dec/mm_accel.h @@ -0,0 +1,36 @@ +/***** +* +* This file is part of the OMS program. +* +* This program 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, or (at your option) +* any later version. +* +* This program 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; see the file COPYING. If not, write to +* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +* +*****/ + +#ifndef __MM_ACCEL_H__ +#define __MM_ACCEL_H__ + +#include <inttypes.h> + +// generic accelerations +#define MM_ACCEL_MLIB 0x00000001 + +// x86 accelerations +#define MM_ACCEL_X86_MMX 0x80000000 +#define MM_ACCEL_X86_3DNOW 0x40000000 +#define MM_ACCEL_X86_MMXEXT 0x20000000 + +uint32_t mm_accel (void); + +#endif |