projects
/
sdlgit/SDL_perl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Added last two objects (Overlay and VideoInfo) XS files for Video
[sdlgit/SDL_perl.git]
/
src
/
Core
/
objects
/
Overlay.xs
1
#include "EXTERN.h"
2
#include "perl.h"
3
#include "XSUB.h"
4
5
#ifndef aTHX_
6
#define aTHX_
7
#endif
8
9
#include <SDL.h>
10
11
MODULE = SDL::Overlay PACKAGE = SDL::Overlay PREFIX = overlay_
12
13
=for documentation
14
15
SDL_Overlay -- YUV video overlay
16
17
typedef struct{
18
Uint32 format;
19
int w, h;
20
int planes;
21
Uint16 *pitches;
22
Uint8 **pixels;
23
Uint32 hw_overlay:1;
24
} SDL_Overlay;
25
}
26
27
=cut
28