Mercurial > mplayer.hg
annotate spudec.h @ 6068:2090547cb015
lib(un)gif detection fix (linking should be sufficient) and it avoids the message
'Checking for GIF89a support ... ./configure: line 2349: 1123 Segmentation fault "$TMPO" >>"$TMPLOG"
no'
author | pl |
---|---|
date | Mon, 13 May 2002 12:28:00 +0000 |
parents | 31159f453cf9 |
children | 7bea806b9c5f |
rev | line source |
---|---|
560 | 1 #ifndef _MPLAYER_SPUDEC_H |
2 #define _MPLAYER_SPUDEC_H | |
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)); |
5474
a303ae797429
spudec_update_palette() added - dvdnav patch by Kees Cook <mplayer@outflux.net>
arpi
parents:
4077
diff
changeset
|
8 void spudec_update_palette(void *this, unsigned int *palette); |
4077
62f672249df1
Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents:
3744
diff
changeset
|
9 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
|
10 void *spudec_new(unsigned int *palette); |
3034
24d3dca4e813
DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents:
561
diff
changeset
|
11 void spudec_free(void *this); |
3744 | 12 void spudec_reset(void *this); // called after seek |
5638
86663f1b9b00
new osd code, use osd objs to follow changes and do minimal updates
arpi
parents:
5474
diff
changeset
|
13 int spudec_visible(void *this); // check if spu is visible |
5908
31159f453cf9
guessing palette - patch by salvador <salvador@inti.gov.ar>
arpi
parents:
5638
diff
changeset
|
14 void spudec_set_font_factor(double factor); // sets the equivalent to ffactor |
560 | 15 |
16 #endif | |
3183 | 17 |