68 int (*
cmp)(
const void *key,
const void *
b),
void *next[2]);
115 int (*
cmp)(
const void *key,
const void *
b),
131 int (*
cmp)(
void *opaque,
void *
elem),
132 int (*enu)(
void *opaque,
void *elem));
void * av_tree_find(const struct AVTreeNode *root, void *key, int(*cmp)(const void *key, const void *b), void *next[2])
Find an element.
Macro definitions for various function/variable attributes.
struct AVTreeNode * av_tree_node_alloc(void)
Allocate an AVTreeNode.
void av_tree_destroy(struct AVTreeNode *t)
Libavutil version macros.
static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, const int subx, const int suby, const int size, const int h, int ref_index, int src_index, me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, const int flags)
compares a block (either a full macroblock or a partition thereof) against a proposed motion-compensa...
const int av_tree_node_size
void * av_tree_insert(struct AVTreeNode **rootp, void *key, int(*cmp)(const void *key, const void *b), struct AVTreeNode **next)
Insert or remove an element.
void av_tree_enumerate(struct AVTreeNode *t, void *opaque, int(*cmp)(void *opaque, void *elem), int(*enu)(void *opaque, void *elem))
Apply enu(opaque, &elem) to all the elements in the tree in a given range.