summaryrefslogtreecommitdiff
path: root/libavutil/opt.h
Commit message (Collapse)AuthorAge
* avutil: remove deprecated AVClass.child_class_nextJames Almer2021-04-27
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavu/opt: add a more general child class iteration APIAnton Khirnov2020-06-10
| | | | | | | Use opaque iteration state instead of the previous child class. This mirrors similar changes done in lavf/lavc. Deprecate the av_opt_child_class_next() API.
* avutil/opt: add AV_OPT_FLAG_CHILD_CONSTSMarton Balint2020-05-22
| | | | | | | | This will be used for AVCodecContext->profile. By specifying constants in the encoders we won't have to use the common AVCodecContext options table and different encoders can use the same profile name even with different values. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/opt: add full support for AV_OPT_TYPE_DICTMarton Balint2019-12-27
| | | | | | | Now it is possible to set them from a string, to serialize them and to use a default value. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/opt: add AV_OPT_FLAG_RUNTIME_PARAM flagPaul B Mahol2019-10-14
|
* lavu/opt: add AV_OPT_FLAG_DEPRECATEDClément Bœsch2018-04-26
|
* lavu/opt: add AV_OPT_FLAG_BSF_PARAMJun Zhao2018-03-16
| | | | | | | add AV_OPT_FLAG_BSF_PARAM for bit stream filter options. Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/opt: remove ABI hackswm42018-02-13
| | | | | These were needed for ABI compatibility with Libav. We don't need them anymore.
* Merge commit '619a433eca2c5655c41b799e0b06380020fb1498'James Almer2017-10-23
|\ | | | | | | | | | | | | * commit '619a433eca2c5655c41b799e0b06380020fb1498': lavu: Drop deprecated option type Merged-by: James Almer <jamrial@gmail.com>
| * lavu: Drop deprecated option typeVittorio Giovara2017-03-23
| | | | | | | | Deprecated in 02/2014.
* | avutil/opt: Add AV_OPT_TYPE_UINT64Michael Niedermayer2016-11-23
| | | | | | | | | | | | | | Requested-by: wm4 ([FFmpeg-devel] [PATCH] avutil/opt: Support max > INT64_MAX in write_number() with AV_OPT_TYPE_INT64) Requested-by: ronald ([FFmpeg-devel] [PATCH] avutil/opt: Support max > INT64_MAX in write_number() with AV_OPT_TYPE_INT64) Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavutil/opt: Small bugfix in example.Kacper Michajłow2016-07-24
| | | | | | | | | | | | Fix const corectness and zero init the struct. This example code would actually crash when initializing string. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch2016-06-21
|\| | | | | | | | | | | | | * commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
| * cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * opt: Add av_opt_copy()Michael Niedermayer2016-03-24
| | | | | | | | | | | | | | This includes documentation and other modifications by Lukasz Marek and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
| * opt: Add const to av_opt_nextLukasz Marek2016-03-24
| | | | | | | | | | | | | | Also add const to pointers in static functions within opt.c where possible/necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
* | 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>