Commit Graph

467 Commits

Author SHA1 Message Date
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
Vitor Sessak 74c2f1fbcb Simplify
Commited in SoC by Vitor Sessak on 2008-04-23 20:46:17

Originally committed as revision 13339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:31 +00:00
Vitor Sessak 6a0c770b21 Pass the inputs and outputs of avfilter_parse_graph() with a AVFilterInOut linked list
Commited in SoC by Vitor Sessak on 2008-04-23 20:40:49

Originally committed as revision 13338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:27 +00:00
Vitor Sessak d835680e3c Cosmetics: more indentation consistency
Commited in SoC by Vitor Sessak on 2008-04-23 19:24:23

Originally committed as revision 13337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:25 +00:00
Vitor Sessak 487c0e6700 More cosmetics: make indentation more consistent
Commited in SoC by Vitor Sessak on 2008-04-23 19:14:08

Originally committed as revision 13336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:22 +00:00
Vitor Sessak d9d086d901 More cosmetics
Commited in SoC by Vitor Sessak on 2008-04-23 19:13:06

Originally committed as revision 13335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:19 +00:00
Vitor Sessak eee68d96d4 Move code out of if
Commited in SoC by Vitor Sessak on 2008-04-23 19:05:32

Originally committed as revision 13334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:16 +00:00
Vitor Sessak 67ba10fe56 Cosmetics
Commited in SoC by Vitor Sessak on 2008-04-23 19:00:50

Originally committed as revision 13333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:13 +00:00
Vitor Sessak f6557d5e33 Cosmetics
Commited in SoC by Vitor Sessak on 2008-04-23 18:52:24

Originally committed as revision 13332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:11 +00:00
Vitor Sessak 443c10ef2b Factor common code out of if
Commited in SoC by Vitor Sessak on 2008-04-23 18:41:07

Originally committed as revision 13331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:09 +00:00
Vitor Sessak 7baa62108a Rename another var
Commited in SoC by Vitor Sessak on 2008-04-23 18:39:42

Originally committed as revision 13330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:06 +00:00
Vitor Sessak b2ac16dab9 Rename var
Commited in SoC by Vitor Sessak on 2008-04-23 18:37:42

Originally committed as revision 13329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:03 +00:00
Vitor Sessak eece0cb089 Move var declaration to where it is needed
Commited in SoC by Vitor Sessak on 2008-04-23 18:36:26

Originally committed as revision 13328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:01 +00:00
Vitor Sessak 0de3407b8f Replace if(!a){B}else{C} by if(a){C}else{B}
Commited in SoC by Vitor Sessak on 2008-04-23 18:24:46

Originally committed as revision 13327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:58 +00:00
Vitor Sessak 4d08be028d Remove useless assignment
Commited in SoC by Vitor Sessak on 2008-04-23 18:15:23

Originally committed as revision 13326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:55 +00:00
Vitor Sessak 4fd9d074d8 Simplify while(pad){pad--; etc} to while(pad--){etc}
Commited in SoC by Vitor Sessak on 2008-04-23 18:03:27

Originally committed as revision 13325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:51 +00:00
Vitor Sessak fec2e51385 Simplify extract_inout() as suggested by Michael
Commited in SoC by Vitor Sessak on 2008-04-23 18:01:31

Originally committed as revision 13324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:44 +00:00
Vitor Sessak c9987633b1 Change the parser logic following Michael's review
Commited in SoC by Vitor Sessak on 2008-04-21 18:45:01

Originally committed as revision 13323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:40 +00:00
Vitor Sessak 498f030583 The name field of AVFilterInOut can be declared const
Commited in SoC by Vitor Sessak on 2008-04-21 18:42:11

Originally committed as revision 13322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:37 +00:00
Vitor Sessak dbec351d9f A semi-colon is also a string end
Commited in SoC by Vitor Sessak on 2008-04-21 18:40:05

Originally committed as revision 13321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:35 +00:00
Vitor Sessak dd8e311e70 10l: Missed that in one of the last commits
Commited in SoC by Vitor Sessak on 2008-04-21 18:39:38

Originally committed as revision 13320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:32 +00:00
Vitor Sessak cf4f7d38d0 Move code from handle_link() to the only place the function is called
Commited in SoC by Vitor Sessak on 2008-04-18 18:18:35

Originally committed as revision 13319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:30 +00:00
Vitor Sessak 5cb9c725f2 Simplify
Commited in SoC by Vitor Sessak on 2008-04-18 17:57:42

