summaryrefslogtreecommitdiffstats
path: root/spudec.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-26 19:41:04 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:46 +0200
commit269d3df12cb1db7a8a75585db7fb5bd814f8a554 (patch)
treed20cd12dd7982e06dc15bcb94996b68c4406101b /spudec.h
parent1ee113088f7093e6e7d2b27a29270de1ef35f799 (diff)
downloadmpv-269d3df12cb1db7a8a75585db7fb5bd814f8a554.tar.bz2
mpv-269d3df12cb1db7a8a75585db7fb5bd814f8a554.tar.xz
dvdnav: Support for image highlights for dvdnav menus.
Does not work 100% reliably and needs -sid 0. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31828 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'spudec.h')
-rw-r--r--spudec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/spudec.h b/spudec.h
index 85e373edda..2b3828c34c 100644
--- a/spudec.h
+++ b/spudec.h
@@ -25,6 +25,7 @@ void spudec_heartbeat(void *this, unsigned int pts100);
void spudec_assemble(void *this, unsigned char *packet, unsigned int len, int pts100);
void spudec_draw(void *this, void (*draw_alpha)(void *ctx, int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride), void *ctx);
void spudec_draw_scaled(void *this, unsigned int dxs, unsigned int dys, void (*draw_alpha)(void *ctx, int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride), void *ctx);
+int spudec_apply_palette_crop(void *this, uint32_t palette, int sx, int ex, int sy, int ey);
void spudec_update_palette(void *this, unsigned int *palette);
void *spudec_new_scaled(unsigned int *palette, unsigned int frame_width, unsigned int frame_height, uint8_t *extradata, int extradata_len);
void *spudec_new(unsigned int *palette);