Mercurial > mplayer.hg
view dll_init.h @ 7050:a5b2b377ab50
changed spdif default from "hw:0,2" to general alias "iec958"
based on a patch by Benedikt Hunz <hunz@hunz.org>
corrected typo in ugly spdif-warning message
added 32/20bit modes for 'high-end'-soundcards
disabled hw-mixer-access for big-endian machines
(mplayer seems to screw up hw-mixer on LinuxPPC running ALSA
needs more testing, but its safer to disable it for now.)
author | joyping |
---|---|
date | Tue, 20 Aug 2002 14:15:25 +0000 |
parents | e9bd97d5c5cc |
children |
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 close_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_close_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); BITMAPINFOHEADER* vfw_open_encoder(char *dll_name, BITMAPINFOHEADER *input_bih,unsigned int out_fourcc); int vfw_start_encoder(BITMAPINFOHEADER *input_bih, BITMAPINFOHEADER *output_bih); int vfw_encode_frame(BITMAPINFOHEADER* biOutput,void* OutBuf, BITMAPINFOHEADER* biInput,void* Image, long* keyframe, int quality);