Stefano Sabatini
c85eef4ed8
Move av_set_options_string() from libavfilter to libavutil.
...
Originally committed as revision 25236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 22:09:53 +00:00
Stefano Sabatini
372e288408
Move av_get_token() from libavfilter to libavutil.
...
Originally committed as revision 25225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 16:23:43 +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
Stefano Sabatini
9e74966b3f
Cosmetics: merge "} else" and "if (...) {" lines, less confusing.
...
Originally committed as revision 23837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 22:35:42 +00:00
Stefano Sabatini
4cf0b43ac9
Reindent after the last commit.
...
Originally committed as revision 23836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 22:35:39 +00:00
Stefano Sabatini
a52e2c3a46
Extend color syntax, make it accept an alpha component specifier.
...
Originally committed as revision 23835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 22:35:35 +00:00
Stefano Sabatini
8e094dd667
Rename ColorEntry.rgba_color to rgb_color and do not reserve a fourth
...
byte for the alpha component, as it is never used, clarify the code
and prevent bad usage of it.
Originally committed as revision 23834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 22:35:32 +00:00
Stefano Sabatini
5ba949fe90
Add missing check to av_get_token().
...
Originally committed as revision 23594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-13 09:27:09 +00:00
Martin Storsjö
576fb48e6d
Make ff_random_get_seed public, rename to av_get_random_seed, export the header
...
Keep an old ff_ named function for binary compatibility until the
next major bump.
Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 08:53:40 +00:00
Stefano Sabatini
dc0eaef318
Make av_parse_color() return AVERROR(EINVAL) rather than -1.
...
Originally committed as revision 23120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:26:03 +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
Stefano Sabatini
62096b99b1
Make parse_key_value_pair() print an error message if a key is not
...
found in the context.
Originally committed as revision 20779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-08 22:01:25 +00:00
Stefano Sabatini
7d132c544b
Use an unsigned int to contain all the color values of the expressions
...
of the type 0xRRGBBAA parsed by av_parse_color(), using a simple int
was resulting in unexpected results as the most significant bit was
used for the sign.
Originally committed as revision 20778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-08 22:00:07 +00:00
Stefano Sabatini
cec8e5f76a
Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a
...
color.
Originally committed as revision 18868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-18 17:59:03 +00:00
Stefano Sabatini
c1ec75b576
Implement av_set_options_string().
...
Originally committed as revision 18832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 22:57:08 +00:00
Stefano Sabatini
3d3bd64db8
Add support in av_parse_color() to a "random" color name, which will
...
result in a randomly choosen random color, as it is with the
"bikeshed" color.
Originally committed as revision 18828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 18:58:06 +00:00
Stefano Sabatini
b69b622c22
Make case insensitive the match for the color name in
...
av_parse_color().
Originally committed as revision 18827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 18:54:25 +00:00
Ramiro Polla
4fa61d1e98
Accept "bikeshed" as a random color.
...
Originally committed as revision 18758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 15:25:30 +00:00
Stefano Sabatini
a3015225c7
Implement av_parse_color().
...
Originally committed as revision 18748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 22:10:06 +00:00
Stefano Sabatini
2e032b32df
Prefer (void) over () in function prototype.
...
Originally committed as revision 18727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 21:35:01 +00:00
Michael Niedermayer
d11dbf092c
av_get_token()
...
based on a patch by Stefano Sabatini
Originally committed as revision 18725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 14:38:07 +00:00