annotate libmpcodecs/dec_video.h @ 33766:515a3b5f291e

Rename the mplayer() symbolic constants. Use prefix MPLAYER for these constants, rename them and use upper case characters. Additionally, don't unnecessarily 'float' parameter fparam in mplayer() calls.
author ib
date Fri, 08 Jul 2011 21:41:34 +0000
parents 96559880e475
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30421
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
1 /*
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
2 * This file is part of MPlayer.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
3 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
5 * it under the terms of the GNU General Public License as published by
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
7 * (at your option) any later version.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
8 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
12 * GNU General Public License for more details.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
13 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
14 * You should have received a copy of the GNU General Public License along
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
17 */
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
19 #ifndef MPLAYER_DEC_VIDEO_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
20 #define MPLAYER_DEC_VIDEO_H
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
21
26147
41652035483c Add necessary header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
22 #include "libmpdemux/stheader.h"
41652035483c Add necessary header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
23
31401
262d9759bfc5 Move field_dominance extern variable declaration to dec_video.h.
diego
parents: 30421
diff changeset
24 extern int field_dominance;
262d9759bfc5 Move field_dominance extern variable declaration to dec_video.h.
diego
parents: 30421
diff changeset
25
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
26 // dec_video.c:
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
27 void vfm_help(void);
7191
1eadce15446c -afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/comments
arpi
parents: 7180
diff changeset
28
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
29 int init_best_video_codec(sh_video_t *sh_video, char** video_codec_list, char** video_fm_list);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
30 void uninit_video(sh_video_t *sh_video);
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
31
31972
96559880e475 Improve A/V sync when not using -correct-pts.
cehoyos
parents: 31401
diff changeset
32 void *decode_video(sh_video_t *sh_video, unsigned char *start, int in_size, int drop_frame, double pts, int *full_frame);
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
33 int filter_video(sh_video_t *sh_video, void *frame, double pts);
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
34
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
35 int get_video_quality_max(sh_video_t *sh_video);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
36 void set_video_quality(sh_video_t *sh_video, int quality);
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
37
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
38 int get_video_colors(sh_video_t *sh_video, const char *item, int *value);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
39 int set_video_colors(sh_video_t *sh_video, const char *item, int value);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
40 int set_rectangle(sh_video_t *sh_video, int param, int value);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
41 void resync_video_stream(sh_video_t *sh_video);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
42 int get_current_video_decoder_lag(sh_video_t *sh_video);
2563
fc124f9db88e more cleanup, warnings fixed
arpi
parents: 2557
diff changeset
43
fc124f9db88e more cleanup, warnings fixed
arpi
parents: 2557
diff changeset
44 extern int divx_quality;
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 25326
diff changeset
45
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
46 #endif /* MPLAYER_DEC_VIDEO_H */