Commit Graph

26 Commits

Author SHA1 Message Date
Diego Biurrun
a9b04b2c43 tree.h: K&R formatting and typo cosmetics 2013-07-31 18:14:08 +02:00
Martin Storsjö
9a92aea27b avutil: Add functions for allocating opaque contexts for algorithms
The current API where the plain size is exposed is not of much
use - in most cases it is allocated dynamically anyway.

If allocated e.g. on the stack via an uint8_t array, there's no
guarantee that the struct's members are aligned properly (unless
the array is overallocated and the opaque pointer within it
manually aligned to some unspecified alignment).

Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-11 23:35:27 +03:00
Luca Barbato
757cd8d876 doxy: provide a start page and document libavutil
Introduce a basic layout, the subpages are currently left empty.

Split libavutil in multiple groups as example of the structure
2011-11-22 17:16:02 +01:00
Mans Rullgard
2912e87a6c Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Clément Bœsch
523d9407d5 Remove a few if (p) av_freep(&p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-04 10:00:49 +00:00
Måns Rullgård
49bd8e4b84 Fix grammar errors in documentation
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 15:38:06 +00:00
Diego Biurrun
ba87f0801d Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.

Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 14:45:34 +00:00
Vitor Sessak
4b83fc0fe4 Plug memory leak in NUT muxer and demuxer
Originally committed as revision 22174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-03 17:31:24 +00:00
Vitor Sessak
8a4d067dfc Revert r22119 and partially revert 22120.
Originally committed as revision 22135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-01 18:16:10 +00:00
Vitor Sessak
fee6faa2b6 Implement av_tree_destroy_free_elem() to destroy a tree and free all the
values stored on it.

Originally committed as revision 22119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-28 20:48:42 +00:00
Stefano Sabatini
7a79e51cd6 Add @code/@endcode commands to markup C code in av_tree_insert() doxy.
Originally committed as revision 18776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-09 23:02:20 +00:00
Stefano Sabatini
9c5a4ea28c Add missing '*' to av_tree_insert() doxy.
Originally committed as revision 18775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-09 23:00:46 +00:00
Diego Biurrun
bad5537e2c Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 02:00:19 +00:00
Diego Biurrun
bfe3676feb spelling/grammar/consistency review part II
Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 23:03:17 +00:00
Michael Niedermayer
eed3607564 Avoid undefined behavior for removing elements that were not in the tree.
Originally committed as revision 15368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-19 12:41:12 +00:00
Stefano Sabatini
987903826b Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.'  to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".

Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:39:47 +00:00
Michael Niedermayer
b57cb96836 Document O() time.
Originally committed as revision 11403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:55:14 +00:00
Michael Niedermayer
efbaf4deee Document node removial API.
Originally committed as revision 11402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:46:53 +00:00
Michael Niedermayer
6e8b982bcc Move *malloc() out of tree.c, that way the code can be used with
flat arrays which have lower overhead than millions of mallocd() elements.

Originally committed as revision 11399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 17:52:16 +00:00
Diego Biurrun
5b21bdabe4 Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
Diego Biurrun
e4a4c870cb Add Doxygen author and file description, rephrase a Doxygen comment.
Originally committed as revision 8147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 14:41:03 +00:00
Diego Biurrun
876e4194c2 spelling/grammar fixes for the Doxygen comments
Originally committed as revision 8138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:16:39 +00:00
Diego Biurrun
7122f7c771 Revert previous commit that contained an unrelated hunk.
Originally committed as revision 8137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:11:14 +00:00
Diego Biurrun
a93575fa3d spelling/grammar fixes for a Doxygen comment
Originally committed as revision 8136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 22:59:16 +00:00
Michael Niedermayer
fc0b041637 doxy
Originally committed as revision 7188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-30 12:00:29 +00:00
Michael Niedermayer
9eb88fdeba AVL tree
Originally committed as revision 7031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 01:02:30 +00:00