Mercurial > mplayer.hg
view dec_video.h @ 4395:817530449706
New logic of HW equalizing:
1) Check HW capability.
2) If HW equalizer is capable control value then use it.
In this case value of control is in range -100 : +100 (10x)
3) If not then try use SW equalizing (currently only divxds).
Use old range (0 : +100) for that.
Well, you shouldn't watch OSD bar if neighter HW nor SW equalizers
are not capable control value.
TODO: find out keys (maybe Rr Bb Gg) or 'on screen menu' for RGB intensity
and OEM effects (fx).
author | nick |
---|---|
date | Mon, 28 Jan 2002 07:29:17 +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;