view dec_video.h @ 4833:395844d9d5d6

fixes bug in alban's new input handling code that caused the terminal state to get trashed and not restored on exit. hopefully this change won't interfere with the functionality of the new code; as far as i can tell it seems to work fine.
author rfelker
date Sun, 24 Feb 2002 04:56:54 +0000
parents d3a52470594c
children 17a7fb99b06b
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( unsigned width );
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;