Mercurial > mplayer.hg
annotate libmpcodecs/dec_video.h @ 29894:4c4552f547b3
Use early return instead of block over whole function.
author | reimar |
---|---|
date | Fri, 20 Nov 2009 10:24:31 +0000 |
parents | 9e739bdb049c |
children | bbb6ebec87a0 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_DEC_VIDEO_H |
2 #define MPLAYER_DEC_VIDEO_H | |
2557 | 3 |
26147
41652035483c
Add necessary header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
4 #include "libmpdemux/stheader.h" |
41652035483c
Add necessary header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
5 |
2557 | 6 // dec_video.c: |
28051 | 7 void vfm_help(void); |
7191
1eadce15446c
-afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/comments
arpi
parents:
7180
diff
changeset
|
8 |
28051 | 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); | |
2557 | 11 |
28051 | 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); | |
2557 | 14 |
28051 | 15 int get_video_quality_max(sh_video_t *sh_video); |
16 void set_video_quality(sh_video_t *sh_video, int quality); | |
2557 | 17 |
28051 | 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); | |
2563 | 23 |
24 extern int divx_quality; | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
25326
diff
changeset
|
25 |
26029 | 26 #endif /* MPLAYER_DEC_VIDEO_H */ |