| Line | |
|---|
| 1 | #ifndef __MPEG2DEC_PRIV_H__ |
|---|
| 2 | #define __MPEG2DEC_PRIV_H__ |
|---|
| 3 | |
|---|
| 4 | typedef struct { |
|---|
| 5 | //vo_instance_t vo; |
|---|
| 6 | int width; |
|---|
| 7 | int height; |
|---|
| 8 | SDL_Surface * surface; |
|---|
| 9 | unsigned int sdlflags; |
|---|
| 10 | unsigned char bpp; |
|---|
| 11 | } sdl_instance_t; |
|---|
| 12 | |
|---|
| 13 | sdl_instance_t *sdl_open(int width, int height); |
|---|
| 14 | int sdl_setup (sdl_instance_t * _instance, unsigned int width, |
|---|
| 15 | unsigned int height, unsigned int chroma_width, |
|---|
| 16 | unsigned int chroma_height); |
|---|
| 17 | |
|---|
| 18 | void sdl_discard (sdl_instance_t * _instance, |
|---|
| 19 | const unsigned * buf, void * id); |
|---|
| 20 | |
|---|
| 21 | void sdl_draw_frame (sdl_instance_t * _instance, |
|---|
| 22 | const unsigned char * buf, void * id); |
|---|
| 23 | |
|---|
| 24 | void sdl_start_fbuf (sdl_instance_t * instance, |
|---|
| 25 | const unsigned char* buf, void * id); |
|---|
| 26 | |
|---|
| 27 | void sdl_setup_fbuf (sdl_instance_t * _instance, |
|---|
| 28 | unsigned char ** buf, void ** id); |
|---|
| 29 | |
|---|
| 30 | void sdl_discard_all_buffer(sdl_instance_t *instance); |
|---|
| 31 | |
|---|
| 32 | #endif /*__MPEG2DEC_PRIV_H__*/ |
|---|
Note: See
TracBrowser
for help on using the repository browser.