Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
libmpeg2
Commits
182205ac
Commit
182205ac
authored
Sep 04, 2001
by
Michel Lespinasse
Browse files
add TenDRA support
parent
614ec961
Changes
3
Hide whitespace changes
Inline
Side-by-side
mpeg2dec/configure.in
View file @
182205ac
...
...
@@ -46,6 +46,12 @@ if test x"$GCC" = x"yes"; then
OPT_CFLAGS="$CFLAGS -mabi=64"
AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
esac
elif test x"$CC" = x"tcc"; then
dnl TenDRA portability checking compiler
CFLAGS="-Xp -Yansi -f`pwd`/include/tendra.h"
enable_mlib=no
no_x=yes
enable_sdl=no
else
dnl non-gcc flags - we probably need exact configuration triplets here.
case "$host_alias" in
...
...
mpeg2dec/include/tendra.h
0 → 100644
View file @
182205ac
/*
* tendra.h
* Copyright (C) 1999-2001 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
*
* This file is part of a52dec, a free ATSC A-52 stream decoder.
*
* 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
*/
#pragma TenDRA begin
#pragma TenDRA longlong type warning
#pragma TenDRA conversion analysis (pointer-int explicit) off
/* avoid the "No declarations in translation unit" problem */
int
TenDRA
;
mpeg2dec/src/cpu_accel.c
View file @
182205ac
...
...
@@ -41,7 +41,7 @@ static uint32_t x86_accel (void)
"=d" (edx) \
: "a" (op) \
: "cc")
#else /
/
PIC version : save ebx
#else
/
*
PIC version : save ebx
*/
#define cpuid(op,eax,ebx,ecx,edx) \
asm ("pushl %%ebx\n\t" \
"cpuid\n\t" \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment