libavutil/tree.c File Reference

#include "log.h"
#include "tree.h"

Go to the source code of this file.

Data Structures

struct  AVTreeNode

Functions

void * av_tree_find (const AVTreeNode *t, void *key, int(*cmp)(void *key, const void *b), void *next[2])
void * av_tree_insert (AVTreeNode **tp, void *key, int(*cmp)(void *key, const void *b), AVTreeNode **next)
 Insert or remove an element.
void av_tree_destroy (AVTreeNode *t)
void av_tree_enumerate (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.

Variables

const int av_tree_node_size = sizeof(AVTreeNode)


Function Documentation

void* av_tree_find ( const AVTreeNode t,
void *  key,
int(*)(void *key, const void *b)  cmp,
void *  next[2] 
)

Definition at line 32 of file tree.c.

Referenced by av_tree_insert(), draw_glyphs(), draw_text(), nut_write_packet(), and read_seek().


Generated on Fri Oct 26 02:48:03 2012 for FFmpeg by  doxygen 1.5.8