view libmpcodecs/vd_internal.h @ 25747:12970064a271

Check param in sws_getCachedContext(). Patch by KO Myung-Hun komh chollian net Original thread: [FFmpeg-devel] [PATCH] param check in sws_getCachedContext() Date: Wed Jan 9 11:15:19 CET 2008
author benoit
date Thu, 17 Jan 2008 08:06:09 +0000
parents 6ac1ece1f9fe
children aee6ea2b39ee
line wrap: on
line source

#ifndef VD_INTERNAL
#define VD_INTERNAL

#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 /* VD_INTERNAL */