Mercurial > mplayer.hg
annotate spudec.h @ 29221:84ed872376f3
Add #define for HAVE_DVDCSS_DVDCSS_H (needed by internal libdvdread) to config.h
instead of passing -D on the compiler command line.
This is more convenient and already done with most preprocessor definitions
needed by external libraries.
Previously the definition was passed on the command line because libdvdread was
missing the necessary config.h #include, which was now added.
author | diego |
---|---|
date | Tue, 05 May 2009 17:30:50 +0000 |
parents | 3ac3d3a51934 |
children | c1a3f1bbba26 |
rev | line source |
---|---|
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
23607
diff
changeset
|
1 #ifndef MPLAYER_SPUDEC_H |
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
23607
diff
changeset
|
2 #define MPLAYER_SPUDEC_H |
560 | 3 |
9511
b523f634738d
supdec.h needs libvo/video_out.h. vobsub.c does not.
kmkaplan
parents:
7003
diff
changeset
|
4 #include "libvo/video_out.h" |
b523f634738d
supdec.h needs libvo/video_out.h. vobsub.c does not.
kmkaplan
parents:
7003
diff
changeset
|
5 |
4077
62f672249df1
Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents:
3744
diff
changeset
|
6 void spudec_heartbeat(void *this, unsigned int pts100); |
25322
078bdfd44751
Fix spudec to display current vobsub immediately after a seek.
ulion
parents:
25219
diff
changeset
|
7 void spudec_assemble(void *this, unsigned char *packet, unsigned int len, int pts100); |
3034
24d3dca4e813
DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents:
561
diff
changeset
|
8 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
|
9 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
|
10 void spudec_update_palette(void *this, unsigned int *palette); |
27807 | 11 void *spudec_new_scaled(unsigned int *palette, unsigned int frame_width, unsigned int frame_height, uint8_t *extradata, int extradata_len); |
4077
62f672249df1
Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents:
3744
diff
changeset
|
12 void *spudec_new(unsigned int *palette); |
3034
24d3dca4e813
DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents:
561
diff
changeset
|
13 void spudec_free(void *this); |
3744 | 14 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
|
15 int spudec_visible(void *this); // check if spu is visible |
6110 | 16 void spudec_set_font_factor(void * this, double factor); // sets the equivalent to ffactor |
25219
e82ecde2cbd4
Mark several uses of vo_functions_t as const to stop some of the current
reimar
parents:
23689
diff
changeset
|
17 void spudec_set_hw_spu(void *this, const vo_functions_t *hw_spu); |
6778
f33d4ab7a6b2
Make spudec_assemble more resistent in the face of incomplete packets.
kmkaplan
parents:
6110
diff
changeset
|
18 int spudec_changed(void *this); |
7003
60a473935d7d
warning fixes by Sylvain Petreolle <spetreolle@yahoo.fr>
arpi
parents:
6778
diff
changeset
|
19 void spudec_calc_bbox(void *me, unsigned int dxs, unsigned int dys, unsigned int* bbox); |
10917
d45870f67728
Forced subtitles patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de>
attila
parents:
9511
diff
changeset
|
20 void spudec_set_forced_subs_only(void * const this, const unsigned int flag); |
3183 | 21 |
25535
3baf6a2283da
Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents:
25322
diff
changeset
|
22 #endif /* MPLAYER_SPUDEC_H */ |