view dll_init.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 fbf7ce9401ff
children 683a0585420c
line wrap: on
line source


// Win32 VfW/ACM interface:

extern char* win32_codec_name;  // must be set before calling DrvOpen() !!!

int init_acm_audio_codec(sh_audio_t *sh_audio);
int acm_decode_audio(sh_audio_t *sh_audio, void* a_buffer,int minlen,int maxlen);

int init_vfw_video_codec(sh_video_t *sh_video,int ex);
int vfw_decode_video(sh_video_t* sh_video,void* start,int in_size,int drop_frame,int ex);
int vfw_set_postproc(sh_video_t* sh_video,int quality);