Go to the source code of this file.
Data Structures
A single allowed range of values, or a single allowed value.
More...
Macros
a generic parameter which can be set by the user for muxing or encoding
More...
a generic parameter which can be set by the user for demuxing or decoding
More...
The option is intended for exporting values to the caller.
More...
The option may not be set through the AVOptions API, only read.
More...
a generic parameter which can be set by the user for bit stream filtering
More...
a generic parameter which can be set by the user at runtime
More...
a generic parameter which can be set by the user for filtering
More...
set if option constants can also reside in child objects
More...
Search in possible children of the given object first.
More...
In av_opt_get, return NULL if the option has a pointer type and is set to NULL, rather than returning an empty string.
More...
Allows av_opt_query_ranges and av_opt_query_ranges_default to return more than one component for certain option types.
More...
Set a binary option to an integer list.
More...
Serialize options that are not set to default values only.
More...
Serialize options that exactly match opt_flags only.
More...
Enumerations
enum
AVOptionType {
AV_OPT_TYPE_FLAGS,
AV_OPT_TYPE_INT,
AV_OPT_TYPE_INT64,
AV_OPT_TYPE_DOUBLE,
AV_OPT_TYPE_FLOAT,
AV_OPT_TYPE_STRING,
AV_OPT_TYPE_RATIONAL,
AV_OPT_TYPE_BINARY,
AV_OPT_TYPE_DICT,
AV_OPT_TYPE_UINT64,
AV_OPT_TYPE_CONST,
AV_OPT_TYPE_IMAGE_SIZE,
AV_OPT_TYPE_PIXEL_FMT,
AV_OPT_TYPE_SAMPLE_FMT,
AV_OPT_TYPE_VIDEO_RATE,
AV_OPT_TYPE_DURATION,
AV_OPT_TYPE_COLOR,
AV_OPT_TYPE_CHANNEL_LAYOUT,
AV_OPT_TYPE_BOOL,
AV_OPT_TYPE_CHLAYOUT
}
Functions
Parse the key/value pairs list in opts.
More...
Parse the key-value pairs list in opts.
More...
Free all allocated objects in obj.
More...
Check whether a particular flag is set in a flags field.
More...
Set all the options from a given dictionary on an object.
More...
Set all the options from a given dictionary on an object.
More...
Extract a key-value pair from the beginning of a string.
More...
Look for an option in an object.
More...
Look for an option in an object.
More...
Iterate over all AVOptions belonging to obj.
More...
Iterate over AVOptions-enabled children of obj.
More...
Iterate over potential AVOptions-enabled children of parent.
More...
Gets a pointer to the requested field in a struct.
More...
Get a list of allowed ranges for the given option.
More...
Copy options from src object into dest object.
More...
Get a default list of allowed ranges for the given option.
More...
Check if given option is set to its default value.
More...
Check if given option is set to its default value.
More...
Serialize object's options.
More...
Detailed Description
AVOptions
Definition in file opt.h.
Macro Definition Documentation
◆ AV_OPT_FLAG_ENCODING_PARAM
#define AV_OPT_FLAG_ENCODING_PARAM 1
a generic parameter which can be set by the user for muxing or encoding
Definition at line 281 of file opt.h.
◆ AV_OPT_FLAG_DECODING_PARAM
#define AV_OPT_FLAG_DECODING_PARAM 2
a generic parameter which can be set by the user for demuxing or decoding
Definition at line 282 of file opt.h.
◆ AV_OPT_FLAG_AUDIO_PARAM
#define AV_OPT_FLAG_AUDIO_PARAM 8
◆ AV_OPT_FLAG_VIDEO_PARAM
#define AV_OPT_FLAG_VIDEO_PARAM 16
◆ AV_OPT_FLAG_SUBTITLE_PARAM
#define AV_OPT_FLAG_SUBTITLE_PARAM 32
◆ AV_OPT_FLAG_EXPORT
#define AV_OPT_FLAG_EXPORT 64
The option is intended for exporting values to the caller.
Definition at line 289 of file opt.h.
◆ AV_OPT_FLAG_READONLY
#define AV_OPT_FLAG_READONLY 128
The option may not be set through the AVOptions API, only read.
This flag only makes sense when AV_OPT_FLAG_EXPORT is also set.
Definition at line 294 of file opt.h.
◆ AV_OPT_FLAG_BSF_PARAM
#define AV_OPT_FLAG_BSF_PARAM (1<<8)
a generic parameter which can be set by the user for bit stream filtering
Definition at line 295 of file opt.h.
◆ AV_OPT_FLAG_RUNTIME_PARAM
#define AV_OPT_FLAG_RUNTIME_PARAM (1<<15)
a generic parameter which can be set by the user at runtime
Definition at line 296 of file opt.h.
◆ AV_OPT_FLAG_FILTERING_PARAM
#define AV_OPT_FLAG_FILTERING_PARAM (1<<16)
a generic parameter which can be set by the user for filtering
Definition at line 297 of file opt.h.
◆ AV_OPT_FLAG_DEPRECATED
#define AV_OPT_FLAG_DEPRECATED (1<<17)
set if option is deprecated, users should refer to AVOption.help text for more information
Definition at line 298 of file opt.h.
◆ AV_OPT_FLAG_CHILD_CONSTS
#define AV_OPT_FLAG_CHILD_CONSTS (1<<18)
set if option constants can also reside in child objects
Definition at line 299 of file opt.h.