view dec_video.h @ 3077:99f6db3255aa

10-20% faster fastmemcpy :) on my p3 at least but the algo is mostly from "amd athlon processor x86 code optimization guide" so it should be faster for amd chips too, but i fear it might be slower for mem->vram copies (someone should check that, i cant) ... there are 2 #defines to finetune it (BLOCK_SIZE & CONFUSION_FACTOR)
author michael
date Thu, 22 Nov 2001 19:40:38 +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;