cleanup: Silence compilation warnings on MinGW-w64
[mplayer.git] / libmpcodecs / dec_video.h
blobab4b55bef731e66cb2bfa5f3641312d0e5bb227d
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 struct demux_packet;
33 void *decode_video(sh_video_t *sh_video, struct demux_packet *packet,
34 unsigned char *start, int in_size, int drop_frame,
35 double pts);
36 int filter_video(sh_video_t *sh_video, void *frame, double pts);
38 int get_video_quality_max(sh_video_t *sh_video);
39 void set_video_quality(sh_video_t *sh_video, int quality);
41 int get_video_colors(sh_video_t *sh_video, const char *item, int *value);
42 int set_video_colors(sh_video_t *sh_video, const char *item, int value);
43 struct mp_csp_details;
44 void get_detected_video_colorspace(struct sh_video *sh, struct mp_csp_details *csp);
45 void set_video_colorspace(struct sh_video *sh);
46 int set_rectangle(sh_video_t *sh_video, int param, int value);
47 void resync_video_stream(sh_video_t *sh_video);
48 void video_reset_aspect(struct sh_video *sh_video);
49 int get_current_video_decoder_lag(sh_video_t *sh_video);
51 extern int divx_quality;
53 #endif /* MPLAYER_DEC_VIDEO_H */