annotate spudec.h @ 10581:4ebff25d9a05

From: Kir Kostuchenko <kir@users.sourceforge.net> Hi, I found that command line options brightness, hue, contrast and saturation does not works, becouse mplayer apply it, before open tv (kernel says invalid ioctl). Here are simple fix. Please apply. This is the correct patch, sorry for the confusion.
author gabucino
date Tue, 12 Aug 2003 13:25:52 +0000
parents b523f634738d
children d45870f67728
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
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);
62f672249df1 Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents: 3744
diff changeset
7 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
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);
4077
62f672249df1 Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents: 3744
diff changeset
11 void *spudec_new_scaled(unsigned int *palette, unsigned int frame_width, unsigned int frame_height);
6110
7bea806b9c5f Improvment for spu subtitles.
albeu
parents: 5908
diff changeset
12 void *spudec_new_scaled_vobsub(unsigned int *palette, unsigned int *cuspal, unsigned int custom, unsigned int frame_width, unsigned int frame_height);
4077
62f672249df1 Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
kmkaplan
parents: 3744
diff changeset
13 void *spudec_new(unsigned int *palette);
3034
24d3dca4e813 DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents: 561
diff changeset
14 void spudec_free(void *this);
3744
d358f4a74690 dvd seeking -> subtitle disappearing bugs fixed
arpi
parents: 3183
diff changeset
15 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
16 int spudec_visible(void *this); // check if spu is visible
6110
7bea806b9c5f Improvment for spu subtitles.
albeu
parents: 5908
diff changeset
17 void spudec_set_font_factor(void * this, double factor); // sets the equivalent to ffactor
7bea806b9c5f Improvment for spu subtitles.
albeu
parents: 5908
diff changeset
18 void spudec_set_hw_spu(void *this, vo_functions_t *hw_spu);
6778
f33d4ab7a6b2 Make spudec_assemble more resistent in the face of incomplete packets.
kmkaplan
parents: 6110
diff changeset
19 int spudec_changed(void *this);
7003
60a473935d7d warning fixes by Sylvain Petreolle <spetreolle@yahoo.fr>
arpi
parents: 6778
diff changeset
20 void spudec_calc_bbox(void *me, unsigned int dxs, unsigned int dys, unsigned int* bbox);
60a473935d7d warning fixes by Sylvain Petreolle <spetreolle@yahoo.fr>
arpi
parents: 6778
diff changeset
21 void spudec_draw_scaled(void *me, 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));
560
28ae99036574 Separated dvdsub code to be able to work with it easier
lgb
parents:
diff changeset
22 #endif
3183
ce9acee4e129 Fix spudec compile with libdvdread enabled.
atmos4
parents: 3180
diff changeset
23