view dec_video.h @ 4917:6002d8a3b080

reinstated YUY2, BGR32 and BGR24 decoders, all reworked to operate with the mp_image structure; PPC decoding works with YV12 output!
author melanson
date Sun, 03 Mar 2002 03:28:17 +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;