Add support for VDPAU video out, including hardware decoding.
[mplayer/glamo.git] / libmpcodecs / dec_video.h
blob7a08a0410e2c73db9b59ea3db4b5f17d602582f7
1 #ifndef MPLAYER_DEC_VIDEO_H
2 #define MPLAYER_DEC_VIDEO_H
4 #include "libmpdemux/stheader.h"
6 // dec_video.c:
7 void vfm_help(void);
9 int init_best_video_codec(sh_video_t *sh_video, char** video_codec_list, char** video_fm_list);
10 void uninit_video(sh_video_t *sh_video);
12 void *decode_video(sh_video_t *sh_video, unsigned char *start, int in_size, int drop_frame, double pts);
13 int filter_video(sh_video_t *sh_video, void *frame, double pts);
15 int get_video_quality_max(sh_video_t *sh_video);
16 void set_video_quality(sh_video_t *sh_video, int quality);
18 int get_video_colors(sh_video_t *sh_video, const char *item, int *value);
19 int set_video_colors(sh_video_t *sh_video, const char *item, int value);
20 int set_rectangle(sh_video_t *sh_video, int param, int value);
21 void resync_video_stream(sh_video_t *sh_video);
22 int get_current_video_decoder_lag(sh_video_t *sh_video);
24 extern int divx_quality;
26 #endif /* MPLAYER_DEC_VIDEO_H */