Originally committed as revision 13318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:26 +00:00
Vitor Sessak 3a70bb2d76 Use a user-provided context for av_log()
Commited in SoC by Vitor Sessak on 2008-04-12 14:33:41

Originally committed as revision 13317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:22 +00:00
Vitor Sessak 7693be9232 Improve error handling
Commited in SoC by Vitor Sessak on 2008-04-12 14:32:13

Originally committed as revision 13316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:20 +00:00
Vitor Sessak a4501887e4 Cosmetics
Commited in SoC by Vitor Sessak on 2008-04-12 14:28:40

Originally committed as revision 13315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:17 +00:00
Vitor Sessak e84f0b6287 Better error handling
Commited in SoC by Vitor Sessak on 2008-04-12 14:28:30

Originally committed as revision 13314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:14 +00:00
Vitor Sessak 85cb8af7a3 Simplify
Commited in SoC by Vitor Sessak on 2008-04-12 14:16:34

Originally committed as revision 13313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:10 +00:00
Vitor Sessak 2b7defc7bb Link filters in the same pass as the parser
Commited in SoC by Vitor Sessak on 2008-04-12 14:12:56

Originally committed as revision 13312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:08 +00:00
Vitor Sessak a59a773413 Cosmetics: if(x != NULL) -> if(x)
Commited in SoC by Vitor Sessak on 2008-04-12 14:11:19

Originally committed as revision 13311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:03 +00:00
Vitor Sessak 8095a014a0 Even more improvements on whitespaces handling
Commited in SoC by Vitor Sessak on 2008-04-12 10:37:15

Originally committed as revision 13310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:01 +00:00
Vitor Sessak 7a57c8d9ad More improvements on the handling of whitespaces
Commited in SoC by Vitor Sessak on 2008-04-12 10:34:48

Originally committed as revision 13309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:57 +00:00
Vitor Sessak a78f2ccdd6 Proper handling of trailing whitespaces
Commited in SoC by Vitor Sessak on 2008-04-10 21:29:33

Originally committed as revision 13308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:55 +00:00
Vitor Sessak a64821f4e5 Remove unneeded var
Commited in SoC by Vitor Sessak on 2008-04-10 21:26:45

Originally committed as revision 13307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:51 +00:00
Vitor Sessak 89475efd26 Cosmetics: alignment
Commited in SoC by Vitor Sessak on 2008-04-10 21:10:06

Originally committed as revision 13306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:48 +00:00
Vitor Sessak 03cea46194 Make two variables const
Commited in SoC by Vitor Sessak on 2008-04-10 21:06:35

Originally committed as revision 13305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:45 +00:00
Vitor Sessak 22260824c0 Better error messages
Commited in SoC by Vitor Sessak on 2008-04-10 18:35:09

Originally committed as revision 13304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:42 +00:00
Vitor Sessak 325cb1efb2 More simplifying
Commited in SoC by Vitor Sessak on 2008-04-10 18:26:40

Originally committed as revision 13303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:39 +00:00
Vitor Sessak a3acd1d9da Simplify
Commited in SoC by Vitor Sessak on 2008-04-10 16:51:23

Originally committed as revision 13302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:36 +00:00
Vitor Sessak 55672c8368 Merge declaration and initialization
Commited in SoC by Vitor Sessak on 2008-04-10 16:46:33

Originally committed as revision 13301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:34 +00:00
Vitor Sessak 2839ff5e2f Cosmetics
Commited in SoC by Vitor Sessak on 2008-04-10 16:41:47

Originally committed as revision 13300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:32 +00:00
Vitor Sessak ffac8784d6 Update comments to new syntax
Commited in SoC by Vitor Sessak on 2008-04-10 16:40:03

Originally committed as revision 13299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:29 +00:00
Vitor Sessak 2255026d53 10l: Forgot to consider the null byte at the end of the string when alloc'ing
Commited in SoC by Vitor Sessak on 2008-04-10 16:39:07

Originally committed as revision 13298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:26 +00:00
Vitor Sessak d7ff229718 Use '[' and ']' for label naming
Commited in SoC by Vitor Sessak on 2008-04-06 19:02:56

Originally committed as revision 13297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:22 +00:00
Vitor Sessak 92973a04f0 Rename avfilter_graph_parse_chain() to avfilter_parse_graph()
Commited in SoC by Vitor Sessak on 2008-04-06 18:58:17

