comparison avcodec.h @ 2865:3b999ce45b37 libavcodec

AVOption enumeration support and some flags to classify AVOptions
author michael
date Tue, 06 Sep 2005 21:32:18 +0000
parents f4aea2c316cc
children 666064f710d4
comparison
equal deleted inserted replaced
2864:95bac7109ff0 2865:3b999ce45b37
19 #define FFMPEG_VERSION "CVS" 19 #define FFMPEG_VERSION "CVS"
20 20
21 #define AV_STRINGIFY(s) AV_TOSTRING(s) 21 #define AV_STRINGIFY(s) AV_TOSTRING(s)
22 #define AV_TOSTRING(s) #s 22 #define AV_TOSTRING(s) #s
23 23
24 #define LIBAVCODEC_VERSION_INT ((49<<16)+(1<<8)+0) 24 #define LIBAVCODEC_VERSION_INT ((49<<16)+(2<<8)+0)
25 #define LIBAVCODEC_VERSION 49.1.0 25 #define LIBAVCODEC_VERSION 49.2.0
26 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT 26 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
27 27
28 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) 28 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
29 29
30 #define AV_NOPTS_VALUE int64_t_C(0x8000000000000000) 30 #define AV_NOPTS_VALUE int64_t_C(0x8000000000000000)
696 enum AVOptionType type; 696 enum AVOptionType type;
697 697
698 double default_val; 698 double default_val;
699 double min; 699 double min;
700 double max; 700 double max;
701
702 int flags;
703 #define AV_OPT_FLAG_ENCODING_PARAM 1 ///< a generic parameter which can be set by the user for muxing or encoding
704 #define AV_OPT_FLAG_DECODING_PARAM 2 ///< a generic parameter which can be set by the user for demuxing or decoding
705 #define AV_OPT_FLAG_METADATA 4 ///< some data extracted or inserted into the file like title, comment, ...
701 } AVOption; 706 } AVOption;
702 707
703 /** 708 /**
704 * Used by av_log 709 * Used by av_log
705 */ 710 */
1881 int av_set_double(void *obj, const char *name, double n); 1886 int av_set_double(void *obj, const char *name, double n);
1882 int av_set_q(void *obj, const char *name, AVRational n); 1887 int av_set_q(void *obj, const char *name, AVRational n);
1883 int av_set_int(void *obj, const char *name, int64_t n); 1888 int av_set_int(void *obj, const char *name, int64_t n);
1884 const char *av_get_string(void *obj, const char *name); 1889 const char *av_get_string(void *obj, const char *name);
1885 double av_get_double(void *obj, const char *name); 1890 double av_get_double(void *obj, const char *name);
1891 AVOption *av_next_option(void *obj, AVOption *last);
1886 1892
1887 1893
1888 /** 1894 /**
1889 * AVCodec. 1895 * AVCodec.
1890 */ 1896 */