Home
last modified time | relevance | path

Searched refs:SDL_RWops (Results 1 – 8 of 8) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/include/
DSDL_rwops.h41 typedef struct SDL_RWops { struct
46 int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence); argument
52 int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum); argument
58 int (SDLCALL *write)(struct SDL_RWops *context, const void *ptr, int size, int num); argument
61 int (SDLCALL *close)(struct SDL_RWops *context); argument
92 } SDL_RWops; typedef
97 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFile(const char *file, const char *mode);
100 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFP(FILE *fp, int autoclose);
103 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size);
104 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size);
[all …]
DSDL_audio.h190 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *…
DSDL_video.h542 extern DECLSPEC SDL_Surface * SDLCALL SDL_LoadBMP_RW(SDL_RWops *src, int freesrc);
553 (SDL_Surface *surface, SDL_RWops *dst, int freedst);
/external/qemu/distrib/sdl-1.2.12/src/file/
DSDL_rwops.c48 static int SDLCALL win32_file_open(SDL_RWops *context, const char *filename, const char *mode) in win32_file_open()
126 static int SDLCALL win32_file_seek(SDL_RWops *context, int offset, int whence) in win32_file_seek()
162 static int SDLCALL win32_file_read(SDL_RWops *context, void *ptr, int size, int maxnum) in win32_file_read()
209 static int SDLCALL win32_file_write(SDL_RWops *context, const void *ptr, int size, int num) in win32_file_write()
241 static int SDLCALL win32_file_close(SDL_RWops *context) in win32_file_close()
263 static int SDLCALL stdio_seek(SDL_RWops *context, int offset, int whence) in stdio_seek()
272 static int SDLCALL stdio_read(SDL_RWops *context, void *ptr, int size, int maxnum) in stdio_read()
282 static int SDLCALL stdio_write(SDL_RWops *context, const void *ptr, int size, int num) in stdio_write()
292 static int SDLCALL stdio_close(SDL_RWops *context) in stdio_close()
307 static int SDLCALL mem_seek(SDL_RWops *context, int offset, int whence) in mem_seek()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/audio/disk/
DSDL_diskaudio.h35 SDL_RWops *output;
/external/qemu/distrib/sdl-1.2.12/src/audio/
DSDL_wave.c30 static int ReadChunk(SDL_RWops *src, Chunk *chunk);
396 SDL_AudioSpec * SDL_LoadWAV_RW (SDL_RWops *src, int freesrc, in SDL_LoadWAV_RW()
582 static int ReadChunk(SDL_RWops *src, Chunk *chunk) in ReadChunk()
/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_bmp.c48 SDL_Surface * SDL_LoadBMP_RW (SDL_RWops *src, int freesrc) in SDL_LoadBMP_RW()
331 int SDL_SaveBMP_RW (SDL_Surface *saveme, SDL_RWops *dst, int freedst) in SDL_SaveBMP_RW()
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/
DSDL_QuartzVideo.m1420 SDL_RWops *rw;