Commit Graph

92 Commits

Author SHA1 Message Date
Vitor Sessak ce657d80cc Simplify
Commited in SoC by Vitor Sessak on 2008-02-11 17:35:13

Originally committed as revision 12056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:35 +00:00
Vitor Sessak c245ddf23f Indent after last commit
Commited in SoC by Vitor Sessak on 2008-02-11 17:29:12

Originally committed as revision 12055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:31 +00:00
Vitor Sessak c48e31aef9 Remove unneded else
Commited in SoC by Vitor Sessak on 2008-02-11 17:18:16

Originally committed as revision 12054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:28 +00:00
Vitor Sessak a5b5d95a70 Cosmetical: indentation
Commited in SoC by Vitor Sessak on 2008-02-11 17:17:15

Originally committed as revision 12053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:23 +00:00
Vitor Sessak b3431ecde2 Nit: Alignment
Commited in SoC by Vitor Sessak on 2008-02-11 17:16:35

Originally committed as revision 12052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:19 +00:00
Vitor Sessak d9b575d384 Remove useless ()
Commited in SoC by Vitor Sessak on 2008-02-11 17:16:05

Originally committed as revision 12051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:15 +00:00
Vitor Sessak 7a9fd2a03c Do not always fail for circular filter chains
Commited in SoC by Vitor Sessak on 2008-02-10 16:52:54

Originally committed as revision 12050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:11 +00:00
Vitor Sessak 5b7c403353 Remove unused var (dead code leftover?).
Commited in SoC by Vitor Sessak on 2008-02-10 09:55:55

Originally committed as revision 12049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:08 +00:00
Vitor Sessak ac8a116e87 Avoid link_dpad() overuse in avfilter_start_frame()
Commited in SoC by Vitor Sessak on 2008-02-10 09:53:00

Originally committed as revision 12048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:03 +00:00
Vitor Sessak 2c5741b857 Add context to av_log()
Commited in SoC by Vitor Sessak on 2008-02-10 09:05:39

Originally committed as revision 12047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:59 +00:00
Vitor Sessak 19dc71045d Merge loops
Commited in SoC by Vitor Sessak on 2008-02-10 09:01:31

Originally committed as revision 12046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:55 +00:00
Vitor Sessak e079d22ea2 Coding style changes
Commited in SoC by Vitor Sessak on 2008-02-09 23:43:45

Originally committed as revision 12045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:46 +00:00
Vitor Sessak 02e9479717 Remove unneded headers
Commited in SoC by Vitor Sessak on 2008-02-09 23:35:19

Originally committed as revision 12044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:43 +00:00
Vitor Sessak 16790dc3ae Nits: more punctuation and capitalization
Commited in SoC by Vitor Sessak on 2008-02-09 20:02:29

Originally committed as revision 12043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:40 +00:00
Vitor Sessak be36bc0950 Move setting the pts of the copied frame to a more adequated place.
Suggested by Bobby Bingham.

Commited in SoC by Vitor Sessak on 2008-02-09 16:56:55

Originally committed as revision 12042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:36 +00:00
Vitor Sessak 05decb00cb Add const to silence warnings
Commited in SoC by Vitor Sessak on 2008-02-09 15:59:47

Originally committed as revision 12041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:33 +00:00
Vitor Sessak 35db407eb2 The filter framework as is hangs with filters that
modify the input buffer, even if it asks for the right
permission. This is a fix for that.
See "Box blurring with libavfilter" thread in libav-user.

Commited in SoC by Vitor Sessak on 2008-02-09 11:03:35

Originally committed as revision 12040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:30 +00:00
Vitor Sessak 7b02c484eb 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 12039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:26 +00:00
Vitor Sessak b62966c02e Add movie file video source filter.
Commited in SoC by  on 2008-01-31 20:55:50

Originally committed as revision 12038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:23 +00:00
Vitor Sessak 0970ec6ae0 Presentation timestamp (PTS) modification filter
Commited in SoC by  on 2008-01-12 00:35:29

Originally committed as revision 12037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:20 +00:00
Vitor Sessak be69699067 Rename filter
Commited in SoC by Vitor Sessak on 2008-01-06 17:03:21

Originally committed as revision 12036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:06 +00:00
Vitor Sessak 0715e6d598 90 degrees counter-clockwise rotation filter
Commited in SoC by Vitor Sessak on 2008-01-06 13:19:12

Originally committed as revision 12035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:02 +00:00
Vitor Sessak e946c25a2f Add an equivalent to the mplayer format filter
Commited in SoC by Bobby Bingham on 2007-12-24 21:53:10

Originally committed as revision 12034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:55 +00:00
Vitor Sessak cc0bb5a160 Change the passthrough filter to a noformat filter. It's now similar to
the mplayer noformat filter except that the default behavior if no formats
are specified is to allow allow all formats (ie. virtually the same as the
old passthrough behavior)

Commited in SoC by Bobby Bingham on 2007-12-24 21:42:56

Originally committed as revision 12033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:51 +00:00
Vitor Sessak 2fd46877f8 Indentation
Commited in SoC by Bobby Bingham on 2007-12-24 03:24:26

