sd_ass: initialize structs for external tracks properly
[mplayer.git] / libmpcodecs / vd_internal.h
blobb4d74a6a483900ab6caa29173945d2a73434b7a7
1 /*
2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef MPLAYER_VD_INTERNAL_H
20 #define MPLAYER_VD_INTERNAL_H
22 #include "codec-cfg.h"
23 #include "img_format.h"
25 #include "stream/stream.h"
26 #include "libmpdemux/demuxer.h"
27 #include "libmpdemux/stheader.h"
29 #include "vd.h"
31 extern int divx_quality;
33 // prototypes:
34 //static vd_info_t info;
35 static int control(sh_video_t *sh,int cmd,void* arg,...);
36 static int init(sh_video_t *sh);
37 static void uninit(sh_video_t *sh);
38 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags);
40 #define LIBVD_EXTERN(x) const vd_functions_t mpcodecs_vd_##x = {\
41 &info,\
42 init,\
43 uninit,\
44 control,\
45 decode\
48 #endif /* MPLAYER_VD_INTERNAL_H */