Commit Graph

374 Commits

Author SHA1 Message Date
Víctor Paesa b6fec3eb7f Make static the list of registered filters.
Originally committed as revision 18198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 21:46:45 +00:00
Michael Niedermayer 6d4f53cbac Remove old scaler.
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 22:51:30 +00:00
Stefano Sabatini 86a47378d5 Rename avfilter_parse_graph() to avfilter_graph_parse(), for better
consistency with the rest of the API.

Originally committed as revision 17624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:03:55 +00:00
Stefano Sabatini d7dbe55823 Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
consistency with the rest of the API.

Originally committed as revision 17623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:02:09 +00:00
Stefano Sabatini 39c07b8e44 Implement in AVFilterGraph the scale_sws_opts field, and pass its
value in the args for the auto-inserted scale filters.

Originally committed as revision 17547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 23:45:21 +00:00
Stefano Sabatini fd51ff1643 Fix avfilter_parse_graph() invalid graph description detection.
See the thread:
"[FFmpeg-devel] [PATCH] Fix avfilter-parse-graph()".

Originally committed as revision 17222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 11:47:42 +00:00
Stefano Sabatini 822005ed45 Implement avfilter_graph_check_validity().
Originally committed as revision 16809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 20:21:25 +00:00
Stefano Sabatini 784712343c Print a warning and fail if the graph description cannot be
parsed.

Originally committed as revision 16648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 23:56:53 +00:00
Aurelien Jacobs 49fb20cb8a replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions.

Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 17:19:17 +00:00
Stefano Sabatini 90993b3848 Reindent after the last commit, while at it also add some spaces for
improving readability.

Originally committed as revision 16566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:34:34 +00:00
Stefano Sabatini 689a5f493b Make avfilter_open() set to NULL the pads and the filters when the
corresponding count is zero, rather than allocate a 16 bytes sized
block for them. Improve safety.

Originally committed as revision 16565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:30:57 +00:00
Stefano Sabatini b9609848f3 Implement the avfilter_default_draw_slice() handler and use it in
avfilter_draw_slice() when the draw_slice callback is not defined in
the input pad.

Originally committed as revision 16554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:05:48 +00:00
Stefano Sabatini 2b187df99b Fix capitalization and missing periods issues.
Originally committed as revision 16517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 10:26:05 +00:00
Stefano Sabatini 9ce95f272e Cosmetics: break line to make it not longer than 80 chars.
Originally committed as revision 16405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-02 10:07:26 +00:00
Stefano Sabatini 91535e5f38 Fix typos.
Originally committed as revision 16384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-29 12:11:01 +00:00
Stefano Sabatini 055068d001 Mention in the documentation of avfilter_poll_frame() that it returns
a negative value in case of error.

Originally committed as revision 16372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 17:07:47 +00:00
Stefano Sabatini 7f9b3266c9 Change thisIsAVar variable names to this_is_a_var style, more
consistent with the rest of libav*.

Originally committed as revision 16356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 09:31:05 +00:00
Stefano Sabatini 9864142b6d Fix and extend documentation for avfilter_graph_get_filter().
Originally committed as revision 16354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 22:25:47 +00:00
Stefano Sabatini e916c2ac6a Fix typo: ommitted -> omitted.
Originally committed as revision 16353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 20:26:44 +00:00
Stefano Sabatini e4a5f397fd Choose better names for the variables in create_filter().
Originally committed as revision 16320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 10:54:16 +00:00
Stefano Sabatini 175821c631 Fix documentation for avfilter_parse_graph().
Originally committed as revision 16319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 10:48:54 +00:00
Carl Eugen Hoyos 5bc8ebd3ea Use PIX_FMT_NONE to silence icc warning #188:
enumerated type mixed with another type

Originally committed as revision 15942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 18:59:36 +00:00
Diego Biurrun f0e602351e cosmetics: Consistently place HEADERS before OBJS in all Makefiles.
Originally committed as revision 15896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:53:18 +00:00
Måns Rullgård ede725104b cosmetic: align backslashes in makefiles
Originally committed as revision 15717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 15:21:45 +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
Stefano Sabatini 42f72a3ac4 Fix a typo.
Originally committed as revision 15009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 21:37:40 +00:00
Stefano Sabatini 39981f5354 Reword a sentence in a doxy making its interpretation clearer.
Originally committed as revision 15008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 21:37:01 +00:00
Stefano Sabatini 540f1c7b13 Implement avfilter_version().
Originally committed as revision 14669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 18:43:38 +00:00
Diego Biurrun f4433de9ef consistency cosmetics: indices --> indexes
Originally committed as revision 13444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:14:25 +00:00
Vitor Sessak e2b5fdaf11 Split openLinks linked list into openInputs and openOutputs
Commited in SoC by Vitor Sessak on 2008-05-24 17:20:09

