comparison libmpcodecs/vf.h @ 6832:54578e5a8050

... removed from vf's control(), sing struct for equalizer. based on patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
author arpi
date Sun, 28 Jul 2002 21:30:09 +0000
parents 5bf3ed8a17c4
children 0cc9640c2e90
comparison
equal deleted inserted replaced
6831:f628e5dca5b9 6832:54578e5a8050
22 // funcs: 22 // funcs:
23 int (*config)(struct vf_instance_s* vf, 23 int (*config)(struct vf_instance_s* vf,
24 int width, int height, int d_width, int d_height, 24 int width, int height, int d_width, int d_height,
25 unsigned int flags, unsigned int outfmt); 25 unsigned int flags, unsigned int outfmt);
26 int (*control)(struct vf_instance_s* vf, 26 int (*control)(struct vf_instance_s* vf,
27 int request, void* data, ...); 27 int request, void* data);
28 int (*query_format)(struct vf_instance_s* vf, 28 int (*query_format)(struct vf_instance_s* vf,
29 unsigned int fmt); 29 unsigned int fmt);
30 void (*get_image)(struct vf_instance_s* vf, 30 void (*get_image)(struct vf_instance_s* vf,
31 mp_image_t *mpi); 31 mp_image_t *mpi);
32 void (*put_image)(struct vf_instance_s* vf, 32 void (*put_image)(struct vf_instance_s* vf,
43 struct vf_priv_s* priv; 43 struct vf_priv_s* priv;
44 } vf_instance_t; 44 } vf_instance_t;
45 45
46 // control codes: 46 // control codes:
47 #include "mpc_info.h" 47 #include "mpc_info.h"
48
49 typedef struct vf_seteq_s
50 {
51 char *item;
52 int value;
53 } vf_equalizer_t;
48 54
49 #define VFCTRL_QUERY_MAX_PP_LEVEL 4 /* test for postprocessing support (max level) */ 55 #define VFCTRL_QUERY_MAX_PP_LEVEL 4 /* test for postprocessing support (max level) */
50 #define VFCTRL_SET_PP_LEVEL 5 /* set postprocessing level */ 56 #define VFCTRL_SET_PP_LEVEL 5 /* set postprocessing level */
51 #define VFCTRL_SET_EQUALIZER 6 /* set color options (brightness,contrast etc) */ 57 #define VFCTRL_SET_EQUALIZER 6 /* set color options (brightness,contrast etc) */
52 #define VFCTRL_GET_EQUALIZER 8 /* gset color options (brightness,contrast etc) */ 58 #define VFCTRL_GET_EQUALIZER 8 /* gset color options (brightness,contrast etc) */