1 #ifndef MPLAYER_DEC_VIDEO_H
2 #define MPLAYER_DEC_VIDEO_H
4 #include "libmpdemux/stheader.h"
11 int init_best_video_codec(sh_video_t
*sh_video
, char** video_codec_list
, char** video_fm_list
);
12 void uninit_video(sh_video_t
*sh_video
);
14 void *decode_video(sh_video_t
*sh_video
, unsigned char *start
, int in_size
, int drop_frame
, double pts
);
15 int filter_video(sh_video_t
*sh_video
, void *frame
, double pts
);
17 int get_video_quality_max(sh_video_t
*sh_video
);
18 void set_video_quality(sh_video_t
*sh_video
, int quality
);
20 int get_video_colors(sh_video_t
*sh_video
, const char *item
, int *value
);
21 int set_video_colors(sh_video_t
*sh_video
, const char *item
, int value
);
22 int set_rectangle(sh_video_t
*sh_video
, int param
, int value
);
23 int redraw_osd(struct sh_video
*sh_video
, struct osd_state
*osd
);
24 void resync_video_stream(sh_video_t
*sh_video
);
25 int get_current_video_decoder_lag(sh_video_t
*sh_video
);
27 extern int divx_quality
;
29 #endif /* MPLAYER_DEC_VIDEO_H */