2001-10-02 21:44:45 +00:00
|
|
|
|
|
|
|
// 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);
|
2002-06-07 22:43:29 +00:00
|
|
|
int close_acm_audio_codec(sh_audio_t *sh_audio);
|
2001-10-02 21:44:45 +00:00
|
|
|
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);
|
2002-06-07 22:43:29 +00:00
|
|
|
int vfw_close_video_codec(sh_video_t *sh_video, int ex);
|
2001-10-02 21:44:45 +00:00
|
|
|
int vfw_decode_video(sh_video_t* sh_video,void* start,int in_size,int drop_frame,int ex);
|
2001-10-05 00:08:58 +00:00
|
|
|
int vfw_set_postproc(sh_video_t* sh_video,int quality);
|
2002-02-07 20:20:14 +00:00
|
|
|
|
2002-02-10 12:20:50 +00:00
|
|
|
BITMAPINFOHEADER* vfw_open_encoder(char *dll_name, BITMAPINFOHEADER *input_bih,unsigned int out_fourcc);
|
2002-04-11 02:52:28 +00:00
|
|
|
int vfw_start_encoder(BITMAPINFOHEADER *input_bih, BITMAPINFOHEADER *output_bih);
|
2002-02-07 20:20:14 +00:00
|
|
|
int vfw_encode_frame(BITMAPINFOHEADER* biOutput,void* OutBuf,
|
|
|
|
BITMAPINFOHEADER* biInput,void* Image,
|
|
|
|
long* keyframe, int quality);
|