source: svn/trunk/zas_dstar/pdrivers/mpeg2priv.h @ 76

Last change on this file since 76 was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
File size: 894 bytes
RevLine 
[2]1#ifndef __MPEG2DEC_PRIV_H__
2#define __MPEG2DEC_PRIV_H__
3
4typedef 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
13sdl_instance_t *sdl_open(int width, int height);
14int sdl_setup (sdl_instance_t * _instance, unsigned int width,
15                      unsigned int height, unsigned int chroma_width,
16                      unsigned int chroma_height);
17
18void sdl_discard (sdl_instance_t * _instance,
19                         const unsigned * buf, void * id);
20
21void sdl_draw_frame (sdl_instance_t * _instance,
22                            const unsigned char * buf, void * id);
23
24void sdl_start_fbuf (sdl_instance_t * instance,
25                            const unsigned char* buf, void * id);
26
27void sdl_setup_fbuf (sdl_instance_t * _instance,
28                unsigned char ** buf, void ** id);
29
30void sdl_discard_all_buffer(sdl_instance_t *instance);
31
32#endif /*__MPEG2DEC_PRIV_H__*/
Note: See TracBrowser for help on using the repository browser.