view libmpcodecs/vd_internal.h @ 27355:d3f4acf96cd3

add ADJV fourcc to mjpeg fourcc found in vlc/modules/codec/avcodec/fourcc.h
author compn
date Fri, 01 Aug 2008 12:03:55 +0000
parents 4129c8cfa742
children bbb6ebec87a0
line wrap: on
line source

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