comparison libmpcodecs/vd.h @ 4988:db591864d642

comments fixed
author arpi
date Thu, 07 Mar 2002 21:12:27 +0000
parents 2826b2e5cbd3
children 88481d4b9e0e
comparison
equal deleted inserted replaced
4987:f412b0110524 4988:db591864d642
1 typedef struct vd_info_s 1 typedef struct vd_info_s
2 { 2 {
3 /* driver name ("Matrox Millennium G200/G400" */ 3 /* codec long name ("Autodesk FLI/FLC Animation decoder" */
4 const char *name; 4 const char *name;
5 /* short name (for config strings) ("mga") */ 5 /* short name (same as driver name in codecs.conf) ("dshow") */
6 const char *short_name; 6 const char *short_name;
7 /* -vfm id */ 7 /* codec family: -vfm id */
8 const int id; 8 const int id;
9 /* interface author/maintainer */ 9 /* interface author/maintainer */
10 const char *maintainer; 10 const char *maintainer;
11 /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */ 11 /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */
12 const char *author; 12 const char *author;
13 /* any additional comments */ 13 /* any additional comments */
14 const char *comment; 14 const char *comment;
15 } vd_info_t; 15 } vd_info_t;
16 16
17 /* interface towards mplayer and */ 17 /* interface of video decoder drivers */
18 typedef struct vd_functions_s 18 typedef struct vd_functions_s
19 { 19 {
20 vd_info_t *info; 20 vd_info_t *info;
21 int (*init)(sh_video_t *sh); 21 int (*init)(sh_video_t *sh);
22 void (*uninit)(sh_video_t *sh); 22 void (*uninit)(sh_video_t *sh);
34 #define CONTROL_ERROR -2 34 #define CONTROL_ERROR -2
35 #define CONTROL_NA -3 35 #define CONTROL_NA -3
36 36
37 #define VDCTRL_QUERY_FORMAT 3 /* test for availabilty of a format */ 37 #define VDCTRL_QUERY_FORMAT 3 /* test for availabilty of a format */
38 #define VDCTRL_QUERY_MAX_PP_LEVEL 4 /* test for postprocessing support (max level) */ 38 #define VDCTRL_QUERY_MAX_PP_LEVEL 4 /* test for postprocessing support (max level) */
39 #define VDCTRL_SET_PP_LEVEL 5 /* test for postprocessing support (max level) */ 39 #define VDCTRL_SET_PP_LEVEL 5 /* set postprocessing level */
40 40
41 // callbacks: 41 // callbacks:
42 int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outfmt); 42 int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outfmt);
43 mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, int w, int h); 43 mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, int w, int h);
44 44
45