annotate spudec.h @ 4448:ab4ec4b99531

change init to config in vo_gl and vo_md5 like in the other vo_ modules -- fixes crash caused by the changeover
author rfelker
date Fri, 01 Feb 2002 02:49:04 +0000
parents 62f672249df1
children a303ae797429
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
560
28ae99036574 Separated dvdsub code to be able to work with it easier
lgb
parents:
diff changeset
1 #ifndef _MPLAYER_SPUDEC_H
28ae99036574 Separated dvdsub code to be able to work with it easier
lgb
parents:
diff changeset
2 #define _MPLAYER_SPUDEC_H
28ae99036574 Separated dvdsub code to be able to work with it easier
lgb
parents:
diff changeset
3
4077
62f672249df1 Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents: 3744
diff changeset
4 void spudec_heartbeat(void *this, unsigned int pts100);
62f672249df1 Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents: 3744
diff changeset
5 void spudec_assemble(void *this, unsigned char *packet, unsigned int len, unsigned int pts100);
3034
24d3dca4e813 DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents: 561
diff changeset
6 void spudec_draw(void *this, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
4077
62f672249df1 Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents: 3744
diff changeset
7 void spudec_draw_scaled(void *this, unsigned int dxs, unsigned int dys, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
62f672249df1 Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents: 3744
diff changeset
8 void *spudec_new_scaled(unsigned int *palette, unsigned int frame_width, unsigned int frame_height);
62f672249df1 Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents: 3744
diff changeset
9 void *spudec_new(unsigned int *palette);
3034
24d3dca4e813 DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents: 561
diff changeset
10 void spudec_free(void *this);
3744
d358f4a74690 dvd seeking -> subtitle disappearing bugs fixed
arpi
parents: 3183
diff changeset
11 void spudec_reset(void *this); // called after seek
560
28ae99036574 Separated dvdsub code to be able to work with it easier
lgb
parents:
diff changeset
12
28ae99036574 Separated dvdsub code to be able to work with it easier
lgb
parents:
diff changeset
13 #endif
3183
ce9acee4e129 Fix spudec compile with libdvdread enabled.
atmos4
parents: 3180
diff changeset
14