view dec_video.h @ 3231:4bc4354ec88e

Added support for upsampling since dxr3/h+ only supports 44100Hz and 48000Hz, currently it only works on 44100/(2*ratio) Reverted get_delay to return a properly calculated value instead of 0.0
author mswitch
date Fri, 30 Nov 2001 22:18:51 +0000
parents fc124f9db88e
children 71d05615a378
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);
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;