Diego Biurrun
d816e125fe
dict: const correctness for av_dict_get() and av_dict_copy()
11 years ago
Michael Niedermayer
3690393f68
avutil/dict: delay addition of const from e12a73246d
until next major ABI bump
...
This unbreaks API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Roman Fietze
e12a73246d
dict: const pointers to dictionary where possible
...
This avoids temporaries or ugly casting in the calling code where
const dictionaries are used. Esp. helpful when writing C++ wrappers
for an AVDictionary having const member functions and CTORs with const
references.
Signed-off-by: Roman Fietze <roman.fietze@telemotive.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Luca Barbato
9ecb858775
doxy: Format @code blocks so they render properly
...
@code command reports verbatim everything between it and @endcode .
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Stefano Sabatini
e3eb0988c6
lavu/dict.h: extend/clarify av_dict_get() doxy
11 years ago
Stefano Sabatini
e782eea183
lavu/dict.h: extend/clarify docs for av_dict_parse_string()
11 years ago
Stefano Sabatini
320389f88b
lavu/dict.h: apply various fixes/extensions to doxy
...
In particular, document AV_DICT_MATCH_CASE, AV_DICT_IGNORE_SUFFIX, and
extend documentation for av_dict_get().
11 years ago
Justin Ruggles
38c1466ca4
dict: add av_dict_parse_string()
...
Can be used to set multiple key/value pairs from a string.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Diego Biurrun
e4cbf7529b
Give all anonymously typedeffed structs in headers a name
...
Anonymous structs cannot be forward declared and have no benefit.
12 years ago
Mans Rullgard
987170cb9d
dict: add av_dict_count()
...
This adds a function to retrieve the number of entries in a
dictionary and updates the places directly accessing what should
be an opaque struct to use this new function instead.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
1a068bfefd
cosmetics: Consistently use C-style comments with multiple inclusion guards
13 years ago
Martin Storsjö
27b7459b8d
docs: Fix a stray reference to tags in the generic doxy on dicts
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
757cd8d876
doxy: provide a start page and document libavutil
...
Introduce a basic layout, the subpages are currently left empty.
Split libavutil in multiple groups as example of the structure
13 years ago
Anton Khirnov
8c28e01d31
dict: extend documentation.
14 years ago
Reinhard Tartler
134557f3a4
doxygen: fix usage of @file directive in libavutil/{dict,file}.h
14 years ago
Stefano Sabatini
34ab23f226
dict: fix another typo
...
achive -> achieve
14 years ago
Stefano Sabatini
ca699ac24e
dict: fix various typos
14 years ago
Michael Niedermayer
c029ea39bd
AVDictionary: warn about its shortcommings and mention available replacements.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
1b9b37b8a4
dict: add AV_DICT_APPEND flag.
14 years ago
Michael Niedermayer
6a137dde3e
dict: This code was developed in ffmpeg and not libav, nor by libav developers.
...
Correct copyright notices.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
d9f80ea2a7
Move metadata API from lavf to lavu.
...
Rename it to AVDictionary, since it will be used as such. Tags
documentation and metadata conversion API is lavf-specific, so remains
there.
14 years ago