Mercurial > mplayer.hg
view libmpcodecs/dec_video.h @ 10253:978b12dcb9ef
- open new_ds_[audio | video] only when the relative streams are really available
- consequently, -nosound now works
- simplified the feeding (to ds_) function
- eliminated the previous buffering of ES data (so it should be a little faster)
- discard junk ES data after payload_size for the current pes packet is 0
- reduced the probe buffer
- better support for audio only TS (DAB seems to have many fans)
- fixes the wrong spacing (now fixed at 8 chars)
- makes static all the functions that are not exported
- comments the unused code that I could need in the future
patch by Nico <nsabbi@libero.it>
author | arpi |
---|---|
date | Sat, 07 Jun 2003 11:30:19 +0000 |
parents | 1f8961f2b34c |
children | efb37725d616 |
line wrap: on
line source
// dec_video.c: extern int video_read_properties(sh_video_t *sh_video); extern void vfm_help(); 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 int decode_video(sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame); 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 int divx_quality;