Anton Khirnov
41d9d51a72
AVOptions: add av_opt_get*, deprecate av_get*.
...
New functions can get values from child objects, properly report error
codes and have consistent naming and signatures.
13 years ago
Anton Khirnov
dac66da63d
AVOptions: add av_opt_set*().
...
Deprecate av_set_*
New functions support setting values on children, return error codes
instead of options and have consistent naming and signatures.
13 years ago
Anton Khirnov
641c7afe3c
AVOptions: add new API for enumerating children.
...
This will allow the caller to enumerate child contexts in a generic way
and since the API is recursive, it also allows for deeper nesting (e.g.
AVFormatContext->AVIOContext->URLContext)
This will also allow the new setting/reading API to transparently apply
to children contexts.
13 years ago
Anton Khirnov
c8d787d2ef
AVOptions: split av_set_string3 into opt type-specific functions
...
Also stop attempting to honor the alloc parameter, as things break
horribly in that case.
It will be removed in upcoming successor to av_set_string3.
13 years ago
Anton Khirnov
79eff91325
AVOptions: deprecate av_opt_set_defaults2
...
It's a hack which was created to allow for multiple options with
different defaults to refer to same field (e.g. 'b' vs 'ab'). There is
no need for it anymore.
13 years ago
Anton Khirnov
a7e2b2ccc9
AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.h
...
Also change it to be more readable.
13 years ago
Anton Khirnov
e955a682e1
AVOptions: fix av_set_string3() doxy to match reality.
...
Fixes bug 28.
13 years ago
Anton Khirnov
c11fb8288d
AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().
...
It allows to search for options only with AVClass, without allocating
the corresponding context.
13 years ago
Anton Khirnov
dc59ec5e79
AVOptions: add av_opt_find() as a replacement for av_find_opt.
14 years ago
Anton Khirnov
7e83e1c511
AVOptions: add av_opt_set_dict() mapping a dictionary struct to a context.
...
This way the caller can pass all the options in one nice package.
14 years ago
Martin Storsjö
cb7c11cc9e
avoptions: Add an av_opt_flag_is_set function for inspecting flag fields
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Anton Khirnov
b39b06233d
AVOptions: add av_opt_free convenience function.
14 years ago
Anton Khirnov
b66752790a
AVOptions: make default_val a union, as proposed in AVOption2.
...
This breaks API and ABI.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
c85eef4ed8
Move av_set_options_string() from libavfilter to libavutil.
...
Originally committed as revision 25236 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
6ed040408b
Move AVOptions from libavcodec to libavutil
...
Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
e44c01563f
Deprecate av_opt_show() in favor of a new function av_opt_show2(),
...
which allows to specify only a subset of all the options to show.
Originally committed as revision 25166 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
Michael Niedermayer
f1cb9858b5
Add an experimental AVOption2 that uses an union instead of double for default_val.
...
Originally committed as revision 20248 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
bf7e799c9e
Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
...
improve plain text doxy readability.
See the thread: "[RFC] Should we use doxygen markup?".
Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
644f8c7670
Document av_set_string3() returned error codes.
...
Originally committed as revision 18829 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Aurelien Jacobs
af5f434f8c
add the necessary include for LIBAV*_VERSION_*
...
Originally committed as revision 16571 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
64e74b68a4
Put under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functions
...
av_set_string() and av_set_string2(), they will be dropped at the next
major bump.
Originally committed as revision 16243 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
7b1454c439
Implement av_set_string3().
...
Originally committed as revision 16175 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8f993c6725
s/#AVClass/AVClass/, consistent with the rest of the doxy.
...
Originally committed as revision 16085 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Stefano Sabatini
b211d3ae47
Complete documentation for av_set_string().
...
Originally committed as revision 14436 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8dbee6538d
Fix the av_set_string() free / alloc issue.
...
Originally committed as revision 14134 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
ed76af08a4
Document av_find_opt().
...
Originally committed as revision 14083 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
6122c92e92
Clarify/simplify documentation for the default_val field in AVOption.
...
Originally committed as revision 14043 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
a33a6eb2ce
Fix typo in libavcodec/opt.h.
...
Originally committed as revision 13912 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
b453924f3c
Extend documentation for AVOption.
...
Originally committed as revision 13854 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
890f6fd3ec
minor spelling/grammar fixes
...
Originally committed as revision 13669 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
76a448ed4f
Install headers in $prefix/include/$libname
...
Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.
Specify only $prefix/include in .pc files.
Originally committed as revision 12194 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
841f39a7f3
Add FF_OPT_TYPE_BINARY and use it to add a cryptokey option
...
Originally committed as revision 11250 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
İsmail Dönmez
63e24954be
Replace non-existing @fixme doxygen tags with @todo .
...
patch by Ismail Dönmez, ismail pardus.org tr
Originally committed as revision 9625 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
99545457bf
include all prerequisites in header files
...
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
20e708cbbe
add av_opt_set_defaults2() which sets just defaults from AVOptions whos flags match a user specified & mask = flags
...
Originally committed as revision 8280 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bc2a1c340a
make av_find_opt() available to the public and add a mask+flags parameter to search for specific AVOptions
...
Originally committed as revision 8279 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
f8a32f450a
Constantize AVOption, solve few warnings, patch from flameeyes@gentoo.org aka "the other Diego"
...
Originally committed as revision 7601 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
73a8ceaa17
make AVOptions default value field work.
...
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 8, 2006 3:22 PM
Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value
Originally committed as revision 6224 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
a1689e2f19
avoid stdio.h
...
Originally committed as revision 4585 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
233f6f889e
flags and named constants with type checking of course for AVOption
...
spliting AVOption specific stuff out of avcodec.h into opt.h
Originally committed as revision 4581 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago