2008-02-22 09:09:46 +00:00
|
|
|
#ifndef MPLAYER_VD_INTERNAL_H
|
|
|
|
#define MPLAYER_VD_INTERNAL_H
|
2002-02-28 00:57:30 +00:00
|
|
|
|
2002-03-07 20:43:17 +00:00
|
|
|
#include "codec-cfg.h"
|
2002-04-13 19:14:34 +00:00
|
|
|
#include "img_format.h"
|
2002-03-07 20:43:17 +00:00
|
|
|
|
2007-03-15 17:10:36 +00:00
|
|
|
#include "stream/stream.h"
|
2007-03-15 17:51:32 +00:00
|
|
|
#include "libmpdemux/demuxer.h"
|
|
|
|
#include "libmpdemux/stheader.h"
|
2002-03-07 20:43:17 +00:00
|
|
|
|
|
|
|
#include "vd.h"
|
|
|
|
|
2002-03-09 19:18:46 +00:00
|
|
|
extern int divx_quality;
|
|
|
|
|
2002-02-28 00:57:30 +00:00
|
|
|
// prototypes:
|
2002-03-07 00:43:55 +00:00
|
|
|
//static vd_info_t info;
|
2002-02-28 00:57:30 +00:00
|
|
|
static int control(sh_video_t *sh,int cmd,void* arg,...);
|
|
|
|
static int init(sh_video_t *sh);
|
|
|
|
static void uninit(sh_video_t *sh);
|
|
|
|
static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags);
|
|
|
|
|
|
|
|
#define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\
|
|
|
|
&info,\
|
|
|
|
init,\
|
|
|
|
uninit,\
|
|
|
|
control,\
|
|
|
|
decode\
|
|
|
|
};
|
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_VD_INTERNAL_H */
|