Originally committed as revision 13296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:19 +00:00
Vitor Sessak 37161d641e Rename AVFilterInOut.instance to AVFilterInOut.filter
Commited in SoC by Vitor Sessak on 2008-04-06 18:45:08

Originally committed as revision 13295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:16 +00:00
Vitor Sessak da790674c5 Cosmetics
Commited in SoC by Vitor Sessak on 2008-04-06 18:43:29

Originally committed as revision 13294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:14 +00:00
Vitor Sessak 93b7a0f68d Simplify consume_string() as Michael suggested
Commited in SoC by Vitor Sessak on 2008-04-06 18:43:02

Originally committed as revision 13293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:12 +00:00
Vitor Sessak 5b2bb2c906 Simplify
Commited in SoC by Vitor Sessak on 2008-04-06 18:20:25

Originally committed as revision 13292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:09 +00:00
Vitor Sessak 58a2d7a5c2 Better instance name for parsed filters
Commited in SoC by Vitor Sessak on 2008-04-06 18:19:09

Originally committed as revision 13291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:05 +00:00
Vitor Sessak ee75692a5f Use link_filter() instead avfilter_link() when clearer
Commited in SoC by Vitor Sessak on 2008-04-06 18:17:29

Originally committed as revision 13290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:03 +00:00
Vitor Sessak 9710beaf14 Avoid searching by instance name when it is not necessary
Commited in SoC by Vitor Sessak on 2008-04-06 18:00:58

Originally committed as revision 13289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:38:25 +00:00
Vitor Sessak 27a669ab00 Better error messages
Commited in SoC by Vitor Sessak on 2008-04-06 11:09:29

Originally committed as revision 13288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:38:23 +00:00
Vitor Sessak 046f49baa2 Handle av_realloc() failure
Commited in SoC by Vitor Sessak on 2008-04-04 15:35:38

Originally committed as revision 13287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:38:15 +00:00
Vitor Sessak f0703f5d94 Last commit was missing header file
Originally committed as revision 13286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:38:01 +00:00
Vitor Sessak 27afb09d51 I should not have merged the graph parser with the graph
framework. Split it.

Commited in SoC by Vitor Sessak on 2008-04-03 16:29:07

Originally committed as revision 13285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:35:43 +00:00
Diego Biurrun 245976da2a Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Måns Rullgård 71c61f62a3 non-recursive makefiles
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 21:16:31 +00:00
Vitor Sessak 4e4a3e2314 Handle av_realloc() failure
Commited in SoC by Vitor Sessak on 2008-04-04 15:35:38

Originally committed as revision 12754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:47 +00:00
Vitor Sessak 51bf654d79 Use sizeof(var) instead of sizeof(type)
Commited in SoC by Vitor Sessak on 2008-04-03 19:53:18

Originally committed as revision 12753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:45 +00:00
Vitor Sessak a6f88fbc8f Give a more meaningful instance name to auto-inserted scaler
Commited in SoC by Vitor Sessak on 2008-04-03 16:51:39

Originally committed as revision 12752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:42 +00:00
Vitor Sessak 779cc07aa2 Merge two ifs
Commited in SoC by Vitor Sessak on 2008-04-03 16:44:27

Originally committed as revision 12751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:40 +00:00
Vitor Sessak e1a43a4146 Remove unused check
Commited in SoC by Vitor Sessak on 2008-04-03 16:38:51

Originally committed as revision 12750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:38 +00:00
Vitor Sessak a10477173a Cosmetical: alignment
Commited in SoC by Vitor Sessak on 2008-04-03 16:36:13

Originally committed as revision 12749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:35 +00:00
Vitor Sessak 2ad720679c Remove some unwanted todos
Commited in SoC by Vitor Sessak on 2008-04-03 16:32:37

Originally committed as revision 12748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:32 +00:00
Vitor Sessak 10bff7139a Remove declaration of nonexisting function
Commited in SoC by Vitor Sessak on 2008-04-03 16:30:09

Originally committed as revision 12747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:29 +00:00
Vitor Sessak d2027baac5 I should not have merged the graph parser with the graph
framework. Split it.

Commited in SoC by Vitor Sessak on 2008-04-03 16:29:07

Originally committed as revision 12746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:27 +00:00
Vitor Sessak 966b8f2dcb Replace consume_char() function by *(*buf)++
Commited in SoC by Vitor Sessak on 2008-03-30 15:46:38

