Commit Graph

13288 Commits

Author SHA1 Message Date
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
Vitor Sessak 6ea1446466 Prefix names of filter structs
Commited in SoC by Bobby Bingham on 2007-08-18 18:17:30

Originally committed as revision 12704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:54 +00:00
Vitor Sessak d1633ac695 Rename avfilter_create to avfilter_open and remove the wrapper function
avfilter_create_by_name.

Commited in SoC by Bobby Bingham on 2007-08-17 23:39:55

Originally committed as revision 12703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:47 +00:00
Vitor Sessak 66d9e9be50 Doxygenize some comments
Commited in SoC by Bobby Bingham on 2007-08-17 22:59:59

Originally committed as revision 12702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:45 +00:00
Vitor Sessak 5ded633e07 Remove the data parameter from draw_slice(). It's unneeded and often more
work than it's worth.

Commited in SoC by Bobby Bingham on 2007-08-17 14:39:11

Originally committed as revision 12701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:42 +00:00
Vitor Sessak 57d4a1575c Allow creation of filter graphs from a graph description structure which
can be created programmatically or loaded from a file.

Commited in SoC by Bobby Bingham on 2007-08-14 22:27:05

Originally committed as revision 12700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:37 +00:00
Vitor Sessak 1d2067e2c7 Let request_frame() indicate success or failure
Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36

Originally committed as revision 12699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:34 +00:00
Vitor Sessak 81c25293c8 Need to copy over colorspace property too
Commited in SoC by Bobby Bingham on 2007-08-08 05:39:40

Originally committed as revision 12698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:31 +00:00
Vitor Sessak 7b712850d2 Fix behavior when exporting output pad with default query_formats()
Commited in SoC by Bobby Bingham on 2007-08-08 04:25:08

Originally committed as revision 12697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:28 +00:00
Vitor Sessak 7f8fb52f06 Let the filter graph export input and output pads from the filters it contains.
Commited in SoC by Bobby Bingham on 2007-08-07 22:33:46

Originally committed as revision 12696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:25 +00:00
Vitor Sessak 256d0e0a72 Separate the process of creating links between filters from that of configuring
the links.

Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18

Originally committed as revision 12695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:22 +00:00
Vitor Sessak 1deec58ba3 Fix memory leak.
Commited in SoC by Bobby Bingham on 2007-07-31 20:11:25

Originally committed as revision 12694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:19 +00:00
Vitor Sessak b9a7a65ab4 Make the filter graph just another normal filter.
Commited in SoC by Bobby Bingham on 2007-07-31 20:08:38

Originally committed as revision 12693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:17 +00:00
Vitor Sessak 1ac87cc890 Allow code to pass data to filters it creates.
Commited in SoC by Bobby Bingham on 2007-07-15 16:45:50

Originally committed as revision 12692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:13 +00:00
Vitor Sessak fc27b8081e Don't mangle the input strings. The caller may want to reuse it later.
Commited in SoC by Bobby Bingham on 2007-07-15 16:13:17

Originally committed as revision 12691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:10 +00:00
Vitor Sessak 65a4bd9c9e Ensure that the filter_count member is reset to zero when emptying the graph
Commited in SoC by Bobby Bingham on 2007-07-14 23:19:22

Originally committed as revision 12690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:05:01 +00:00
Vitor Sessak ba56640c30 Fix possible segfault
Commited in SoC by Bobby Bingham on 2007-07-14 23:16:15

Originally committed as revision 12689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:04:58 +00:00
Vitor Sessak f8c77c823c Move simple filter chain loading code over to the filter graph.
Commited in SoC by Bobby Bingham on 2007-07-14 22:26:37

Originally committed as revision 12688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:04:55 +00:00
Vitor Sessak ffcaef3485 Move destruction of the graph's filters to its own helper function.
Commited in SoC by Bobby Bingham on 2007-07-14 21:41:34

Originally committed as revision 12687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:03:33 +00:00
Vitor Sessak eccb6fb7ce Split filter graphs out into their own source & header files.
Commited in SoC by Bobby Bingham on 2007-07-14 21:20:21

Originally committed as revision 12686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:02:10 +00:00
Baptiste Coudurier b64518e91b special mpeg2 handling is no more needed
Originally committed as revision 12685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 09:55:31 +00:00
Michael Niedermayer 39e9e6d940 Disable the split function. This should end the mpeg1/2 global header issues.
Originally committed as revision 12684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 00:43:34 +00:00
Måns Rullgård b8fcb619e9 simplify LDFLAGS and EXTRALIBS handling
Originally committed as revision 12683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 23:51:29 +00:00
Måns Rullgård 82e8566a02 simplify vhook/*.o rule
Originally committed as revision 12682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:47:01 +00:00
Måns Rullgård 43527e3edd clean up DEP_LIBS setting
Originally committed as revision 12681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:39:54 +00:00
Måns Rullgård 9006f5d0b1 replace some $@ with $(SLIBNAME_WITH_MAJOR) in SHFLAGS
Originally committed as revision 12680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:29:23 +00:00
Luca Barbato 18ec046026 Error message for EPROTONOSUPPORT, patch from prossATxvidDoTorg
Originally committed as revision 12679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:16:34 +00:00
Luca Barbato 5ee0e1395d use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg
Originally committed as revision 12678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:15:16 +00:00
Michael Niedermayer ed0d3048c0 Merge declaratio and initialization.
Originally committed as revision 12677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 19:20:32 +00:00
Michael Niedermayer 11362767b8 Merge declaration and initialization.
Originally committed as revision 12676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 19:18:14 +00:00
Michael Niedermayer 9b7ca3b71d Decode stuff from extradata as well.
Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 18:28:16 +00:00
Michael Niedermayer 7f8ef97534 Factorize code a little.
Originally committed as revision 12674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 18:25:07 +00:00
Diego Biurrun 60080b0805 10l typo, restore forgotten $.
Originally committed as revision 12673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 16:57:01 +00:00
Michael Niedermayer a27c8d5fa9 Improve AVFilterFormats doxy.
Originally committed as revision 12672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 22:07:21 +00:00
Aurelien Jacobs 7bfacd4e75 use common aac sample rate tables
Originally committed as revision 12671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 21:41:48 +00:00
Diego Biurrun b2fec0fc25 Remove unused variable.
Originally committed as revision 12670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 19:03:59 +00:00
Michael Niedermayer b885e0dbe6 Add a point to the checklist about checking new demuxers/decoders
against damaged input.

Originally committed as revision 12669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 18:58:41 +00:00
Jai Menon d299be08ee Add IFF demuxer and 8SVX audio decoder to changelog and documentation.
patch by Jai Menon, realityman gmx net

Originally committed as revision 12668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 18:19:43 +00:00