Public dictionary API.
More...
Go to the source code of this file.
Data Structures
Macros
Only get an entry with exact-case key match.
Return first entry in a dictionary whose first part corresponds to the search key, ignoring the suffix of the found key string.
Take ownership of a key that's been allocated with
av_malloc() or another memory allocation function.
Take ownership of a value that's been allocated with
av_malloc() or another memory allocation function.
Don't overwrite existing entries.
If the entry already exists, append to it.
Functions
Get a dictionary entry with matching key.
Get number of entries in dictionary.
Set the given entry in *pm, overwriting an existing entry.
Convenience wrapper for av_dict_set that converts the value to a string and stores it.
Parse the key/value pairs list and add the parsed entries to a dictionary.
Free all the memory allocated for an
AVDictionary struct and all keys and values.
Get dictionary entries as a string.
Detailed Description
Public dictionary API.
- Deprecated:
- AVDictionary is provided for compatibility with libav. It is both in implementation as well as API inefficient. It does not scale and is extremely slow with large dictionaries. It is recommended that new code uses our tree container from tree.c/h where applicable, which uses AVL trees to achieve O(log n) performance.
Definition in file dict.h.