Mercurial > sdl-ios-xcode
view src/main/macos/exports/gendef.pl @ 4165:3b8ac3d311a2 SDL-1.2
Hello.
This patch provides basic support for video on the Sony PS3
Linux framebuffer. Scaling, format-conversion, and drawing is
done from the SPEs, so there is little performance impact to
PPE applications. This is by no means production quality code,
but it is a very good start and a good example of how to use the
PS3's hardware capabilities to accelerate video playback on
the box.
The driver has been verified to work with ffplay, mplayer and xine.
This piece of software has been developed at the IBM R&D Lab
in Boeblingen, Germany and is now returned to the community.
Enjoy !
Signed-off-by: D.Herrendoerfer < d.herrendoerfer [at] de [dot] ibm [dot] com >
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 02 Apr 2009 04:06:55 +0000 |
parents | 84cecd0b64b4 |
children | da1ef6acde9e |
line wrap: on
line source
#!/usr/bin/perl # # Program to take a set of header files and generate DLL export definitions # Special exports to ignore for this platform while ( ($file = shift(@ARGV)) ) { if ( ! defined(open(FILE, $file)) ) { warn "Couldn't open $file: $!\n"; next; } $printed_header = 0; $file =~ s,.*/,,; while (<FILE>) { if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) { if ( not $exclude{$1} ) { print "\t$1\n"; } } } close(FILE); } # Special exports to include for this platform print "\tSDL_putenv\n"; print "\tSDL_getenv\n"; print "\tSDL_qsort\n"; print "\tSDL_revcpy\n"; print "\tSDL_strlcpy\n"; print "\tSDL_strlcat\n"; print "\tSDL_strdup\n"; print "\tSDL_strrev\n"; print "\tSDL_strupr\n"; print "\tSDL_strlwr\n"; print "\tSDL_ltoa\n"; print "\tSDL_ultoa\n"; print "\tSDL_strcasecmp\n"; print "\tSDL_strncasecmp\n"; print "\tSDL_snprintf\n"; print "\tSDL_vsnprintf\n"; print "\tSDL_iconv\n"; print "\tSDL_iconv_string\n"; print "\tSDL_InitQuickDraw\n";