summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_internal.h
blob: d04903e26a07fc4d2a2f5a8c31865b5d45ab21cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef MPLAYER_VD_INTERNAL_H
#define MPLAYER_VD_INTERNAL_H

#include "codec-cfg.h"
#include "img_format.h"

#include "stream/stream.h"
#include "libmpdemux/demuxer.h"
#include "libmpdemux/stheader.h"

#include "vd.h"

extern int divx_quality;

// prototypes:
//static vd_info_t info;
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\
};

#endif /* MPLAYER_VD_INTERNAL_H */