mp_msg: Remove uses of MSGT_MENCODER
[mplayer.git] / libmpcodecs / dec_video.h
blobf4b72a7d3f917779df1d4947dbc0359c3953b0dd
1 /*
2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef MPLAYER_DEC_VIDEO_H
20 #define MPLAYER_DEC_VIDEO_H
22 #include "libmpdemux/stheader.h"
24 struct osd_state;
26 // dec_video.c:
27 void vfm_help(void);
29 int init_best_video_codec(sh_video_t *sh_video, char** video_codec_list, char** video_fm_list);
30 void uninit_video(sh_video_t *sh_video);
32 void *decode_video(sh_video_t *sh_video, unsigned char *start, int in_size, int drop_frame, double pts);
33 int filter_video(sh_video_t *sh_video, void *frame, double pts);
35 int get_video_quality_max(sh_video_t *sh_video);
36 void set_video_quality(sh_video_t *sh_video, int quality);
38 int get_video_colors(sh_video_t *sh_video, const char *item, int *value);
39 int set_video_colors(sh_video_t *sh_video, const char *item, int value);
40 int set_rectangle(sh_video_t *sh_video, int param, int value);
41 int redraw_osd(struct sh_video *sh_video, struct osd_state *osd);
42 void resync_video_stream(sh_video_t *sh_video);
43 int get_current_video_decoder_lag(sh_video_t *sh_video);
45 extern int divx_quality;
47 #endif /* MPLAYER_DEC_VIDEO_H */