Commit Graph

10 Commits

Author SHA1 Message Date
Aurelien Jacobs
0985e1a3ca move the av_parse_color() function from libavfilter to libavcore
Originally committed as revision 25761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-17 22:58:28 +00:00
Stefano Sabatini
d2af7205a1 Use hierarchic names convention (prefix them with av_expr) for the
eval API.

More grep-friendly and more consistent with the rest of the FFmpeg
API.

Originally committed as revision 25708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-08 14:06:49 +00:00
Stefano Sabatini
00e962a275 Add a test for av_parse_video_rate().
Originally committed as revision 25334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-04 13:41:06 +00:00
Stefano Sabatini
bc12b3b11b Use av_parse_and_eval_expr() in av_parse_video_rate(), simplify.
Originally committed as revision 25333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-04 13:41:04 +00:00
Stefano Sabatini
6705dd5f98 Fix weird indent.
Originally committed as revision 25287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-01 16:02:10 +00:00
Stefano Sabatini
ea35e3c61e Avoid the use of an intermediary variable in
av_parse_video_rate(). Simplify.

Originally committed as revision 24524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:48 +00:00
Stefano Sabatini
c90c80ac28 Make VideoFrameRateAbbr contain a rational rather than two ints for
num and den. Simplify.

Originally committed as revision 24523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:45 +00:00
Stefano Sabatini
dc4a50a073 Remove reference to the "frame" term in variable names. Simpler and
more consistent with the function names.

Originally committed as revision 24522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:41 +00:00
Stefano Sabatini
afead10638 Make av_parse_video_size() and av_parse_video_rate() return
AVERROR(EINVAL) rather than -1 in case of unsuccess.

Originally committed as revision 24521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:38 +00:00
Stefano Sabatini
126b638ea0 Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.

This change also adds a linking-time dependency of libavcodec and of
libavfilter on libavcore.

Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:28 +00:00