summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/dec_video.h
blob: 7e731331449b5677ad27022456e1a8c6047298e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef DEC_VIDEO_H
#define DEC_VIDEO_H

// dec_video.c:
extern void vfm_help(void);

extern int init_best_video_codec(sh_video_t *sh_video,char** video_codec_list,char** video_fm_list);
extern void uninit_video(sh_video_t *sh_video);

extern void *decode_video(sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame, double pts);
extern int filter_video(sh_video_t *sh_video, void *frame, double pts);

extern int get_video_quality_max(sh_video_t *sh_video);
extern void set_video_quality(sh_video_t *sh_video,int quality);

extern int get_video_colors(sh_video_t *sh_video,const char *item,int *value);
extern int set_video_colors(sh_video_t *sh_video,const char *item,int value);
extern int set_rectangle(sh_video_t *sh_video,int param,int value);
extern void resync_video_stream(sh_video_t *sh_video);
extern int get_current_video_decoder_lag(sh_video_t *sh_video);

extern int divx_quality;

#endif /* DEC_VIDEO_H */