summaryrefslogtreecommitdiff
path: root/libavutil/opt.h
Commit message (Collapse)AuthorAge
* lavu/opt: add flag to return NULL when applicable in av_opt_getRodger Combs2015-10-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavu/opt: switch AV_OPT flags to shift-based formattingRodger Combs2015-10-09
|
* avutil/opt: add AV_OPT_TYPE_BOOLClément Bœsch2015-09-08
|
* lavu: Drop old deprecated AVOption APIHendrik Leppkes2015-09-05
| | | | Deprecated in 2011/10
* Remove FF_CONST_AVUTIL55 cruftHendrik Leppkes2015-09-05
|
* Undeprecate av_opt_set_defaults2().Ronald S. Bultje2015-08-18
|
* options: mark av_get_{int,double,q} as deprecated.Ronald S. Bultje2015-08-18
| | | | Convert last users to av_opt_get_*() counterparts.
* doc: avoid incorrect phrase 'allows to'Andreas Cadhalpun2015-06-16
| | | | | | | | Also fix typo found by Lou Logan: Sacrifying -> Sacrificing Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* lavu/opt: add escaping to av_opt_serializeLukasz Marek2014-11-29
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* lavu/opt: add consts where possibleLukasz Marek2014-11-27
|
* lavu/opt: introduce av_opt_serialize()Lukasz Marek2014-11-16
| | | | | | | Function allows to create string containing object's serialized options. Such string may be passed back to av_set_options_string() in order to restore options. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* lavu/opt: introduce av_opt_is_set_to_default()Lukasz Marek2014-11-16
| | | | | | New function allows to check if option is set to its default value Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* Merge commit 'c6074a30ba3b5fb4319ee6ee599656d58548cdc8'Michael Niedermayer2014-11-11
|\ | | | | | | | | | | | | * commit 'c6074a30ba3b5fb4319ee6ee599656d58548cdc8': opt: Fix the documentation mentioning av_set_string3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * opt: Fix the documentation mentioning av_set_string3Luca Barbato2014-11-11
| | | | | | | | It is av_opt_set now.
* | lavu/opt: document av_opt_copy functionLukasz Marek2014-11-09
| |
* | avutil: remove obsolete FF_API_FIND_OPT cruftJames Almer2014-10-05
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'a8c104a511f97e4ea617df73b31737e28a8a5126'Michael Niedermayer2014-08-13
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'a8c104a511f97e4ea617df73b31737e28a8a5126': AVOption: add support for dictionary types. Conflicts: libavutil/opt.c libavutil/opt.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * AVOption: add support for dictionary types.Andrew Stone2014-08-13
| | | | | | | | | | | | | | In order to support metadata being set as an option, it's necessary to be able to set dictionaries as values. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avutil/opt: add av_opt_copy()Michael Niedermayer2014-06-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/opt: add av_opt_set_dict2() functionLukasz Marek2014-05-02
| | | | | | | | | | | | | | | | Existing av_opt_set_dict doesn't accept flags. It doesn't allow to pass options to nested structs. New function alllows that. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavu/opt: extend AVOptionRange by extra valuesLukasz Marek2014-04-03
| | | | | | | | | | | | | | | | | | AVOptionRange is not flexible enough to store AV_OPT_TYPE_IMAGE_SIZE ranges. Current implementation can only store pixel count. This patch aims to keep backward compatibility and extend AVOptionRange with possibility to store width/height ranges. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* | Merge commit 'c3ecd968f0e78da6e77f0c06c2f785b266d83cf1'Michael Niedermayer2014-02-20
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'c3ecd968f0e78da6e77f0c06c2f785b266d83cf1': AVOptions: add flags for read/read-only options Conflicts: libavutil/opt.c libavutil/opt.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * AVOptions: add flags for read/read-only optionsAnton Khirnov2014-02-19
| |
* | Merge commit '6bb8720f00e2e6209665f819fb351fd42b82d5d0'Michael Niedermayer2014-02-20
|\| | | | | | | | | | | | | | | | | | | | | * commit '6bb8720f00e2e6209665f819fb351fd42b82d5d0': AVOptions: deprecate unused AV_OPT_FLAG_METADATA Conflicts: doc/APIchanges libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * AVOptions: deprecate unused AV_OPT_FLAG_METADATAAnton Khirnov2014-02-19
| | | | | | | | | | It was never used since it was added and the things it was intended for are now exported differently.
* | fix order of operations in commentsMichael Niedermayer2013-10-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/opt: add AV_OPT_TYPE_CHANNEL_LAYOUT and handler functionsStefano Sabatini2013-10-17
| | | | | | | | | | The new type is compatible with AV_OPT_TYPE_INT64, but allows to specify channel layouts using the format accepted by av_get_channel_layout().
* | lavu/opt.h: fix grammar typo in av_opt_get* doxyStefano Sabatini2013-10-17
| |
* | lavu/opt: fix doxy for av_opt_get* functions about return valueStefano Sabatini2013-10-04
| | | | | | | | | | Success code must be >= 0 and not == 0, consistently with the implementation.
* | libavutil/opt.h: Fix duplicate wordsMichael Niedermayer2013-08-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b5a138652ff8a5b987d3e1191e67fd9f6575527e'Michael Niedermayer2013-08-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b5a138652ff8a5b987d3e1191e67fd9f6575527e': Give less generic names to global library option arrays Conflicts: libavcodec/options_table.h libavfilter/avfilter.c libavformat/options_table.h libswscale/options.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Give less generic names to global library option arraysDiego Biurrun2013-08-02
| |
| * lavu: remove disabled avoptions cruftAnton Khirnov2012-10-23
| |
* | lavu/opt: add AV_OPT_TYPE_COLORPaul B Mahol2013-05-17
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavu/opt: check int lists length for overflow.Nicolas George2013-04-13
| | | | | | | | Also add parens on macro arguments.
* | lavu: add helper functions for integer lists.Nicolas George2013-04-12
| | | | | | | | | | | | | | | | Add av_int_list_length() to compute a list length. Add av_opt_set_int_list() to set a binary option. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/opt: add AV_OPT_TYPE_DURATION.Nicolas George2013-03-20
| |
* | lavu/opt: add AV_OPT_VIDEO_RATE optionPaul B Mahol2013-03-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | opt: Add support to query rangesMichael Niedermayer2012-12-08
| | | | | | | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/opt: add av_opt_ accessors for pixel/format/image size optionsStefano Sabatini2012-11-25
| | | | | | | | | | The interface is implemented against the style of the other options accessors. Possibly simplify programmatic setting of options.
* | ensure comment blocks that contain doxygen commands start with double asterixPeter Ross2012-11-21
| | | | | | | | | | Reveiwed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/opt: fix av_opt_get_key_value() API.Nicolas George2012-11-16
| | | | | | | | | | | | | | Do not skip the end delimiter. Reserve positive return values. This is an API break, but the function was introduced less than two weeks ago.
* | lavu/opt: implement av_opt_get_key_value().Nicolas George2012-11-04
| | | | | | | | | | | | | | | | This function does the low-level work of av_opt_set_from_string() but can be used when there is no option context or when a generic handling of unknown keys is needed. av_opt_set_from_string() is changed to make use of it.
* | lavu/opt: add AV_OPT_SAMPLE_FMT optionStefano Sabatini2012-11-03
| |
* | lavu/opt: cosmetic fixes forgotten in the previous patch.Nicolas George2012-09-30
| |
* | opt: implement av_opt_set_from_string().Nicolas George2012-09-30
| | | | | | | | | | | | | | It is similar to av_set_options_string() but accepts a list of options that can be in shorthand: if the key is omitted on the first fields, the keys from the shorthand list are assumed, in order.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: Allow setting the ld parameter from the config file x86: dsputil: Do not redundantly check for CPU caps before calling init funcs configure: Disable some warnings in MSVC x86: vp56: cmov version of vp56_rac_get_prob requires inline asm avopt: fix examples to match the same style about default values as the actual code. configure: Add support for MSVC cl.exe/link.exe lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime. Conflicts: libavutil/opt.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: fix examples to match the same style about default values as the ↵Michael Niedermayer2012-09-05
| | | | | | | | | | | | actual code. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avopt: fix examples to match the same style about default values as the ↵Michael Niedermayer2012-09-05
| | | | | | | | | | | | actual code. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: eamad: Add missing dependency on mpegvideo code build: utvideoenc: Add missing dependency on Huffman code avopt: Reorder the default_val struct, making i64 the first field Conflicts: configure doc/APIchanges libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>