mirror of
https://github.com/mpv-player/mpv
synced 2024-12-15 11:25:10 +00:00
a703241aa9
The most visible inaccuracy caused by the previous update location was that the OSD always showed position 0 after seeking with demux_mkv. Split frame decoding and filtering because with -correct-pts the pts value that should be displayed for the frame is only known after decoding but is needed before filtering (during which the OSD is drawn). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20918 b3059339-0415-0410-9bf9-f77b7e298cf2
26 lines
1.0 KiB
C
26 lines
1.0 KiB
C
|
|
// dec_video.c:
|
|
extern int video_read_properties(sh_video_t *sh_video);
|
|
|
|
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 int init_video(sh_video_t *sh_video, int *pitches);
|
|
extern int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status);
|
|
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,char *item,int *value);
|
|
extern int set_video_colors(sh_video_t *sh_video,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;
|