2010-01-30 16:57:40 +00:00
|
|
|
/*
|
|
|
|
* This file is part of MPlayer.
|
|
|
|
*
|
|
|
|
* MPlayer is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* MPlayer is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with MPlayer; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
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);
|
|
|
|
|
2008-04-24 05:43:56 +00:00
|
|
|
#define LIBVD_EXTERN(x) const vd_functions_t mpcodecs_vd_##x = {\
|
2002-02-28 00:57:30 +00:00
|
|
|
&info,\
|
|
|
|
init,\
|
|
|
|
uninit,\
|
|
|
|
control,\
|
|
|
|
decode\
|
|
|
|
};
|
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_VD_INTERNAL_H */
|