Mercurial > mplayer.hg
view dll_init.h @ 2264:7851375ea156
increased precission of s_xinc s_xinc2 (needed for the mmx2 bugfix)
moved mmx variables to top to avoid alignment issues
mmx2 code should work fine now if and only if the input width is %16=0 and the output width is %32=0
reordered some code (5% faster with a simply -benchmark)
first line bug fixed (i hope i didnt introduce any new bugs with that ...)
changed a lot of the vertical scale setup code, i hope i fixed something and didnt mess it up :)
a few known bugs left (rightmost line is wrong)
MMX2 code will only be used for upscaling & acceptable widthˇs
16bit dithering can be disabled
author | michael |
---|---|
date | Thu, 18 Oct 2001 22:27:13 +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);