2002-02-28 00:57:47 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include "mp_msg.h"
|
|
|
|
|
|
|
|
#include "vd_internal.h"
|
|
|
|
|
2009-05-13 02:58:57 +00:00
|
|
|
static vd_info_t info =
|
2002-02-28 00:57:47 +00:00
|
|
|
{
|
|
|
|
"Null video decoder",
|
|
|
|
"null",
|
|
|
|
"A'rpi",
|
|
|
|
"A'rpi",
|
2002-08-31 13:09:23 +00:00
|
|
|
"no decoding"
|
2002-02-28 00:57:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
LIBVD_EXTERN(null)
|
|
|
|
|
|
|
|
// to set/get/query special features/parameters
|
|
|
|
static int control(sh_video_t *sh,int cmd,void* arg,...){
|
|
|
|
return CONTROL_UNKNOWN;
|
|
|
|
}
|
|
|
|
|
|
|
|
// init driver
|
|
|
|
static int init(sh_video_t *sh){
|
2002-10-28 00:42:39 +00:00
|
|
|
if(!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_BGR24)) return 0;
|
2002-02-28 00:57:47 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
// uninit driver
|
|
|
|
static void uninit(sh_video_t *sh){
|
|
|
|
}
|
|
|
|
|
|
|
|
// decode a frame
|
|
|
|
static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|