Add support for VDPAU video out, including hardware decoding.
[mplayer/glamo.git] / libmpcodecs / ad_internal.h
blob0bd01bcd6cd7ead250a5558b51dcb5f49844e6d6
1 #ifndef MPLAYER_AD_INTERNAL_H
2 #define MPLAYER_AD_INTERNAL_H
4 #include "codec-cfg.h"
5 #include "libaf/af_format.h"
7 #include "stream/stream.h"
8 #include "libmpdemux/demuxer.h"
9 #include "libmpdemux/stheader.h"
11 #include "ad.h"
13 extern int audio_output_channels;
14 static int init(sh_audio_t *sh);
15 static int preinit(sh_audio_t *sh);
16 static void uninit(sh_audio_t *sh);
17 static int control(sh_audio_t *sh,int cmd,void* arg, ...);
18 static int decode_audio(sh_audio_t *sh,unsigned char *buffer,int minlen,int maxlen);
20 #define LIBAD_EXTERN(x) ad_functions_t mpcodecs_ad_##x = {\
21 &info,\
22 preinit,\
23 init,\
24 uninit,\
25 control,\
26 decode_audio\
29 #endif /* MPLAYER_AD_INTERNAL_H */