Originally committed as revision 13360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:34 +00:00
Vitor Sessak 64fbf5e263 One more memory leak
Commited in SoC by Vitor Sessak on 2008-05-24 17:18:03

Originally committed as revision 13359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:32 +00:00
Vitor Sessak 4d11beb293 Cosmetical: move statement
Commited in SoC by Vitor Sessak on 2008-05-24 17:17:19

Originally committed as revision 13358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:29 +00:00
Vitor Sessak 64b164f44a Plug some memory leaks
Commited in SoC by Vitor Sessak on 2008-05-24 17:15:18

Originally committed as revision 13357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:26 +00:00
Vitor Sessak 90ed076ce3 Merge variable initialization and declaration
Commited in SoC by Vitor Sessak on 2008-05-24 17:01:01

Originally committed as revision 13356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:24 +00:00
Vitor Sessak c185fc5d72 Cosmetics
Commited in SoC by Vitor Sessak on 2008-05-24 17:00:23

Originally committed as revision 13355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:21 +00:00
Vitor Sessak 5b31015a7f Remove unnused var
Commited in SoC by Vitor Sessak on 2008-05-24 16:58:58

Originally committed as revision 13354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:18 +00:00
Vitor Sessak c880791fc1 Simplify
Commited in SoC by Vitor Sessak on 2008-05-24 16:55:47

Originally committed as revision 13353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:16 +00:00
Vitor Sessak c956dd431f Use av_mallocz instead of av_malloc to simplify some code
Commited in SoC by Vitor Sessak on 2008-05-24 16:53:33

Originally committed as revision 13352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:11 +00:00
Vitor Sessak e97908ee70 Factor linked list insertion in its own function
Commited in SoC by Vitor Sessak on 2008-05-24 13:33:17

Originally committed as revision 13351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:09 +00:00
Vitor Sessak c658f47eff Remove comment redundant with those in graphparser.h
Commited in SoC by Vitor Sessak on 2008-05-24 13:10:07

Originally committed as revision 13350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:04 +00:00
Vitor Sessak 089d371450 These error messages should print the filter name, not the instance name
Commited in SoC by Vitor Sessak on 2008-05-24 13:08:23

Originally committed as revision 13349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:00 +00:00
Vitor Sessak 12849837d4 10l: fix previous commit
Commited in SoC by Vitor Sessak on 2008-05-24 13:06:05

Originally committed as revision 13348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:57 +00:00
Vitor Sessak ba3fed2fc2 Simplify
Commited in SoC by Vitor Sessak on 2008-05-24 13:05:30

Originally committed as revision 13347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:54 +00:00
Vitor Sessak 98fb286b60 Remove senseless comments
Commited in SoC by Vitor Sessak on 2008-05-24 13:03:51

Originally committed as revision 13346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:51 +00:00
Vitor Sessak 5e60018545 Cosmetics: split setting a var and checking for error
Commited in SoC by Vitor Sessak on 2008-05-24 13:03:07

Originally committed as revision 13345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:48 +00:00
Vitor Sessak 69fa7e80c2 Fix doxy comment
Commited in SoC by Vitor Sessak on 2008-05-24 12:57:58

Originally committed as revision 13344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:45 +00:00
Vitor Sessak bd80b349b3 Make parse_link_name() return a pointer to the name read
Commited in SoC by Vitor Sessak on 2008-05-24 12:57:20

Originally committed as revision 13343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:42 +00:00
Vitor Sessak f5cbde2ee1 Cosmetics: more function reordering
Commited in SoC by Vitor Sessak on 2008-05-24 12:53:28

Originally committed as revision 13342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:38 +00:00
Vitor Sessak d424e138d1 Make consume_whitespace() return a number of bytes to be skiped
Commited in SoC by Vitor Sessak on 2008-05-24 12:50:32

Originally committed as revision 13341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:36 +00:00
Vitor Sessak 8e74c889bc Cosmetics: change function order
Commited in SoC by Vitor Sessak on 2008-05-24 12:46:27

Originally committed as revision 13340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:34 +00:00