comparison opt.h @ 4628:b0016ed89048 libavcodec

make av_find_opt() available to the public and add a mask+flags parameter to search for specific AVOptions
author michael
date Wed, 07 Mar 2007 02:03:44 +0000
parents e10acab2322a
children 2faa1399dd68
comparison
equal deleted inserted replaced
4627:e112ff86e261 4628:b0016ed89048
66 //FIXME think about enc-audio, ... style flags 66 //FIXME think about enc-audio, ... style flags
67 const char *unit; 67 const char *unit;
68 } AVOption; 68 } AVOption;
69 69
70 70
71 const AVOption *av_find_opt(void *obj, const char *name, const char *unit, int mask, int flags);
71 const AVOption *av_set_string(void *obj, const char *name, const char *val); 72 const AVOption *av_set_string(void *obj, const char *name, const char *val);
72 const AVOption *av_set_double(void *obj, const char *name, double n); 73 const AVOption *av_set_double(void *obj, const char *name, double n);
73 const AVOption *av_set_q(void *obj, const char *name, AVRational n); 74 const AVOption *av_set_q(void *obj, const char *name, AVRational n);
74 const AVOption *av_set_int(void *obj, const char *name, int64_t n); 75 const AVOption *av_set_int(void *obj, const char *name, int64_t n);
75 double av_get_double(void *obj, const char *name, const AVOption **o_out); 76 double av_get_double(void *obj, const char *name, const AVOption **o_out);