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