Mercurial > mplayer.hg
annotate libmpcodecs/vd_null.c @ 28765:771dce7d5e82
synced with r28788
author | Gabrov |
---|---|
date | Tue, 03 Mar 2009 09:19:35 +0000 |
parents | 0c8d85e22ff5 |
children | 0f1b5b68af32 |
rev | line source |
---|---|
4879 | 1 #include <stdio.h> |
2 #include <stdlib.h> | |
3 | |
4 #include "config.h" | |
5 #include "mp_msg.h" | |
6 | |
7 #include "vd_internal.h" | |
8 | |
9 static vd_info_t info = | |
10 { | |
11 "Null video decoder", | |
12 "null", | |
13 "A'rpi", | |
14 "A'rpi", | |
7191
1eadce15446c
-afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/comments
arpi
parents:
5169
diff
changeset
|
15 "no decoding" |
4879 | 16 }; |
17 | |
18 LIBVD_EXTERN(null) | |
19 | |
20 // to set/get/query special features/parameters | |
21 static int control(sh_video_t *sh,int cmd,void* arg,...){ | |
22 return CONTROL_UNKNOWN; | |
23 } | |
24 | |
25 // init driver | |
26 static int init(sh_video_t *sh){ | |
7941 | 27 if(!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_BGR24)) return 0; |
4879 | 28 return 1; |
29 } | |
30 | |
31 // uninit driver | |
32 static void uninit(sh_video_t *sh){ | |
33 } | |
34 | |
35 // decode a frame | |
36 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | |
37 return NULL; | |
38 } | |
39 |