summaryrefslogtreecommitdiff
path: root/libavcodec/eval.h
Commit message (Collapse)AuthorAge
* Move eval.c and eval.h from libavcodec to libavutil, and make the evalStefano Sabatini2010-06-05
| | | | | | API public. Originally committed as revision 23485 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix misc typos.Stefano Sabatini2010-06-03
| | | | Originally committed as revision 23442 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: reindent and break some overly long line.Stefano Sabatini2010-06-01
| | | | Originally committed as revision 23405 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename ff_parse_expr() and ff_parse_and_eval_expr() parameters:Stefano Sabatini2010-06-01
| | | | | | | | | | | | const_name -> const_names const_value -> const_values func[12]_name -> func[12]_names func[12] -> funcs[12] All these parameters contain a list of values, using plural names for them help understanding a little. Originally committed as revision 23403 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_parse_expr() and ff_parse_and_eval_expr() return an intStefano Sabatini2010-06-01
| | | | | | | | | | | | containing an error code. Allow these functions to convey the reason of the failure to the calling function, failure which is not always due to a parsing error but it may depend for example on a memory problem. Also fix several potential memleaks. Originally committed as revision 23402 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix doxy reference to unexisting function.Stefano Sabatini2010-05-20
| | | | Originally committed as revision 23203 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change eval API to take parent log context and log level offset.Michael Niedermayer2010-05-19
| | | | | | this is based on stefanos work, especially all bugs are his fault ;) Originally committed as revision 23201 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the order of parameters for ff_eval_expr() andStefano Sabatini2010-05-16
| | | | | | | | | | ff_parse_and_eval_expr(), place the names for constants/functions before the corresponding values. This looks more readable, as the user is expected to know the names before the values. Originally committed as revision 23149 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Fix grammar: a expression -> an expression.Stefano Sabatini2010-04-12
| | | | Originally committed as revision 22865 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove stray empty line.Stefano Sabatini2010-04-12
| | | | Originally committed as revision 22864 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix constness for func[12] parameters in ff_parse_expr() andStefano Sabatini2010-04-12
| | | | | | | | | | | | | | | | | ff_parse_and_eval_expr(). Change func[12] attributes from "** func" to "* const * func". This is consistent with the semantics of the provided arrays of functions, which are not supposed to be changed by the ff_parse_* functions. Also fix the GCC compilation warnings: libavcodec/ratecontrol.c: In function ‘ff_rate_control_init’: libavcodec/ratecontrol.c:109: warning: passing argument 3 of ‘ff_parse_expr’ discards qualifiers from pointer target type libavcodec/eval.h:69: note: expected ‘double (**)(void *, double)’ but argument is of type ‘double (* const*)(void *, double)’ Originally committed as revision 22860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change constness for func[12]_name parameters of ff_parse_expr() andStefano Sabatini2010-04-12
| | | | | | | | | ff_parse_and_eval_expr(). Change attribute from "const char **" to "const char * const *". The name arrays are not supposed to be changed by the function. Originally committed as revision 22859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_parse() to ff_parse_expr().Stefano Sabatini2010-04-12
| | | | | | | The new name is more expressive and fits better in the overall naming scheme for the revisited eval API. Originally committed as revision 22858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_eval2() to ff_parse_and_eval_expr().Stefano Sabatini2010-04-11
| | | | | | The new name better expresses what the function does. Originally committed as revision 22845 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_parse_eval() to ff_eval_expr().Stefano Sabatini2010-04-11
| | | | | | The new name expresses better what the function does. Originally committed as revision 22844 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Place some empty line in the doxy.Stefano Sabatini2010-04-11
| | | | | | Improve readability, also consistent with the predominant doxy style. Originally committed as revision 22841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant file descriptions from copyright headers.Stefano Sabatini2010-04-11
| | | | | | File description is only kept in the @file doxy. Originally committed as revision 22840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid the use of the symbol ff_expr_s for referencing AVExpr.Stefano Sabatini2010-04-11
| | | | | | | | This way we have to deal only with struct AVExpr and AVExpr, which is slightly less confusing as the association between the two symbols is obvious. Originally committed as revision 22839 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Doxument ff_free_expr().Stefano Sabatini2010-04-11
| | | | Originally committed as revision 22837 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_eval_free() to ff_free_expr().Stefano Sabatini2010-04-11
| | | | Originally committed as revision 22834 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVEvalExpr to AVExpr, as suggested by Michael.Stefano Sabatini2010-04-11
| | | | | | The new name is shorter and less confusing. Originally committed as revision 22833 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move AVEvalExpr declaration at the beginning of the file, where it isStefano Sabatini2010-04-11
| | | | | | less distracting. Originally committed as revision 22832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rewrite doxy for av_strtod().Stefano Sabatini2009-06-24
| | | | Originally committed as revision 19268 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export av_strtod() to eval.h.Stefano Sabatini2009-06-22
| | | | Originally committed as revision 19252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* Add a few const qualifiers in appropriate places.Anders Grönberg2008-12-14
| | | | | | patch by Anders Grönberg, galileo.m2 gmail com Originally committed as revision 16120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove one more stuff under #if LIBAVCODEC_VERSION_INTAurelien Jacobs2008-09-08
| | | | | | which was forgotten in r15263 Originally committed as revision 15278 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-31
| | | | | | | | | 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
* FixLuca Abeni2008-02-15
| | | | | | | utils.c: In function ‘avcodec_get_context_defaults2’: utils.c:793: warning: assignment discards qualifiers from pointer target type Originally committed as revision 11938 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-03
| | | | Originally committed as revision 11840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun2007-10-17
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc typo fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* patch so that the deprecated items show up correctlyMark Cox2007-05-02
| | | | | | | when building doxygen docs patch by mark cox melbournemark plus ffmpeg minus devel chez gmail dot com Originally committed as revision 8866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ministry of english grammar :) then->thanOded Shimon2006-11-04
| | | | Originally committed as revision 6894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* doxyMichael Niedermayer2006-11-03
| | | | Originally committed as revision 6893 to svn://svn.ffmpeg.org/ffmpeg/trunk
* new optimized eval method, by seperating parsing and runtimeOded Shimon2006-10-27
| | | | Originally committed as revision 6803 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add forgotten eval.h...Panagiotis Issaris2006-09-29
Originally committed as revision 6387 to svn://svn.ffmpeg.org/ffmpeg/trunk