Originally committed as revision 12745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:23 +00:00
Vitor Sessak 4f409baa06 Add backslash '\' support to the parser
Commited in SoC by Vitor Sessak on 2008-03-29 16:26:47

Originally committed as revision 12744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:20 +00:00
Vitor Sessak 398f12970f Remove AVFilterGraphDesc struct.
Now the parser link the filters from the graph directly
with avfilter_link().

Commited in SoC by Vitor Sessak on 2008-03-29 15:12:47

Originally committed as revision 12743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:17 +00:00
Vitor Sessak c4913b812d Rename uninit() to avfilter_destroy_graph() and make it non-static
Commited in SoC by Vitor Sessak on 2008-03-27 19:34:24

Originally committed as revision 12742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:14 +00:00
Vitor Sessak d66e946b12 Rename functions now static
Commited in SoC by Vitor Sessak on 2008-03-26 21:06:01

Originally committed as revision 12741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:11 +00:00
Vitor Sessak de0e3e81d3 Move funtion to avoid forward declaration
Commited in SoC by Vitor Sessak on 2008-03-26 20:57:17

Originally committed as revision 12740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:08 +00:00
Vitor Sessak 0c3177737b Move mess (to be removed) to where it is actually used.
Commited in SoC by Vitor Sessak on 2008-03-26 20:56:05

Originally committed as revision 12739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:06 +00:00
Vitor Sessak 87506daafd Remove usage of AVFilterGraphDesc outside avfiltergraph.c
Commited in SoC by Vitor Sessak on 2008-03-26 20:51:24

Originally committed as revision 12738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:02 +00:00
Vitor Sessak 58f472d10f Simplify graph_load_from_desc3()
Commited in SoC by Vitor Sessak on 2008-03-26 20:37:43

Originally committed as revision 12737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:59 +00:00
Vitor Sessak 9f39bb37e4 Rename variable GraphContext -> AVFilterGraph
Commited in SoC by Vitor Sessak on 2008-03-26 20:31:53

Originally committed as revision 12736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:56 +00:00
Vitor Sessak 5c2ff9fd46 Merge avfiltergraphdesc.c in avfiltergraph.c
Commited in SoC by Vitor Sessak on 2008-03-24 20:46:50

Originally committed as revision 12735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:52 +00:00
Vitor Sessak f2ee8083c8 Remove avfilter_vf_graph
Commited in SoC by Vitor Sessak on 2008-03-24 20:13:01

Originally committed as revision 12734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:49 +00:00
Vitor Sessak 7264695fe1 Remove more leftovers from the old parser
Commited in SoC by Vitor Sessak on 2008-03-24 19:58:44

Originally committed as revision 12733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:46 +00:00
Vitor Sessak 4160400d04 Remove code made unused by the two last patches
Commited in SoC by Vitor Sessak on 2008-03-24 19:29:15

Originally committed as revision 12732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:44 +00:00
Vitor Sessak 45a09319b2 Split graph_load_from_dest() to have a version independent of avfilter_vf_graph
Commited in SoC by Vitor Sessak on 2008-03-24 19:19:38

Originally committed as revision 12731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:40 +00:00
Vitor Sessak b6be4acc1f Remove declaration of non-existing functions
Commited in SoC by Vitor Sessak on 2008-03-24 19:11:27

Originally committed as revision 12730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:37 +00:00
Vitor Sessak 789210fa22 Almost from scratch rewrite of filter parser.
Functional as is, but still work-in-progress in the
sense that some things need to be fixed before sending
it as a patch to SVN.

Commited in SoC by Vitor Sessak on 2008-03-20 21:48:30

Originally committed as revision 12729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:34 +00:00
Vitor Sessak 3ec394ea82 Remove ugly forward declaration
Commited in SoC by Vitor Sessak on 2008-02-24 11:41:22

Originally committed as revision 12728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:31 +00:00
Vitor Sessak de065016f0 Fix doxy comment
Commited in SoC by Vitor Sessak on 2008-02-24 11:30:41

Originally committed as revision 12727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:28 +00:00
Vitor Sessak 177ff26052 Spelling and puctuation
Commited in SoC by Vitor Sessak on 2008-02-16 17:52:49

Originally committed as revision 12726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:26 +00:00
Vitor Sessak c7330a90ef Make comment match code
Commited in SoC by Vitor Sessak on 2008-02-16 17:48:31

