comparison spudec.h @ 25219:e82ecde2cbd4

Mark several uses of vo_functions_t as const to stop some of the current hacks e.g. in vidix code from spreading.
author reimar
date Sun, 02 Dec 2007 14:24:23 +0000
parents 3f0d00abc073
children 078bdfd44751
comparison
equal deleted inserted replaced
25218:9e7ecd4c60c1 25219:e82ecde2cbd4
13 void *spudec_new(unsigned int *palette); 13 void *spudec_new(unsigned int *palette);
14 void spudec_free(void *this); 14 void spudec_free(void *this);
15 void spudec_reset(void *this); // called after seek 15 void spudec_reset(void *this); // called after seek
16 int spudec_visible(void *this); // check if spu is visible 16 int spudec_visible(void *this); // check if spu is visible
17 void spudec_set_font_factor(void * this, double factor); // sets the equivalent to ffactor 17 void spudec_set_font_factor(void * this, double factor); // sets the equivalent to ffactor
18 void spudec_set_hw_spu(void *this, vo_functions_t *hw_spu); 18 void spudec_set_hw_spu(void *this, const vo_functions_t *hw_spu);
19 int spudec_changed(void *this); 19 int spudec_changed(void *this);
20 void spudec_calc_bbox(void *me, unsigned int dxs, unsigned int dys, unsigned int* bbox); 20 void spudec_calc_bbox(void *me, unsigned int dxs, unsigned int dys, unsigned int* bbox);
21 void spudec_set_forced_subs_only(void * const this, const unsigned int flag); 21 void spudec_set_forced_subs_only(void * const this, const unsigned int flag);
22 #endif 22 #endif
23 23