65
65
* the default value for scalar options
68
double min; ///< minimum valid value for the option
69
double max; ///< maximum valid value for the option
72
#define AV_OPT_FLAG_ENCODING_PARAM 1 ///< a generic parameter which can be set by the user for muxing or encoding
73
#define AV_OPT_FLAG_DECODING_PARAM 2 ///< a generic parameter which can be set by the user for demuxing or decoding
74
#define AV_OPT_FLAG_METADATA 4 ///< some data extracted or inserted into the file like title, comment, ...
75
#define AV_OPT_FLAG_AUDIO_PARAM 8
76
#define AV_OPT_FLAG_VIDEO_PARAM 16
77
#define AV_OPT_FLAG_SUBTITLE_PARAM 32
78
//FIXME think about enc-audio, ... style flags
81
* The logical unit to which the option belongs. Non-constant
82
* options and corresponding named constants share the same
90
* THIS IS NOT PART OF THE API/ABI YET!
91
* This is identical to AVOption except that default_val was replaced by
92
* an union, it should be compatible with AVOption on normal platforms.
94
typedef struct AVOption2 {
98
* short English help text
99
* @todo What about other languages?
104
* The offset relative to the context structure where the option
105
* value is stored. It should be 0 for named constants.
108
enum AVOptionType type;
111
* the default value for scalar options
70
/* TODO those are unused now */
118
74
double min; ///< minimum valid value for the option
119
75
double max; ///< maximum valid value for the option
123
78
#define AV_OPT_FLAG_ENCODING_PARAM 1 ///< a generic parameter which can be set by the user for muxing or encoding
124
79
#define AV_OPT_FLAG_DECODING_PARAM 2 ///< a generic parameter which can be set by the user for demuxing or decoding
125
80
#define AV_OPT_FLAG_METADATA 4 ///< some data extracted or inserted into the file like title, comment, ...
126
81
#define AV_OPT_FLAG_AUDIO_PARAM 8
127
82
#define AV_OPT_FLAG_VIDEO_PARAM 16
128
83
#define AV_OPT_FLAG_SUBTITLE_PARAM 32
130
84
//FIXME think about enc-audio, ... style flags