Originally committed as revision 12725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:22 +00:00
Vitor Sessak 25a0d98074 Make multiple inclusion guard adhere to convention
Commited in SoC by Vitor Sessak on 2008-02-16 17:48:09

Originally committed as revision 12724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:19 +00:00
Vitor Sessak 4dae572fff Remove header now made useless
Commited in SoC by Vitor Sessak on 2008-02-12 20:59:51

Originally committed as revision 12723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:16 +00:00
Vitor Sessak 9958f07a81 Remove author field
Suggested by Baptiste Coudurier

Commited in SoC by Vitor Sessak on 2008-02-11 19:56:27

Originally committed as revision 12722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:13 +00:00
Vitor Sessak 2b05243960 Use CodecType for pad type
Commited in SoC by Vitor Sessak on 2008-02-10 20:41:57

Originally committed as revision 12721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:10 +00:00
Vitor Sessak d42927893b Header inclusion redux
Commited in SoC by Vitor Sessak on 2008-02-10 08:46:50

Originally committed as revision 12720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:07 +00:00
Vitor Sessak ec8398a322 Nits: more punctuation and capitalization
Commited in SoC by Vitor Sessak on 2008-02-09 20:02:29

Originally committed as revision 12719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:05 +00:00
Vitor Sessak affadb5b99 Implement poll_frame() method. Fix ffmpeg.c bug with
vf_fps filter.

Commited in SoC by Vitor Sessak on 2008-02-06 19:55:36

Originally committed as revision 12718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:02 +00:00
Vitor Sessak 095ae1bcb7 Rework link property configuration system.
This can now handle filters which are added to graphs out of order,
including auto-inserted scale filters.  As an added bonus, it can
now detect circular filter chains which wouldn't work anyway.

Commited in SoC by Bobby Bingham on 2007-12-24 03:22:10

Originally committed as revision 12717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:59 +00:00
Vitor Sessak f3f42a3c51 Use separate fake filters for exporting inputs and outputs from filter graphs.
This makes the code a little less confusing, and is needed for the patch to
improve the link configuration process, to be committed next.

Commited in SoC by Bobby Bingham on 2007-12-24 02:53:56

Originally committed as revision 12716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:56 +00:00
Vitor Sessak d22ebb1b98 Use a filter graph description for creating simple chain graphs so we
can reuse the same graph creation code.

Commited in SoC by Bobby Bingham on 2007-12-22 19:13:04

Originally committed as revision 12715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:54 +00:00
Vitor Sessak 16db7fe0ac Make filter graph description parsing code independent of the code to
read said description from a file.

Commited in SoC by Bobby Bingham on 2007-12-22 17:16:21

Originally committed as revision 12714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:50 +00:00
Vitor Sessak 1df675bf44 Use av_log(ctx, ...) instead of av_log(NULL, ...)
Commited in SoC by Vitor Sessak on 2007-12-21 11:10:29

Originally committed as revision 12713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:47 +00:00
Vitor Sessak de5985b69f 10l
Commited in SoC by Bobby Bingham on 2007-12-20 20:21:19

Originally committed as revision 12712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:44 +00:00
Vitor Sessak 7b4708780c Rewrite colorspace negotiation.
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26

Originally committed as revision 12711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:41 +00:00
Vitor Sessak 8af6261c27 Fix a small memory leak
Commited in SoC by Bobby Bingham on 2007-12-20 19:30:34

Originally committed as revision 12710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:39 +00:00
Vitor Sessak 54d7fcc120 initialize filter graphs completely even if there is no list of filters
given to initially load.

Commited in SoC by Bobby Bingham on 2007-12-20 16:50:45

Originally committed as revision 12709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:37 +00:00
Vitor Sessak 5a7414f3ca Handle failure properly
Commited in SoC by Vitor Sessak on 2007-11-29 19:35:17

Originally committed as revision 12708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:34 +00:00
Vitor Sessak 6c66596eed Remove useless empty functions
Commited in SoC by Vitor Sessak on 2007-11-04 17:20:17

Originally committed as revision 12707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:31 +00:00
Vitor Sessak 9eb36c05df Silence warning caused by my last commit
Commited in SoC by Vitor Sessak on 2007-10-30 21:15:19

Originally committed as revision 12706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:29 +00:00
Vitor Sessak 5a1dacda9d Minor simplification
Commited in SoC by Vitor Sessak on 2007-10-30 21:11:34

Originally committed as revision 12705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:17 +00:00