Mercurial > mplayer.hg
annotate libmpcodecs/dec_video.h @ 24967:7e5b170408b2
vf_screenshot does not depend on libpng; it uses libavcodec now
author | rfelker |
---|---|
date | Fri, 09 Nov 2007 06:52:33 +0000 |
parents | 0af335b90a68 |
children | abb784e37907 |
rev | line source |
---|---|
2557 | 1 |
2 // dec_video.c: | |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
11977
diff
changeset
|
3 extern void vfm_help(void); |
7191
1eadce15446c
-afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/comments
arpi
parents:
7180
diff
changeset
|
4 |
7506
c1cb94198e05
-vc/-vfm accepts codec/driver _list_ now. empty list element for -vc means
arpi
parents:
7502
diff
changeset
|
5 extern int init_best_video_codec(sh_video_t *sh_video,char** video_codec_list,char** video_fm_list); |
7502
6a2b6f3d619c
best audio/video codec selection & init moved to libmpcodecs
arpi
parents:
7472
diff
changeset
|
6 |
5174 | 7 //extern int init_video(sh_video_t *sh_video, int *pitches); |
7180
28677d779205
-afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
arpi
parents:
6887
diff
changeset
|
8 extern int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status); |
5174 | 9 extern void uninit_video(sh_video_t *sh_video); |
2557 | 10 |
20902
bfb6eacd9c4a
Update OSD contents only after the correct values for the frame are known.
uau
parents:
18917
diff
changeset
|
11 extern void *decode_video(sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame, double pts); |
bfb6eacd9c4a
Update OSD contents only after the correct values for the frame are known.
uau
parents:
18917
diff
changeset
|
12 extern int filter_video(sh_video_t *sh_video, void *frame, double pts); |
2557 | 13 |
14 extern int get_video_quality_max(sh_video_t *sh_video); | |
15 extern void set_video_quality(sh_video_t *sh_video,int quality); | |
16 | |
7731 | 17 extern int get_video_colors(sh_video_t *sh_video,char *item,int *value); |
5174 | 18 extern int set_video_colors(sh_video_t *sh_video,char *item,int value); |
6887 | 19 extern int set_rectangle(sh_video_t *sh_video,int param,int value); |
11977
efb37725d616
flushing stuff after seeking (finally we can view MPEG without thouse blocks after seeking with -vc ffmpeg12)
michael
parents:
7731
diff
changeset
|
20 extern void resync_video_stream(sh_video_t *sh_video); |
18917
d9a75b26da6c
Add a new video pts tracking mode, enabled by option -correct-pts.
uau
parents:
17910
diff
changeset
|
21 extern int get_current_video_decoder_lag(sh_video_t *sh_video); |
2563 | 22 |
23 extern int divx_quality; |