Originally committed as revision 12032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:47 +00:00
Vitor Sessak 698181056d 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 12031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:41 +00:00
Vitor Sessak c35a047373 Add horizontal flip filter.
Commited in SoC by  on 2007-12-21 09:21:29

Originally committed as revision 12030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:36 +00:00
Vitor Sessak e3065c8b59 Need to be careful when dealing with references.
Commited in SoC by Bobby Bingham on 2007-12-20 23:38:49

Originally committed as revision 12029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:32 +00:00
Vitor Sessak 07d0bba507 When inserting a filter, don't lose any information we may already have
about the colorspaces supported across the link.

Commited in SoC by Bobby Bingham on 2007-12-20 20:47:11

Originally committed as revision 12028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:28 +00:00
Vitor Sessak 75ce65468f Rewrite colorspace negotiation.
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26

Originally committed as revision 12027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:24 +00:00
Vitor Sessak 52362e9dc1 Make filter auto-insertion code its own function.
Commited in SoC by Bobby Bingham on 2007-11-04 22:03:14

Originally committed as revision 12026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:19 +00:00
Vitor Sessak 4ea0ab3c39 Remove no-longer accurate comment
Commited in SoC by Bobby Bingham on 2007-11-04 21:21:25

Originally committed as revision 12025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:16 +00:00
Vitor Sessak 8f618f4c04 Check for error so that
avfilter_open(av_filter_get_by_name(...etc...)) fails
gracefully.

Commited in SoC by Vitor Sessak on 2007-10-29 16:00:27

Originally committed as revision 12024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:12 +00:00
Vitor Sessak 4d7c9be36d Remove dummy and ppm filters which were only for testing.
Remove rgb2bgr filter now that there is a proper colorspace conversion filter.

Commited in SoC by Bobby Bingham on 2007-08-20 18:01:34

Originally committed as revision 12023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:05 +00:00
Vitor Sessak f9033975fc Image negating filter
Commited in SoC by Bobby Bingham on 2007-08-20 05:27:17

Originally committed as revision 12022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:02 +00:00
Vitor Sessak d21cbbff0b Auto insert scale filter to convert colrospaces when needed
Commited in SoC by Bobby Bingham on 2007-08-20 05:24:57

Originally committed as revision 12021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:58 +00:00
Vitor Sessak 2a553ef529 Add scale/colorspace conversion filter
Commited in SoC by Bobby Bingham on 2007-08-19 17:35:59

Originally committed as revision 12020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:52 +00:00
Vitor Sessak 7bce27a3a3 Prefix names of filter structs
Commited in SoC by Bobby Bingham on 2007-08-18 18:17:30

Originally committed as revision 12019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:48 +00:00
Vitor Sessak dd299c681f Rename "buffer" filter to "fifo"
Commited in SoC by Bobby Bingham on 2007-08-18 16:40:31

Originally committed as revision 12018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:45 +00:00
Vitor Sessak 8179953777 Add a filter to output the same video to two outputs
Commited in SoC by Bobby Bingham on 2007-08-18 03:38:40

Originally committed as revision 12017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:40 +00:00
Vitor Sessak 0838e7316b Add a filter to act as a buffer between filters which may output multiple
frames for a single call to request_filter(), and a following filter which
assumes it will only receive one frame per call.

Commited in SoC by Bobby Bingham on 2007-08-18 03:17:52

Originally committed as revision 12016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:35 +00:00
Vitor Sessak f4cb446216 Use av_freep instead of av_free
Commited in SoC by Bobby Bingham on 2007-08-17 23:43:23

Originally committed as revision 12015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:29 +00:00
Vitor Sessak 44b73497d3 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 12014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:25 +00:00
Vitor Sessak 6d8c67a778 Change registered filter list to a linked list
Commited in SoC by Bobby Bingham on 2007-08-17 23:24:32

Originally committed as revision 12013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:20 +00:00
Vitor Sessak e675dccdc0 Be more consistent in style of code for falling back to defaults.
Commited in SoC by Bobby Bingham on 2007-08-17 23:16:38

Originally committed as revision 12012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:17 +00:00
Vitor Sessak cdf2a3326f replace memcpy with assignment
Commited in SoC by Bobby Bingham on 2007-08-17 23:04:33

Originally committed as revision 12011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:13 +00:00
Vitor Sessak 269b9847ab Revert braindead linked list of permissions
Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03

Originally committed as revision 12010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:10 +00:00
Vitor Sessak a4af86c878 Track the permissions that have been given out to each picture.
This should make it easier to know what can be done to a buffer once
it's been passed to your filter without falling back to copying it "just
to be safe".

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

Originally committed as revision 12009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:06 +00:00
Vitor Sessak c949d86763 Allow filters to set the requirements on permissions for incoming buffers.
Commited in SoC by Bobby Bingham on 2007-08-17 16:40:26

Originally committed as revision 12008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:57 +00:00
Vitor Sessak 6fb0648d37 Use macros for better readability
Commited in SoC by Bobby Bingham on 2007-08-17 15:18:59

Originally committed as revision 12007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:54 +00:00