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
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
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
Diego Biurrun
13ca50f367
Rename --enable-swscaler --> enable-swscale to be consistent with the
...
directory name and other option names. Also rename variables accordingly.
Originally committed as revision 12408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 17:54:24 +00:00
Diego Biurrun
9b25f4a65f
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
...
Originally committed as revision 12364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 14:39:43 +00:00
Måns Rullgård
0e32c8c65a
simplify library version handling
...
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:17 +00:00
Måns Rullgård
b049ad5054
fix AVClass for avfilter
...
Originally committed as revision 12357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 09:08:28 +00:00
Måns Rullgård
5671fc14f6
consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
...
Originally committed as revision 12354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 20:44:44 +00:00
Panagiotis Issaris
d42a814ef1
Make av_class a pointer to a const AVClass. Addresses one warning in
...
imgresample.c.
Originally committed as revision 12352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 17:41:31 +00:00
Vitor Sessak
c2b0b21d15
Add correct version number to shared libavfilter
...
Originally committed as revision 12341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 19:43:07 +00:00
Vitor Sessak
ea28ecb093
Fix avfilter compilation with --enable-shared and no libswscaler
...
Originally committed as revision 12340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 18:26:44 +00:00
Vitor Sessak
81124ba0d1
Fix libavfilter compilation and make it more in line
...
with the other libav*.
Originally committed as revision 12301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 20:53:15 +00:00
Vitor Sessak
be19d752ba
Make libavfilter define its version like the other libav* libs
...
Originally committed as revision 12248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 21:21:17 +00:00
Michael Niedermayer
b9c2fb3444
Ascii art to explain what avfilter_formats_changeref() does.
...
Originally committed as revision 12176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 22:33:40 +00:00
Michael Niedermayer
eb30e86c7d
cosmetic
...
Originally committed as revision 12175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 22:26:24 +00:00
Michael Niedermayer
33a0facf0b
Better description (merge is too vague IMHO).
...
Originally committed as revision 12174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 22:19:51 +00:00
Michael Niedermayer
4c4de9ca49
Better description for merge_ref().
...
Originally committed as revision 12173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 22:10:11 +00:00
Michael Niedermayer
09b63a42a5
Document avfilter_formats_ref() with some ascii art.
...
Originally committed as revision 12172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 22:02:53 +00:00
Vitor Sessak
b6f5794597
Remove unneeded function.
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:54:11
Originally committed as revision 12120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:13 +00:00
Vitor Sessak
11de6cac7e
Oops
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:43:49
Originally committed as revision 12119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:09 +00:00
Vitor Sessak
e4152452d5
Missed this file in my conditional compilation patch
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:40:32
Originally committed as revision 12118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:06 +00:00
Víctor Paesa
a7d4665709
Add libavfilter_version
...
Patch by Víctor Paesa
Commited in SoC by Vitor Sessak on 2008-02-12 20:31:53
Originally committed as revision 12117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:04 +00:00
Vitor Sessak
765f96c6e1
Remove author field
...
Suggested by Baptiste Coudurier
Commited in SoC by Vitor Sessak on 2008-02-11 19:56:27
Originally committed as revision 12116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:58 +00:00
Vitor Sessak
daafdb6eae
Use CodecType for pad type
...
Commited in SoC by Vitor Sessak on 2008-02-10 20:41:57
Originally committed as revision 12115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:55 +00:00
Vitor Sessak
0155b1a1cc
Nit: remove odd whitespace
...
Commited in SoC by Vitor Sessak on 2008-02-10 20:32:56
Originally committed as revision 12114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:52 +00:00
Vitor Sessak
b04c740a18
Group avfilter_poll_frame() with related funcions and add doxygen comment
...
Commited in SoC by Vitor Sessak on 2008-02-10 20:30:50
Originally committed as revision 12113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:49 +00:00
Vitor Sessak
853961a999
Update comment to match code
...
Commited in SoC by Vitor Sessak on 2008-02-10 08:55:18
Originally committed as revision 12112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:46 +00:00
Vitor Sessak
664f659526
Nits: punctuation and capitalization
...
Commited in SoC by Vitor Sessak on 2008-02-09 19:47:46
Originally committed as revision 12111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:44 +00:00
Vitor Sessak
2844dd393a
Add const to silence warnings
...
Commited in SoC by Vitor Sessak on 2008-02-09 15:59:47
Originally committed as revision 12110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:41 +00:00
Vitor Sessak
d224d73a5d
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 12109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:37 +00:00
Vitor Sessak
d177bd183f
Indentation
...
Commited in SoC by Bobby Bingham on 2007-12-24 03:24:26
Originally committed as revision 12108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:32 +00:00
Vitor Sessak
24c4eff657
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 12107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:25 +00:00
Vitor Sessak
3afcca9dfd
Fix misc. warnings
...
Commited in SoC by Vitor Sessak on 2007-12-21 10:53:16
Originally committed as revision 12106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:23 +00:00
Vitor Sessak
35f3fdf48d
Rewrite colorspace negotiation.
...
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26
Originally committed as revision 12105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:20 +00:00
Vitor Sessak
2621f4a36b
Add pixel aspect ratio to AVFilterPicRef structure
...
Commited in SoC by Bobby Bingham on 2007-08-20 14:33:24
Originally committed as revision 12104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:17 +00:00
Vitor Sessak
b3ab2f7e84
Add another "reuse" permission, to distinguish between the case where a
...
source filter will simply want to re-output the same image multiple times
and reuse a buffer to do it, and the case where the source filter will
output multiple image by modifying a single buffer and outputting it multiple
times.
Commited in SoC by Bobby Bingham on 2007-08-18 02:21:01
Originally committed as revision 12103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:14 +00:00
Vitor Sessak
056f0431f3
use units of 1/AV_TIME_BASE for pts rather than milliseconds
...
Commited in SoC by Bobby Bingham on 2007-08-18 01:42:42
Originally committed as revision 12102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:06 +00:00
Vitor Sessak
fc815c5623
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 12101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:02 +00:00
Vitor Sessak
16415eafdb
Revert braindead linked list of permissions
...
Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03
Originally committed as revision 12100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:59 +00:00
Vitor Sessak
52f97a0d8d
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 12099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:56 +00:00
Vitor Sessak
60bf6ce3ba
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 12098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:52 +00:00
Vitor Sessak
b42a6a92ff
spelling fix
...
Commited in SoC by Bobby Bingham on 2007-08-17 14:40:55
Originally committed as revision 12097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:47 +00:00
Vitor Sessak
72f6d6317c
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 12096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:44 +00:00
Vitor Sessak
13ff8fd01c
Add many new and improve existing doxy comments.
...
Commited in SoC by Bobby Bingham on 2007-08-14 16:39:26
Originally committed as revision 12095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:40 +00:00
Vitor Sessak
63f64e6f4d
Let request_frame() indicate success or failure
...
Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36
Originally committed as revision 12094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:33 +00:00
Vitor Sessak
a9c81431bd
Helper functions for adding new pads to filters at runtime
...
Commited in SoC by Bobby Bingham on 2007-08-07 22:31:56
Originally committed as revision 12093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:30 +00:00
Vitor Sessak
85322466ef
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 12092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:28 +00:00
Vitor Sessak
901e6b39b0
Move default entry point implementations to their own file.
...
Make them externally visible because they may be useful for filters to use.
Commited in SoC by Bobby Bingham on 2007-08-02 15:14:05
Originally committed as revision 12091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:24 +00:00
Vitor Sessak
7c9066a3e4
Make input/output pads modifiable on a per-instance basis.
...
This makes it possible to change filter callbacks (eg. to a SIMD version
on supported processors). It also allows filters to change their own
input and output pads.
Commited in SoC by Bobby Bingham on 2007-07-31 19:20:54
Originally committed as revision 12090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:18 +00:00
Vitor Sessak
95bcf49885
Make the opaque init parameter non-const.
...
Commited in SoC by Bobby Bingham on 2007-07-30 18:53:17
Originally committed as revision 12089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:13 +00:00
Vitor Sessak
25f8e6014a
Fix some potential segfaults.
...
Commited in SoC by Bobby Bingham on 2007-07-30 15:53:33
Originally committed as revision 12088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:10 +00:00
Vitor Sessak
6e365c5720
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 12087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:05 +00:00
Vitor Sessak
443e73f08f
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 12086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:02 +00:00
Vitor Sessak
13a75d5a76
Add a simple filter graph structure and functions
...
Commited in SoC by Bobby Bingham on 2007-07-14 20:12:54
Originally committed as revision 12085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:59 +00:00
Vitor Sessak
dcea24825f
Allow giving filter instances names, in anticipation of the upcoming
...
AVFilterGraph structure and related functions.
Commited in SoC by Bobby Bingham on 2007-07-14 19:33:28
Originally committed as revision 12084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:54 +00:00
Vitor Sessak
1a18860a8f
Add pts to frame references
...
Commited in SoC by Bobby Bingham on 2007-07-14 17:31:40
Originally committed as revision 12083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:50 +00:00
Vitor Sessak
462f57dbd8
Adjust the default start_frame() and end_frame() implementations to simplify
...
the implementation of simple filters.
Commited in SoC by Bobby Bingham on 2007-07-08 16:48:15
Originally committed as revision 12082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:47 +00:00
Vitor Sessak
8fb48e7c44
Make avfilter_ref_pic also handle removal of permissions for the caller.
...
Commited in SoC by Bobby Bingham on 2007-07-08 16:14:49
Originally committed as revision 12081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:43 +00:00
Vitor Sessak
d3e57c15cf
Rework filter initialization sequence. Now supports passing user parameters,
...
querying supported colorspaces, etc.
Commited in SoC by Bobby Bingham on 2007-07-05 20:48:48
Originally committed as revision 12080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:41 +00:00
Vitor Sessak
4d96a914f9
Support passing parameters to filters.
...
Commited in SoC by Bobby Bingham on 2007-07-02 15:17:22
Originally committed as revision 12079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:37 +00:00
Vitor Sessak
bbf42679c5
Make linesize a per-reference property
...
Commited in SoC by Bobby Bingham on 2007-06-30 16:15:14
Originally committed as revision 12078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:11:29 +00:00
Vitor Sessak
a5cbb2f4cb
Initial stab at an API
...
Commited in SoC by Bobby Bingham on 2007-06-29 17:03:03
Originally committed as revision 12077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:11:25 +00:00
Vitor Sessak
5c212e6fbc
Add last file of main filter framework
...
Originally committed as revision 12076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:02:51 +00:00
Vitor Sessak
790a03d701
Force alignment of pic->linesize
...
Commited in SoC by Vitor Sessak on 2008-02-15 21:05:06
Originally committed as revision 12075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:13 +00:00
Vitor Sessak
4cf48782f8
Force linesize to be a multiple of 16
...
Commited in SoC by Vitor Sessak on 2008-02-10 20:51:58
Originally committed as revision 12074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:09 +00:00
Vitor Sessak
459821c533
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 12073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:07 +00:00
Vitor Sessak
e363730c01
Rewrite colorspace negotiation.
...
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26
Originally committed as revision 12072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:03 +00:00
Vitor Sessak
d0e4eba57c
Make an invalid use of a default callback implementation return an error.
...
Commited in SoC by Bobby Bingham on 2007-08-18 01:45:42
Originally committed as revision 12071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:00 +00:00
Vitor Sessak
4f90956596
Ensure that buffers returned by the default allocator are readable, or else
...
they're useless for outputting.
Commited in SoC by Bobby Bingham on 2007-08-17 22:52:18
Originally committed as revision 12070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:57 +00:00
Vitor Sessak
23274667c2
Revert braindead linked list of permissions
...
Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03
Originally committed as revision 12069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:50 +00:00
Vitor Sessak
4d62c9d377
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 12068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:47 +00:00
Vitor Sessak
fc0f39c222
indentation
...
Commited in SoC by Bobby Bingham on 2007-08-17 17:09:19
Originally committed as revision 12067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:44 +00:00
Vitor Sessak
552c020875
Make default end_frame() implementation more useful.
...
Commited in SoC by Bobby Bingham on 2007-08-17 16:45:47
Originally committed as revision 12066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:41 +00:00
Vitor Sessak
712048daf5
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 12065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:38 +00:00
Vitor Sessak
f66f53dac8
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 12064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:58:29 +00:00
Vitor Sessak
bf4ce7a364
Move default entry point implementations to their own file.
...
Make them externally visible because they may be useful for filters to use.
Commited in SoC by Bobby Bingham on 2007-08-02 15:14:05
Originally committed as revision 12063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:58:25 +00:00
Vitor Sessak
805d0232c5
Do not copy more data than needed
...
Commited in SoC by Vitor Sessak on 2008-02-15 21:11:35
Originally committed as revision 12061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:42:01 +00:00
Vitor Sessak
e9f54274c7
Remove header now made useless
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:59:51
Originally committed as revision 12060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:49 +00:00
Vitor Sessak
3bc2a52643
Remove unneeded function.
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:54:11
Originally committed as revision 12059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:43 +00:00
Vitor Sessak
b57fc32787
Missed this file in my conditional compilation patch
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:40:32
Originally committed as revision 12058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:40 +00:00
Vitor Sessak
74b46655d4
Simplify
...
Commited in SoC by Vitor Sessak on 2008-02-11 18:19:37
Originally committed as revision 12057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:38 +00:00
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