Mercurial > mplayer.hg
view dec_video.h @ 4664:40e8b4b8b250
AVI demuxer fixes:
- workaround for files with bad index (first chunk absolute, others relative offsets)
(fixes many 'no video stream found' bugreports)
- check for LIST boundaries, truncate if sub-chunk wraps LIST endpos (FMP_3.avi)
- support/workaround for empty info blocks with size=3 (FMP_3.avi)
- lots of new avi info types added (from avifile source), just for fun...
author | arpi |
---|---|
date | Tue, 12 Feb 2002 01:20:59 +0000 |
parents | 4064940f3f9b |
children | d3a52470594c |
line wrap: on
line source
// dec_video.c: extern int video_read_properties(sh_video_t *sh_video); extern int init_video(sh_video_t *sh_video, int *pitches); extern void init_video_vaa( void ); void uninit_video(sh_video_t *sh_video); #ifdef USE_LIBVO2 extern int decode_video(vo2_handle_t *video_out,sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame); #else extern int decode_video(vo_functions_t *video_out,sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame); #endif extern int get_video_quality_max(sh_video_t *sh_video); extern void set_video_quality(sh_video_t *sh_video,int quality); int set_video_colors(sh_video_t *sh_video,char *item,int value); extern int divx_quality;