Go to the source code of this file.
Classes | |
| 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)) |
| Finds a element for which cmp(key, elem)==0, if no such element is found key is inserted into the tree. | |
| void | av_tree_destroy (AVTreeNode *t) |
| void | av_tree_enumerate (AVTreeNode *t, void *opaque, int(*f)(void *opaque, void *elem)) |
| static int | check (AVTreeNode *t) |
| static void | print (AVTreeNode *t, int depth) |
| int | cmp (const void *a, const void *b) |
| int | main () |
| void* av_tree_find | ( | const AVTreeNode * | t, | |
| void * | key, | |||
| int(*)(void *key, const void *b) | cmp, | |||
| void * | next[2] | |||
| ) |
| void* av_tree_insert | ( | struct AVTreeNode ** | rootp, | |
| void * | key, | |||
| int(*)(void *key, const void *b) | cmp | |||
| ) |
Finds a element for which cmp(key, elem)==0, if no such element is found key is inserted into the tree.
| rootp | A pointer to a pointer to the root node of the tree. Note that the root node can change during insertions, this is required to keep the tree balanced. |
Definition at line 44 of file tree.c.
Referenced by av_tree_insert(), ff_nut_add_sp(), and main().
| void av_tree_destroy | ( | AVTreeNode * | t | ) |
| void av_tree_enumerate | ( | AVTreeNode * | t, | |
| void * | opaque, | |||
| int(*)(void *opaque, void *elem) | f | |||
| ) |
| static int check | ( | AVTreeNode * | t | ) | [static] |
Definition at line 104 of file tree.c.
Referenced by Playlist::containsReference(), UIListTreeType::FillLevelFromTree(), fix_sample(), h261_decode_block(), GlobalSetup::keyPressEvent(), main(), mythvideo_videomanager::ExecuteExternalCommand::OnProcessExit(), OpenGLContext::SetupTexture(), and voc_probe().
| static void print | ( | AVTreeNode * | t, | |
| int | depth | |||
| ) | [static] |
1.5.5