[FFmpeg-devel] [RFC] av_tree enumeration

Stefano Sabatini stefano.sabatini-lala
Sat Nov 14 01:41:17 CET 2009


Hi all,

I'm considering to use av_tree for storing elements of FFmpeg,
e.g. filters, codecs etc.

This should allow two important objectives:
* to make insertion / extraction / find operations faster

* to eliminate the next field present in many element, thus making the
  code containing the elements constant and shareable.

av_tree already presents an API for iterating through elements, namely
we have av_tree_enumerate(), which is commented out since the first
commit:

r7031 | michael | 2006-11-14 

Could someone explain how to use that function, and if it can be used
to do this? I could try some guesswork, but it's faster if someone can
give some hints about it.

Regards.
-- 
FFmpeg = Faithless and Funny Meaningful Philosophical Eretic Gem



More information about the ffmpeg-devel mailing list