Go to the documentation of this file.
22 #ifndef AVCODEC_HASHTABLE_H
23 #define AVCODEC_HASHTABLE_H
static double val(void *priv, double ch)
void ff_hashtable_freep(struct FFHashtableContext **ctx)
Free a hash table.
void ff_hashtable_clear(struct FFHashtableContext *ctx)
Delete all values from a hash table.
int ff_hashtable_get(const struct FFHashtableContext *ctx, const void *key, void *val)
Look up a value from a hash table given a key.
int ff_hashtable_set(struct FFHashtableContext *ctx, const void *key, const void *val)
Store a value in a hash table given a key.
int ff_hashtable_alloc(struct FFHashtableContext **ctx, size_t key_size, size_t val_size, size_t max_entries)
Create a fixed-sized Robin Hood hash table.
int ff_hashtable_delete(struct FFHashtableContext *ctx, const void *key)
Delete a value from a hash table given a key.